2018-07-08 07:44:42 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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">
|
2018-11-30 11:46:08 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>java-jpa</artifactId>
|
2019-01-10 10:22:07 -05:00
|
|
|
<name>java-jpa</name>
|
|
|
|
|
2018-07-08 07:44:42 -04:00
|
|
|
<parent>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
2019-06-13 21:53:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-jpamodelgen</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
2018-07-08 07:44:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
2019-01-10 10:22:07 -05:00
|
|
|
|
|
|
|
<!--Compile time JPA API-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.persistence</groupId>
|
|
|
|
<artifactId>javax.persistence-api</artifactId>
|
2019-07-06 15:38:17 -04:00
|
|
|
<version>${javax.persistence-api.version}</version>
|
2019-01-10 10:22:07 -05:00
|
|
|
</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>
|
2018-07-08 07:44:42 -04:00
|
|
|
</dependencies>
|
|
|
|
|
2019-06-13 21:53:57 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2019-09-15 08:23:10 -04:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2019-06-13 21:53:57 -04:00
|
|
|
<configuration>
|
|
|
|
<compilerArgument>-proc:none</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.bsc.maven</groupId>
|
|
|
|
<artifactId>maven-processor-plugin</artifactId>
|
2019-09-15 08:23:10 -04:00
|
|
|
<version>${maven-processor-plugin.version}</version>
|
2019-06-13 21:53:57 -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>
|
2019-09-15 08:23:10 -04:00
|
|
|
<version>${build-helper-maven-plugin.version}</version>
|
2019-06-13 21:53:57 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>target/metamodel</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-07-07 14:29:01 -04:00
|
|
|
|
2018-07-08 07:44:42 -04:00
|
|
|
<properties>
|
2019-01-10 10:22:07 -05:00
|
|
|
<hibernate.version>5.4.0.Final</hibernate.version>
|
|
|
|
<eclipselink.version>2.7.4-RC1</eclipselink.version>
|
|
|
|
<postgres.version>42.2.5</postgres.version>
|
2019-07-06 15:38:17 -04:00
|
|
|
<javax.persistence-api.version>2.2</javax.persistence-api.version>
|
2019-09-15 08:23:10 -04:00
|
|
|
<maven-processor-plugin.version>3.3.3</maven-processor-plugin.version>
|
|
|
|
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
|
2018-07-08 07:44:42 -04:00
|
|
|
</properties>
|
2019-01-10 10:22:07 -05:00
|
|
|
|
2018-07-08 07:44:42 -04:00
|
|
|
</project>
|