2017-05-12 14:32:54 -04: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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.springframework.samples</groupId>
|
|
|
|
<artifactId>spring-katharsis</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<parent>
|
2017-05-14 12:01:35 -04:00
|
|
|
<artifactId>parent-boot-4</artifactId>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-boot-4</relativePath>
|
2015-10-05 15:15:19 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2015-10-05 15:15:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
<!-- json api -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.katharsis</groupId>
|
|
|
|
<artifactId>katharsis-servlet</artifactId>
|
|
|
|
<version>${katharsis.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-10-05 15:15:19 -04:00
|
|
|
</dependencies>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
|
2015-10-05 15:15:19 -04:00
|
|
|
<properties>
|
2016-12-06 17:18:52 -05:00
|
|
|
<katharsis.version>1.0.1</katharsis.version>
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
2015-10-05 15:15:19 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2016-10-14 10:40:06 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<wait>true</wait>
|
|
|
|
<container>
|
|
|
|
<containerId>tomcat8x</containerId>
|
|
|
|
<type>embedded</type>
|
|
|
|
<systemProperties>
|
|
|
|
<!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
|
|
|
|
</systemProperties>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-10-05 15:15:19 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-10-14 10:40:06 -04:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>live</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-server</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-server</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<webTarget>cargo</webTarget>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
|
2015-10-05 15:15:19 -04:00
|
|
|
</project>
|