2017-06-20 16:00:15 +00: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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.example.crud</groupId>
|
|
|
|
<artifactId>crud-jpa-tutorial</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<version>5.0</version>
|
|
|
|
<name>CRUD JPA Application</name>
|
|
|
|
<url>http://www.example.come</url>
|
2017-06-19 19:46:56 +00:00
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<properties>
|
|
|
|
<encoding>UTF-8</encoding>
|
2017-06-22 13:26:44 +00:00
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
2018-03-26 13:23:28 +00:00
|
|
|
<org.datanucleus.version>5.1.0-release</org.datanucleus.version>
|
2017-06-22 13:26:44 +00:00
|
|
|
<aspectj.version>1.8.10</aspectj.version>
|
2017-06-22 15:40:59 +00:00
|
|
|
<metrics.version>3.2.2</metrics.version>
|
2018-04-12 02:33:17 +00:00
|
|
|
<spring.version>5.0.5.RELEASE</spring.version>
|
|
|
|
<spring-data.version>1.4.6.RELEASE</spring-data.version>
|
2018-04-12 03:09:14 +00:00
|
|
|
<exec.mainClass>com.example.crud.Main</exec.mainClass>
|
2017-06-20 16:00:15 +00:00
|
|
|
</properties>
|
|
|
|
|
2017-06-20 20:23:18 +00:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>https://repo.spring.io/libs-milestone</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
2017-06-22 15:40:59 +00:00
|
|
|
<repository>
|
|
|
|
<id>clojars.org</id>
|
|
|
|
<url>http://clojars.org/repo</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>maven.apache.org</id>
|
|
|
|
<url>http://repo.maven.apache.org/maven2/</url>
|
|
|
|
</repository>
|
2017-06-20 20:23:18 +00:00
|
|
|
</repositories>
|
|
|
|
|
2017-06-22 13:26:44 +00:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-framework-bom</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>${spring.version}</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
<scope>import</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-core</artifactId>
|
2017-06-22 13:26:44 +00:00
|
|
|
<version>${org.datanucleus.version}</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-api-jpa</artifactId>
|
2017-06-22 13:26:44 +00:00
|
|
|
<version>${org.datanucleus.version}</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>javax.persistence</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>2.2.0-release</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
2017-06-20 19:42:24 +00:00
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2018-03-25 23:41:59 +00:00
|
|
|
<version>1.2.3</version>
|
2017-06-20 19:42:24 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-access</artifactId>
|
|
|
|
<version>1.2.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
2017-06-22 13:26:44 +00:00
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
2018-03-25 23:41:59 +00:00
|
|
|
<version>1.8.0-alpha2</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
2018-04-12 03:09:14 +00:00
|
|
|
<dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
2018-03-25 23:41:59 +00:00
|
|
|
<version>1.8.0-alpha2</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-06-22 13:26:44 +00:00
|
|
|
<!-- MongoDB -->
|
2017-06-20 19:42:24 +00:00
|
|
|
<dependency>
|
2017-06-20 16:00:15 +00:00
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-mongodb</artifactId>
|
2017-06-22 13:26:44 +00:00
|
|
|
<version>${org.datanucleus.version}</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
|
|
|
<artifactId>mongo-java-driver</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>3.6.3</version>
|
2017-06-20 19:42:24 +00:00
|
|
|
</dependency>
|
2017-06-20 16:00:15 +00:00
|
|
|
|
2017-06-22 13:26:44 +00:00
|
|
|
<!-- Cassandra -->
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-cassandra</artifactId>
|
2018-03-26 13:23:28 +00:00
|
|
|
<version>${org.datanucleus.version}</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
2018-03-25 23:41:59 +00:00
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.datastax.cassandra</groupId>
|
|
|
|
<artifactId>cassandra-driver-core</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>3.4.0</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
|
|
|
|
2018-03-25 23:41:59 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.datastax.cassandra</groupId>
|
|
|
|
<artifactId>cassandra-driver-extras</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>3.4.0</version>
|
2018-03-25 23:41:59 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.datastax.cassandra</groupId>
|
|
|
|
<artifactId>cassandra-driver-mapping</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>3.4.0</version>
|
2018-03-25 23:41:59 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-06-22 15:40:59 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hdrhistogram</groupId>
|
|
|
|
<artifactId>HdrHistogram</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>2.1.10</version>
|
2017-06-22 15:40:59 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-cache</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>5.1.1</version>
|
2017-06-22 15:40:59 +00:00
|
|
|
<!--
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
-->
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
2018-03-25 23:41:59 +00:00
|
|
|
<!--
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-guava</artifactId>
|
|
|
|
<version>5.0.1</version>
|
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-jodatime</artifactId>
|
|
|
|
<version>5.0.0-release</version>
|
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-java8</artifactId>
|
|
|
|
<version>4.2.3</version>
|
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
|
2017-06-22 13:26:44 +00:00
|
|
|
<dependency>
|
2017-06-22 15:40:59 +00:00
|
|
|
<groupId>javax.cache</groupId>
|
|
|
|
<artifactId>cache-api</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>1.1.0</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-06-22 15:40:59 +00:00
|
|
|
<!--
|
2017-06-22 13:26:44 +00:00
|
|
|
<dependency>
|
2017-06-22 15:40:59 +00:00
|
|
|
<groupId>org.ehcache</groupId>
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
<version>3.3.1</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
2017-06-22 15:40:59 +00:00
|
|
|
-->
|
2017-06-22 13:26:44 +00:00
|
|
|
|
|
|
|
<dependency>
|
2017-06-22 15:40:59 +00:00
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
<version>2.6.11</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-06-22 15:40:59 +00:00
|
|
|
<groupId>net.sf.ehcache</groupId>
|
2017-06-22 13:26:44 +00:00
|
|
|
<artifactId>ehcache</artifactId>
|
2017-06-22 15:40:59 +00:00
|
|
|
<version>2.10.4</version>
|
|
|
|
<type>pom</type>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-06-22 15:40:59 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-jgroupsreplication</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
|
|
|
<!-- depending on a use case, one should use Spring Context or Spring Boot jars -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2017-06-22 15:40:59 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2017-06-20 20:23:18 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-jpa</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>2.1.0.M1</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-keyvalue</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>2.1.0.M1</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-orm</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-web</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>5.0.4.RELEASE</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aspects</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
2017-06-20 20:23:18 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<!-- ... -->
|
|
|
|
|
|
|
|
<dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
<groupId>joda-time</groupId>
|
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
|
<version>2.9.9</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>1.16.20</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2020-10-29 18:00:25 +00:00
|
|
|
<version>[4.13.1,)</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
2017-06-22 15:40:59 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
<version>${metrics.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.codahale.metrics</groupId>
|
|
|
|
<artifactId>metrics-annotation</artifactId>
|
|
|
|
<version>${metrics-version}</version>
|
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-logback</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>4.1.0-rc0</version>
|
2017-06-22 15:40:59 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-jvm</artifactId>
|
|
|
|
<version>${metrics.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-healthchecks</artifactId>
|
|
|
|
<version>${metrics.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-graphite</artifactId>
|
|
|
|
<version>${metrics.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-03-25 23:41:59 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-ehcache</artifactId>
|
|
|
|
<version>${metrics.version}</version>
|
|
|
|
</dependency>
|
2017-06-22 15:40:59 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ryantenney.metrics</groupId>
|
|
|
|
<artifactId>metrics-spring</artifactId>
|
|
|
|
<version>3.1.3</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.riemann</groupId>
|
|
|
|
<artifactId>metrics3-riemann-reporter</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>0.4.6</version>
|
2017-06-22 15:40:59 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>defunkt</groupId>
|
|
|
|
<artifactId>logback-riemann-appender</artifactId>
|
|
|
|
<version>0.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--
|
2017-06-22 13:26:44 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.astefanutti.metrics.aspectj</groupId>
|
|
|
|
<artifactId>metrics-aspectj</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.web</groupId>
|
|
|
|
<artifactId>javax.el</artifactId>
|
|
|
|
<version>2.2.6</version>
|
|
|
|
</dependency>
|
2017-06-22 15:40:59 +00:00
|
|
|
-->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.inject</groupId>
|
|
|
|
<artifactId>javax.inject</artifactId>
|
|
|
|
<version>1</version>
|
|
|
|
</dependency>
|
2017-06-22 13:26:44 +00:00
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2018-04-12 03:09:14 +00:00
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources/META-INF</directory>
|
|
|
|
<targetPath>META-INF</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>persistence.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
2017-06-20 16:00:15 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${basedir}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*.log</include>
|
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
<fileset>
|
|
|
|
<directory>${basedir}/testDB</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.5.1</version>
|
|
|
|
</plugin>
|
2017-06-22 13:26:44 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>aspectj-maven-plugin</artifactId>
|
|
|
|
<version>1.10</version>
|
|
|
|
<configuration>
|
2017-06-22 15:40:59 +00:00
|
|
|
<!-- aspectLibraries>
|
2017-06-22 13:26:44 +00:00
|
|
|
<aspectLibrary>
|
|
|
|
<groupId>io.astefanutti.metrics.aspectj</groupId>
|
|
|
|
<artifactId>metrics-aspectj</artifactId>
|
|
|
|
</aspectLibrary>
|
2017-06-22 15:40:59 +00:00
|
|
|
</aspectLibraries -->
|
2017-06-22 13:26:44 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<showWeaveInfo/>
|
|
|
|
<forceAjcCompile>true</forceAjcCompile>
|
|
|
|
<sources/>
|
|
|
|
<weaveDirectories>
|
|
|
|
<weaveDirectory>${project.build.directory}/classes</weaveDirectory>
|
|
|
|
</weaveDirectories>
|
|
|
|
<complianceLevel>${java.version}</complianceLevel>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<Xlint>ignore</Xlint>
|
|
|
|
<!--
|
|
|
|
<aspectLibraries>
|
|
|
|
<aspectLibrary>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
|
</aspectLibrary>
|
|
|
|
<aspectLibrary>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aspects</artifactId>
|
|
|
|
</aspectLibrary>
|
|
|
|
</aspectLibraries>
|
|
|
|
-->
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
|
<version>${aspectj.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjtools</artifactId>
|
|
|
|
<version>${aspectj.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2018-03-25 23:41:59 +00:00
|
|
|
<!-- DataNucleus compile time weaving -->
|
2017-06-20 16:00:15 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-maven-plugin</artifactId>
|
2018-04-12 02:33:17 +00:00
|
|
|
<version>5.0.0-release</version>
|
2017-06-20 16:00:15 +00:00
|
|
|
<configuration>
|
|
|
|
<api>JPA</api>
|
|
|
|
<persistenceUnitName>crud</persistenceUnitName>
|
2017-06-20 19:42:24 +00:00
|
|
|
<persistenceUnitName>mongo</persistenceUnitName>
|
2017-06-20 16:00:15 +00:00
|
|
|
<verbose>true</verbose>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enhance</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-03-25 23:41:59 +00:00
|
|
|
|
2017-06-22 13:26:44 +00:00
|
|
|
<!-- -->
|
2017-06-20 16:00:15 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.example.crud.Main</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${basedir}/assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-06-19 19:46:56 +00:00
|
|
|
</project>
|