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>
|
2021-07-06 14:32:24 +00:00
|
|
|
<org.datanucleus.version>5.2.0-release</org.datanucleus.version>
|
|
|
|
<aspectj.version>1.9.7</aspectj.version>
|
|
|
|
<metrics.version>4.2.2</metrics.version>
|
|
|
|
<spring.version>5.3.8</spring.version>
|
|
|
|
<spring-data.version>2.5.2</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>
|
2021-07-06 14:32:24 +00:00
|
|
|
<id>oss-sonatype</id>
|
|
|
|
<name>oss-sonatype</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<!-- <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>
|
2021-07-06 14:32:24 +00:00
|
|
|
<url>https://clojars.org/repo</url>
|
2017-06-22 15:40:59 +00:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>maven.apache.org</id>
|
2021-07-06 14:32:24 +00:00
|
|
|
<url>https://repo.maven.apache.org/maven2/</url>
|
2017-06-22 15:40:59 +00:00
|
|
|
</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>
|
2021-07-06 15:32:01 +00:00
|
|
|
<version>5.2.1</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.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-jodatime</artifactId>
|
2021-07-06 15:32:01 +00:00
|
|
|
<version>5.2.1</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.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>
|
2021-07-06 15:58:44 +00:00
|
|
|
<version>2.10.9.2</version>
|
2017-06-22 15:40:59 +00:00
|
|
|
<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>
|
2021-07-06 14:32:24 +00:00
|
|
|
<version>${spring-data.version}</version>
|
2017-06-22 13:26:44 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-keyvalue</artifactId>
|
2021-07-06 14:32:24 +00:00
|
|
|
<version>${spring-data.version}</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>
|
2021-07-06 14:32:24 +00:00
|
|
|
<version>5.5.1</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>
|
2021-07-06 14:32:24 +00:00
|
|
|
<version>0.5.1</version>
|
2017-06-22 15:40:59 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2021-07-06 14:32:24 +00:00
|
|
|
<groupId>com.walmartlabs</groupId>
|
2017-06-22 15:40:59 +00:00
|
|
|
<artifactId>logback-riemann-appender</artifactId>
|
2021-07-06 14:32:24 +00:00
|
|
|
<version>0.3.0</version>
|
2017-06-22 15:40:59 +00:00
|
|
|
</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>
|
2021-07-06 15:32:01 +00:00
|
|
|
<version>5.2.1</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>
|
2021-07-06 15:32:01 +00:00
|
|
|
<log4jConfiguration>${basedir}/log4j.properties</log4jConfiguration>
|
2017-06-20 16:00:15 +00:00
|
|
|
<verbose>true</verbose>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2021-07-06 15:32:01 +00:00
|
|
|
<phase>process-classes</phase>
|
2017-06-20 16:00:15 +00:00
|
|
|
<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>
|