2016-01-03 13:45:43 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
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">
|
2016-01-03 13:45:43 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2016-03-06 04:49:59 -05:00
|
|
|
<groupId>com.baeldung</groupId>
|
2016-01-03 13:45:43 -05:00
|
|
|
<artifactId>querydsl</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>querydsl</name>
|
|
|
|
<url>http://maven.apache.org</url>
|
|
|
|
|
2017-05-09 16:37:43 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2017-10-29 18:07:04 -04:00
|
|
|
<relativePath>../</relativePath>
|
2017-05-12 14:32:54 -04:00
|
|
|
</parent>
|
|
|
|
|
2016-01-03 13:45:43 -05:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2016-07-05 15:44:00 -04:00
|
|
|
<java.version>1.8</java.version>
|
2016-12-10 13:20:12 -05:00
|
|
|
<spring.version>4.3.4.RELEASE</spring.version>
|
|
|
|
<hibernate.version>5.2.5.Final</hibernate.version>
|
|
|
|
<hibernate-jpa.version>1.0.0.Final</hibernate-jpa.version>
|
|
|
|
<querydsl.version>4.1.4</querydsl.version>
|
|
|
|
<hsqldb.version>2.3.4</hsqldb.version>
|
|
|
|
<commons-pool.version>1.6</commons-pool.version>
|
|
|
|
<commons-dbcp.version>1.4</commons-dbcp.version>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
2016-12-10 13:20:12 -05:00
|
|
|
<apt-maven-plugin.version>1.1.3</apt-maven-plugin.version>
|
2016-01-03 13:45:43 -05:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- QueryDSL -->
|
|
|
|
|
|
|
|
<dependency>
|
2016-07-05 15:44:00 -04:00
|
|
|
<groupId>com.querydsl</groupId>
|
2016-01-03 13:45:43 -05:00
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
|
|
<version>${querydsl.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2016-07-05 15:44:00 -04:00
|
|
|
<groupId>com.querydsl</groupId>
|
2016-01-03 13:45:43 -05:00
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
|
<version>${querydsl.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JPA Persistence Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate.javax.persistence</groupId>
|
2016-07-05 15:44:00 -04:00
|
|
|
<artifactId>hibernate-jpa-2.1-api</artifactId>
|
2016-12-10 13:20:12 -05:00
|
|
|
<version>${hibernate-jpa.version}</version>
|
2016-01-03 13:45:43 -05:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-dbcp</groupId>
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
2016-12-10 13:20:12 -05:00
|
|
|
<version>${commons-dbcp.version}</version>
|
2016-01-03 13:45:43 -05:00
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-pool</groupId>
|
|
|
|
<artifactId>commons-pool</artifactId>
|
2016-12-10 13:20:12 -05:00
|
|
|
<version>${commons-pool.version}</version>
|
2016-01-03 13:45:43 -05:00
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- HSQLDB Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hsqldb</groupId>
|
2016-07-05 15:44:00 -04:00
|
|
|
<artifactId>hsqldb</artifactId>
|
2016-12-10 13:20:12 -05:00
|
|
|
<version>${hsqldb.version}</version>
|
2016-01-03 13:45:43 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Spring Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
2017-04-19 10:14:10 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
2017-05-12 14:32:54 -04:00
|
|
|
</exclusions>
|
2016-01-03 13:45:43 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-orm</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- Compile src folder without annotation processing -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2016-12-10 13:20:12 -05:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2016-01-03 13:45:43 -05:00
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<compilerArgument>-proc:none</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- QueryDSL plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mysema.maven</groupId>
|
2016-07-05 15:44:00 -04:00
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
2016-12-10 13:20:12 -05:00
|
|
|
<version>${apt-maven-plugin.version}</version>
|
2016-01-03 13:45:43 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-07-05 15:44:00 -04:00
|
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
|
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
2016-01-03 13:45:43 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
2016-10-20 18:24:15 -04:00
|
|
|
<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>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
2016-01-03 13:45:43 -05:00
|
|
|
</project>
|