-
-
Save IanSaucy/ce8d29c4c27462714d66dab285f71141 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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>org.datanucleus</groupId> | |
<artifactId>datanucleus-samples-jdo-typesafe_query-child</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<parent> | |
<groupId>org.datanucleus</groupId> | |
<artifactId>datanucleus-samples-jdo-typesafe_query</artifactId> | |
<version>4.0</version> | |
<relativePath>pomParent.xml</relativePath> | |
</parent> | |
<properties> | |
<jdk.version>8</jdk.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.datanucleus</groupId> | |
<artifactId>datanucleus-jdo-query</artifactId> | |
<version>[5.0.0-m1, 5.9)</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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>org.datanucleus</groupId> | |
<artifactId>datanucleus-samples-jdo-typesafe_query</artifactId> | |
<packaging>pom</packaging> | |
<version>4.0</version> | |
<name>DataNucleus AccessPlatform JDO Typesafe Query Sample</name> | |
<url>http://www.datanucleus.org</url> | |
<properties> | |
<jdk.version>13</jdk.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-toolchains-plugin</artifactId> | |
<version>3.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.datanucleus</groupId> | |
<artifactId>datanucleus-core</artifactId> | |
<version>[5.0.0-m1, 5.9)</version> | |
</dependency> | |
<dependency> | |
<groupId>org.datanucleus</groupId> | |
<artifactId>datanucleus-api-jdo</artifactId> | |
<version>[5.0.0-m1, 5.9)</version> | |
</dependency> | |
<dependency> | |
<groupId>org.datanucleus</groupId> | |
<artifactId>datanucleus-rdbms</artifactId> | |
<version>[5.0.0-m1, 5.9)</version> | |
</dependency> | |
<dependency> | |
<groupId>org.datanucleus</groupId> | |
<artifactId>javax.jdo</artifactId> | |
<version>[3.2.0-m6, )</version> | |
</dependency> | |
<dependency> | |
<groupId>org.xerial</groupId> | |
<artifactId>sqlite-jdbc</artifactId> | |
<version>3.30.1</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.9</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<version>[1.2, 1.3)</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<!-- Use same area for test and source classes so we can enhance --> | |
<testOutputDirectory>target/classes</testOutputDirectory> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-toolchains-plugin</artifactId> | |
<version>3.0.0</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>toolchain</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<toolchains> | |
<jdk> | |
<version>${jdk.version}</version> | |
</jdk> | |
</toolchains> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>2.4.1</version> | |
<configuration> | |
<filesets> | |
<fileset> | |
<directory>${basedir}</directory> | |
<includes> | |
<include>*.log</include> | |
<include>*.ods</include> | |
</includes> | |
</fileset> | |
</filesets> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
<compilerArgument>-AqueryMode=FIELD</compilerArgument> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.datanucleus</groupId> | |
<artifactId>datanucleus-maven-plugin</artifactId> | |
<version>5.0.1</version> | |
<configuration> | |
<persistenceUnitName>MyTest</persistenceUnitName> | |
<log4jConfiguration>${basedir}/src/main/resources/log4j.properties</log4jConfiguration> | |
<verbose>false</verbose> | |
</configuration> | |
<executions> | |
<execution> | |
<phase>compile</phase> | |
<goals> | |
<goal>enhance</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.1</version> | |
<configuration> | |
<mainClass>org.datanucleus.samples.jdo.query.Main</mainClass> | |
<systemProperties> | |
<systemProperty> | |
<key>log4j.configuration</key> | |
<value>file:${basedir}/src/main/resources/log4j.properties</value> | |
</systemProperty> | |
</systemProperties> | |
</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> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment