2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-05-10 10:35:39 -04:00
|
|
|
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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>java-jpa</artifactId>
|
|
|
|
<name>java-jpa</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>
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-jpamodelgen</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
2021-05-10 10:35:39 -04:00
|
|
|
<!--Compile time JPA API -->
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.persistence</groupId>
|
|
|
|
<artifactId>javax.persistence-api</artifactId>
|
|
|
|
<version>${javax.persistence-api.version}</version>
|
|
|
|
</dependency>
|
2021-05-10 10:35:39 -04:00
|
|
|
<!--Runtime JPA implementation -->
|
2019-10-31 21:43:47 -04:00
|
|
|
<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>
|
2021-06-11 10:55:37 -04:00
|
|
|
<version>${postgresql.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2019-10-31 21:43:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<compilerArgument>-proc:none</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-05 09:56:52 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.bsc.maven</groupId>
|
|
|
|
<artifactId>maven-processor-plugin</artifactId>
|
|
|
|
<version>${maven-processor-plugin.version}</version>
|
|
|
|
<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>
|
|
|
|
<version>${build-helper-maven-plugin.version}</version>
|
|
|
|
<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-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<hibernate.version>5.4.0.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
|
|
|
<javax.persistence-api.version>2.2</javax.persistence-api.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>
|
2022-10-29 12:34:46 -04:00
|
|
|
<h2.version>1.4.200</h2.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|