2019-01-23 12:12:06 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<!-- WITH THIS mvn integration-test DOES WORK -->
|
|
|
|
<groupId>com.baeldung</groupId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<artifactId>blade</artifactId>
|
2019-01-23 12:12:06 -05:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2019-02-03 13:36:11 -05:00
|
|
|
<name>blade</name>
|
|
|
|
|
2019-01-23 12:12:06 -05:00
|
|
|
|
|
|
|
<!-- WITH THIS mvn integration-test DOESN'T WORK -->
|
|
|
|
<!-- <parent> -->
|
|
|
|
<!-- <groupId>com.baeldung</groupId> -->
|
|
|
|
<!-- <artifactId>parent-modules</artifactId> -->
|
|
|
|
<!-- <version>1.0.0-SNAPSHOT</version> -->
|
|
|
|
<!-- </parent> -->
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.bladejava</groupId>
|
|
|
|
<artifactId>blade-mvc</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${blade-mvc.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>bootstrap</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${bootstrap.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${commons-lang3.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- PROVIDED -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${lombok.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- TEST -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${junit.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${assertj-core.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${httpclient.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpmime</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${httpmime.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${httpcore.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>sample-blade-app</finalName>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<configuration>
|
|
|
|
<forkCount>3</forkCount>
|
|
|
|
<reuseForks>true</reuseForks>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${maven-failsafe-plugin.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.bazaarvoice.maven.plugins</groupId>
|
|
|
|
<artifactId>process-exec-maven-plugin</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${process-exec-maven-plugin.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<executions>
|
|
|
|
<!--Start Blade -->
|
|
|
|
<execution>
|
|
|
|
<id>blade-process</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<name>Blade</name>
|
|
|
|
<waitForInterrupt>false</waitForInterrupt>
|
|
|
|
<arguments>
|
|
|
|
<argument>java</argument>
|
|
|
|
<argument>-jar</argument>
|
|
|
|
<argument>sample-blade-app.jar</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<!--Stop all processes in reverse order -->
|
|
|
|
<execution>
|
|
|
|
<id>stop-all</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop-all</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<finalName>${project.build.finalName}</finalName>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.baeldung.blade.sample.App</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2019-02-03 13:36:11 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2019-01-23 12:12:06 -05:00
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2019-02-03 13:36:11 -05:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2019-01-23 12:12:06 -05:00
|
|
|
<configuration>
|
2019-02-03 13:36:11 -05:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
2019-01-23 12:12:06 -05:00
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-02-03 13:36:11 -05:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
<blade-mvc.version>2.0.14.RELEASE</blade-mvc.version>
|
|
|
|
<bootstrap.version>4.2.1</bootstrap.version>
|
|
|
|
<commons-lang3.version>3.8.1</commons-lang3.version>
|
|
|
|
<lombok.version>1.18.4</lombok.version>
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
<httpclient.version>4.5.6</httpclient.version>
|
|
|
|
<httpmime.version>4.5.6</httpmime.version>
|
|
|
|
<httpcore.version>4.4.10</httpcore.version>
|
|
|
|
<assertj-core.version>3.11.1</assertj-core.version>
|
|
|
|
<maven-failsafe-plugin.version>3.0.0-M3</maven-failsafe-plugin.version>
|
|
|
|
<process-exec-maven-plugin.version>0.7</process-exec-maven-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
|
|
|
|
</properties>
|
2019-01-23 12:12:06 -05:00
|
|
|
</project>
|