166 lines
6.0 KiB
XML
166 lines
6.0 KiB
XML
|
<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>
|
||
|
<artifactId>blade</artifactId>
|
||
|
<name>blade</name>
|
||
|
|
||
|
<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>
|
||
|
<version>${blade-mvc.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.webjars</groupId>
|
||
|
<artifactId>bootstrap</artifactId>
|
||
|
<version>${bootstrap.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-lang3</artifactId>
|
||
|
<version>${commons-lang3.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- PROVIDED -->
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>${lombok.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- TEST -->
|
||
|
<dependency>
|
||
|
<groupId>org.assertj</groupId>
|
||
|
<artifactId>assertj-core</artifactId>
|
||
|
<version>${assertj-core.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>httpclient</artifactId>
|
||
|
<version>${httpclient.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>httpmime</artifactId>
|
||
|
<version>${httpmime.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>httpcore</artifactId>
|
||
|
<version>${httpcore.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<build>
|
||
|
<finalName>sample-blade-app</finalName>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||
|
<version>${maven-failsafe-plugin.version}</version>
|
||
|
<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>
|
||
|
<version>${process-exec-maven-plugin.version}</version>
|
||
|
<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>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<properties>
|
||
|
<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>
|
||
|
<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>
|
||
|
</properties>
|
||
|
</project>
|