2010-06-03 13:07:17 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
2011-12-14 19:07:18 -05:00
|
|
|
|
2010-06-03 13:07:17 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2011-12-14 19:07:18 -05:00
|
|
|
|
2010-06-03 13:07:17 -04:00
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
2011-12-14 19:07:18 -05:00
|
|
|
under the License.
|
2010-06-03 13:07:17 -04:00
|
|
|
-->
|
2011-12-14 19:07:18 -05:00
|
|
|
<!--
|
|
|
|
Please keep the project tag on one line to avoid confusing
|
2010-06-03 13:07:17 -04:00
|
|
|
the release plugin.
|
|
|
|
-->
|
|
|
|
<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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2010-11-01 10:41:26 -04:00
|
|
|
<artifactId>openjpa-examples</artifactId>
|
2016-08-18 08:44:03 -04:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2010-06-03 13:07:17 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.apache.openjpa.openjpa-examples</groupId>
|
|
|
|
<artifactId>image-gallery</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2010-07-30 09:12:06 -04:00
|
|
|
<name>OpenJPA Examples - image-gallery</name>
|
|
|
|
<description>Apache OpenJPA Examples - image-gallery</description>
|
2010-06-03 13:07:17 -04:00
|
|
|
|
|
|
|
<properties>
|
2013-08-07 11:46:38 -04:00
|
|
|
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location>
|
2010-06-03 13:07:17 -04:00
|
|
|
<test.jvm.maxpermsize>256m</test.jvm.maxpermsize>
|
|
|
|
<test.jvm.maxheapsize>1024m</test.jvm.maxheapsize>
|
|
|
|
<test.jvm.arguments>-Xmx${test.jvm.maxheapsize} -XX:MaxPermSize=${test.jvm.maxpermsize}</test.jvm.arguments>
|
|
|
|
<surefire.jvm.args>${test.jvm.arguments}</surefire.jvm.args>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-all</artifactId>
|
2010-06-21 15:12:34 -04:00
|
|
|
<version>${project.version}</version>
|
2010-06-03 13:07:17 -04:00
|
|
|
</dependency>
|
2011-12-14 19:07:18 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4jVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>${slf4jVersion}</version>
|
|
|
|
</dependency>
|
2010-06-03 13:07:17 -04:00
|
|
|
</dependencies>
|
2011-12-14 19:07:18 -05:00
|
|
|
|
2010-06-03 13:07:17 -04:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<!-- The surefire plugin is used to run the jUnit tests -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>${surefire.jvm.args}</argLine>
|
|
|
|
<useFile>false</useFile>
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<useSystemClassLoader>true</useSystemClassLoader>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2010-08-19 13:31:55 -04:00
|
|
|
|
2010-06-03 13:07:17 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<!-- Use the openjpa maven plugin to enhance the domain model classes -->
|
2011-11-22 11:51:37 -05:00
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2010-06-03 13:07:17 -04:00
|
|
|
<artifactId>openjpa-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>org/apache/openjpa/examples/gallery/model/*.class</includes>
|
|
|
|
<addDefaultConstructor>true</addDefaultConstructor>
|
|
|
|
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
|
2010-07-30 09:12:06 -04:00
|
|
|
<persistenceXmlFile>${project.basedir}/src/test/resources/META-INF/persistence.xml</persistenceXmlFile>
|
2010-06-03 13:07:17 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enhancer</id>
|
2013-04-25 18:07:33 -04:00
|
|
|
<phase>process-test-classes</phase>
|
2010-06-03 13:07:17 -04:00
|
|
|
<goals>
|
2013-04-25 18:07:33 -04:00
|
|
|
<goal>test-enhance</goal>
|
2010-06-03 13:07:17 -04:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-all</artifactId>
|
2010-07-30 09:12:06 -04:00
|
|
|
<version>${project.version}</version>
|
2010-06-03 13:07:17 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|