2006-11-12 06:44:59 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2007-04-14 17:50:17 -04:00
|
|
|
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
|
2006-11-12 06:44:59 -05:00
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
2007-04-14 17:50: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
|
|
|
|
under the License.
|
2006-11-12 06:44:59 -05:00
|
|
|
-->
|
2008-06-11 12:48:56 -04:00
|
|
|
<!--
|
|
|
|
Maven release plugin requires the project tag to be on a single line.
|
|
|
|
-->
|
|
|
|
<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">
|
2010-04-21 16:42:04 -04:00
|
|
|
|
2006-07-10 20:35:10 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2010-04-21 16:42:04 -04:00
|
|
|
|
2006-07-10 20:35:10 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2007-05-09 18:23:54 -04:00
|
|
|
<artifactId>openjpa-parent</artifactId>
|
2010-03-22 22:27:40 -04:00
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
2006-07-10 20:35:10 -04:00
|
|
|
</parent>
|
2010-04-21 16:42:04 -04:00
|
|
|
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-xmlstore</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>OpenJPA XML Store</name>
|
|
|
|
<description>OpenJPA XML Store</description>
|
|
|
|
|
2006-07-10 20:35:10 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-kernel</artifactId>
|
2006-07-11 21:32:26 -04:00
|
|
|
<version>${pom.version}</version>
|
2006-07-10 20:35:10 -04:00
|
|
|
</dependency>
|
2010-04-21 16:42:04 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-persistence-jdbc</artifactId>
|
|
|
|
<version>${pom.version}</version>
|
|
|
|
<!-- <classifier>test-base</classifier> -->
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2006-07-10 20:35:10 -04:00
|
|
|
</dependencies>
|
2010-04-21 16:42:04 -04:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- create *-tests.jar -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-tests</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2010-04-22 09:59:49 -04:00
|
|
|
<!-- new way of using openjpa-maven-plugin to enhance classes -->
|
2010-04-21 16:42:04 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>openjpa-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>org/apache/openjpa/xmlstore/**/Test*.class</excludes>
|
|
|
|
<excludes>org/apache/openjpa/persistence/**/*.class</excludes>
|
|
|
|
<addDefaultConstructor>true</addDefaultConstructor>
|
|
|
|
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enhancer</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-enhance</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2010-04-22 09:59:49 -04:00
|
|
|
<!-- use o-p-j instead of openjpa to avoid cyclical dependency in maven graph -->
|
|
|
|
<artifactId>openjpa-persistence-jdbc</artifactId>
|
2010-04-21 16:55:50 -04:00
|
|
|
<version>${pom.version}</version>
|
2010-04-21 16:42:04 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>${test.jvm.arguments}</argLine>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>openjpa.Log</name>
|
|
|
|
<value>${openjpa.Log}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>openjpa.DynamicEnhancementAgent</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>tests.openjpa.allowfailure</name>
|
|
|
|
<value>${tests.openjpa.allowfailure}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2006-07-10 20:35:10 -04:00
|
|
|
</project>
|
2010-04-21 16:42:04 -04:00
|
|
|
|