java-tutorials/spring-security-rest-full/pom.xml

485 lines
16 KiB
XML
Raw Normal View History

2014-10-01 17:48:38 -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">
2015-03-31 04:24:51 -04:00
<modelVersion>4.0.0</modelVersion>
2016-03-06 04:49:59 -05:00
<groupId>com.baeldung</groupId>
2015-03-31 04:24:51 -04:00
<artifactId>spring-security-rest-full</artifactId>
<version>0.1-SNAPSHOT</version>
2015-03-31 04:24:51 -04:00
<name>spring-security-rest-full</name>
<packaging>war</packaging>
2015-08-23 14:02:04 -04:00
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
2017-02-10 03:13:14 -05:00
<version>1.4.4.RELEASE</version>
2015-08-23 14:02:04 -04:00
</parent>
2015-03-31 04:24:51 -04:00
<dependencies>
2015-03-29 08:35:27 -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>
2015-03-31 04:24:51 -04:00
<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>
<!-- Spring Security -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
</dependency>
<!-- Spring -->
<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>
2016-01-30 05:00:06 -05:00
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
</dependency>
2015-03-31 04:24:51 -04:00
<!-- deployment -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
2015-03-31 04:24:51 -04:00
<!-- Querydsl -->
<dependency>
2016-11-18 06:26:34 -05:00
<groupId>com.querydsl</groupId>
2015-03-31 04:24:51 -04:00
<artifactId>querydsl-apt</artifactId>
</dependency>
<dependency>
2016-11-18 06:26:34 -05:00
<groupId>com.querydsl</groupId>
2015-03-31 04:24:51 -04:00
<artifactId>querydsl-jpa</artifactId>
</dependency>
2015-07-23 09:54:23 -04:00
2015-04-09 14:31:05 -04:00
<!-- Rsql -->
2015-07-23 09:54:23 -04:00
<dependency>
<groupId>cz.jirutka.rsql</groupId>
<artifactId>rsql-parser</artifactId>
2016-01-05 12:55:11 -05:00
<version>${rsql.version}</version>
2015-07-23 09:54:23 -04:00
</dependency>
2015-03-31 04:24:51 -04:00
<!-- web -->
<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>
<!-- persistence -->
<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>
2016-10-12 18:15:09 -04:00
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
2015-03-31 04:24:51 -04:00
<!-- web -->
<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>
<!-- marshalling -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
2016-01-05 12:55:11 -05:00
<version>${xstream.version}</version>
2015-03-31 04:24:51 -04:00
</dependency>
<!-- util -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!-- logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<!-- <scope>runtime</scope> -->
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
</dependency>
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</dependency>
<!-- test scoped -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
2016-01-30 05:00:06 -05:00
2016-01-24 15:20:14 -05:00
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
</dependency>
2015-03-31 04:24:51 -04:00
<dependency>
<groupId>junit</groupId>
2015-12-21 04:34:42 -05:00
<artifactId>junit</artifactId>
2015-03-31 04:24:51 -04:00
<scope>test</scope>
</dependency>
2016-08-19 09:05:57 -04:00
<!-- <dependency> -->
<!-- <groupId>org.hamcrest</groupId> -->
<!-- <artifactId>hamcrest-core</artifactId> -->
<!-- <scope>test</scope> -->
<!-- </dependency> -->
2015-03-31 04:24:51 -04:00
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.restassured</groupId>
<artifactId>rest-assured</artifactId>
2016-01-05 12:55:11 -05:00
<version>${rest-assured.version}</version>
2015-03-31 04:24:51 -04:00
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<finalName>spring-security-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-compiler-plugin</artifactId>
<configuration>
2015-06-20 00:40:22 -04:00
<source>1.8</source>
<target>1.8</target>
2015-03-31 04:24:51 -04:00
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
</excludes>
<systemPropertyVariables>
<!-- <provPersistenceTarget>h2</provPersistenceTarget> -->
</systemPropertyVariables>
</configuration>
</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>
2016-10-15 11:34:11 -04:00
<cargo.servlet.port>8082</cargo.servlet.port>
2015-03-31 04:24:51 -04:00
</properties>
</configuration>
</configuration>
</plugin>
<!-- Querydsl and Specifications -->
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
2016-01-05 12:55:11 -05:00
<version>${apt-maven-plugin.version}</version>
2015-03-31 04:24:51 -04:00
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources/java</outputDirectory>
2016-11-18 06:26:34 -05:00
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
2015-03-31 04:24:51 -04:00
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>integration</id>
<build>
<plugins>
<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>
2016-10-15 11:34:11 -04:00
<exclude>**/*LiveTest.java</exclude>
2015-03-31 04:24:51 -04:00
</excludes>
<includes>
<include>**/*IntegrationTest.java</include>
2016-10-15 11:34:11 -04:00
</includes>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<test.mime>json</test.mime>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>live</id>
<build>
<plugins>
<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>**/*IntegrationTest.java</exclude>
</excludes>
<includes>
2015-03-31 04:24:51 -04:00
<include>**/*LiveTest.java</include>
</includes>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<test.mime>json</test.mime>
</systemPropertyVariables>
</configuration>
</plugin>
<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>
<properties>
<!-- persistence -->
2016-12-03 07:11:19 -05:00
<rsql.version>2.1.0</rsql.version>
2015-03-31 04:24:51 -04:00
<!-- various -->
2016-12-03 07:11:19 -05:00
<xstream.version>1.4.9</xstream.version>
2015-03-31 04:24:51 -04:00
<!-- util -->
2015-12-21 04:34:42 -05:00
<guava.version>19.0</guava.version>
2016-12-03 07:11:19 -05:00
<commons-lang3.version>3.5</commons-lang3.version>
2015-03-31 04:24:51 -04:00
<!-- testing -->
2015-12-21 04:34:42 -05:00
<junit.version>4.12</junit.version>
2016-03-06 05:10:06 -05:00
<rest-assured.version>2.9.0</rest-assured.version>
2015-03-31 04:24:51 -04:00
<!-- Maven plugins -->
2016-12-03 07:11:19 -05:00
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
2016-01-05 12:55:11 -05:00
<apt-maven-plugin.version>1.1.3</apt-maven-plugin.version>
2015-03-31 04:24:51 -04:00
</properties>
2013-06-03 10:54:58 -04:00
</project>