2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-10-31 21:43:47 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-12-05 09:56:52 -05:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>java-jpa-2</artifactId>
|
|
|
|
<name>java-jpa-2</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2020-01-26 14:10:23 -05:00
|
|
|
<artifactId>persistence-modules</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-jpamodelgen</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--Compile time JPA API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.persistence</groupId>
|
|
|
|
<artifactId>javax.persistence-api</artifactId>
|
|
|
|
<version>${javax.persistence-api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--Runtime JPA implementation -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
|
|
<artifactId>eclipselink</artifactId>
|
|
|
|
<version>${eclipselink.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${postgres.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2020-04-04 17:45:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
|
<version>${querydsl.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
|
|
<version>${querydsl.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-01-26 14:10:23 -05:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<configuration>
|
|
|
|
<compilerArgument>-proc:none</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.bsc.maven</groupId>
|
|
|
|
<artifactId>maven-processor-plugin</artifactId>
|
2020-01-26 14:10:23 -05:00
|
|
|
<version>${maven-processor-plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>process</id>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/metamodel</outputDirectory>
|
|
|
|
<processors>
|
|
|
|
<processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
|
|
|
|
</processors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2020-01-26 14:10:23 -05:00
|
|
|
<version>${build-helper-maven-plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>target/metamodel</source>
|
2020-04-04 17:45:15 -04:00
|
|
|
<source>${project.build.directory}/generated-sources/java/</source>
|
2019-10-31 21:43:47 -04:00
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-04-04 17:45:15 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.mysema.maven</groupId>
|
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
|
|
<version>1.1.3</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>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
2020-04-24 08:38:39 -04:00
|
|
|
<hibernate.version>5.4.14.Final</hibernate.version>
|
2020-04-19 08:39:24 -04:00
|
|
|
<eclipselink.version>2.7.4</eclipselink.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<postgres.version>42.2.5</postgres.version>
|
|
|
|
<javax.persistence-api.version>2.2</javax.persistence-api.version>
|
|
|
|
<assertj.version>3.11.1</assertj.version>
|
2020-01-26 14:10:23 -05:00
|
|
|
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
|
|
|
|
<maven-processor-plugin.version>3.3.3</maven-processor-plugin.version>
|
|
|
|
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
|
2020-04-24 08:38:39 -04:00
|
|
|
<querydsl.version>4.3.1</querydsl.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
2020-04-04 17:45:15 -04:00
|
|
|
</project>
|