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"
|
2018-09-01 11:12:48 -04:00
|
|
|
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>com.baeldung</groupId>
|
|
|
|
<artifactId>spring-rest-full</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-rest-full</name>
|
|
|
|
<packaging>war</packaging>
|
2014-05-16 15:52:40 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<parent>
|
|
|
|
<artifactId>parent-boot-1</artifactId>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-boot-1</relativePath>
|
|
|
|
</parent>
|
2015-08-23 14:02:04 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependencies>
|
2014-05-16 15:52:40 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- Spring Boot Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- Spring -->
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-expression</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-commons</artifactId>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- deployment -->
|
2014-05-16 15:52:40 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- web -->
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- persistence -->
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-orm</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- web -->
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- marshalling -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- util -->
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- test scoped -->
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-01-30 05:00:06 -05:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>org.hamcrest</groupId> -->
|
|
|
|
<!-- <artifactId>hamcrest-core</artifactId> -->
|
|
|
|
<!-- <scope>test</scope> -->
|
|
|
|
<!-- </dependency> -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
</dependencies>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<build>
|
|
|
|
<finalName>spring-rest-full</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<wait>true</wait>
|
|
|
|
<container>
|
|
|
|
<containerId>jetty8x</containerId>
|
|
|
|
<type>embedded</type>
|
|
|
|
<systemProperties>
|
|
|
|
<!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
|
|
|
|
</systemProperties>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Querydsl and Specifications -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mysema.maven</groupId>
|
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
|
|
<version>${apt-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
|
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>live</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<wait>false</wait>
|
|
|
|
</configuration>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<properties>
|
|
|
|
<!-- various -->
|
|
|
|
<xstream.version>1.4.9</xstream.version>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- util -->
|
|
|
|
<guava.version>19.0</guava.version>
|
|
|
|
<commons-lang3.version>3.5</commons-lang3.version>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2018-09-01 11:12:48 -04:00
|
|
|
<!-- Maven plugins -->
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
|
|
|
<apt-maven-plugin.version>1.1.3</apt-maven-plugin.version>
|
|
|
|
</properties>
|
2015-03-31 04:24:51 -04:00
|
|
|
|
2013-06-03 10:54:58 -04:00
|
|
|
</project>
|