2007-07-03 18:42:39 -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
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
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.
|
|
|
|
-->
|
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">
|
2008-11-17 17:56:14 -05:00
|
|
|
<parent>
|
|
|
|
<groupId>org.apache</groupId>
|
|
|
|
<artifactId>apache</artifactId>
|
|
|
|
<version>4</version>
|
|
|
|
</parent>
|
2007-07-03 18:42:39 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<prerequisites>
|
|
|
|
<maven>2.0.4</maven>
|
|
|
|
</prerequisites>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-parent</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>OpenJPA</name>
|
|
|
|
<description>OpenJPA</description>
|
|
|
|
|
|
|
|
<properties>
|
2009-02-04 10:12:58 -05:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2007-08-14 18:39:55 -04:00
|
|
|
<openjpa.version>${pom.version}</openjpa.version>
|
2009-04-03 17:15:01 -04:00
|
|
|
<checkstyle.config.location>../openjpa-project/checkstyle.xml</checkstyle.config.location>
|
2007-07-03 18:42:39 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Changing this version needs to also be done in all children poms
|
|
|
|
See: http://jira.codehaus.org/browse/MNG-624
|
|
|
|
-->
|
2008-12-11 16:17:55 -05:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2007-08-14 18:39:55 -04:00
|
|
|
<url>http://openjpa.apache.org</url>
|
2007-07-03 18:42:39 -04:00
|
|
|
<issueManagement>
|
|
|
|
<system>jira</system>
|
|
|
|
<url>http://issues.apache.org/jira/browse/OPENJPA</url>
|
|
|
|
</issueManagement>
|
|
|
|
<inceptionYear>2006</inceptionYear>
|
|
|
|
<mailingLists>
|
|
|
|
<mailingList>
|
|
|
|
<name>OpenJPA Developer List</name>
|
2007-08-31 17:28:04 -04:00
|
|
|
<subscribe>dev-subscribe@openjpa.apache.org</subscribe>
|
|
|
|
<unsubscribe>dev-unsubscribe@openjpa.apache.org</unsubscribe>
|
2007-08-14 18:39:55 -04:00
|
|
|
<post>dev@openjpa.apache.org</post>
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/openjpa-dev/</archive>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>OpenJPA Users List</name>
|
2007-08-31 17:28:04 -04:00
|
|
|
<subscribe>users-subscribe@openjpa.apache.org</subscribe>
|
|
|
|
<unsubscribe>users-unsubscribe@openjpa.apache.org</unsubscribe>
|
2007-08-14 18:39:55 -04:00
|
|
|
<post>users@openjpa.apache.org</post>
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/openjpa-users/</archive>
|
2007-07-03 18:42:39 -04:00
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>OpenJPA Commits List</name>
|
2007-08-14 18:39:55 -04:00
|
|
|
<subscribe>commits-subscribe@openjpa.apache.org</subscribe>
|
|
|
|
<unsubscribe>commits-unsubscribe@openjpa.apache.org</unsubscribe>
|
|
|
|
<post>commits@openjpa.apache.org</post>
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/openjpa-commits/</archive>
|
2007-07-03 18:42:39 -04:00
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache Software License 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
<organization>
|
|
|
|
<name>Apache Software Foundation</name>
|
|
|
|
<url>http://www.apache.org</url>
|
|
|
|
</organization>
|
|
|
|
<modules>
|
|
|
|
<module>openjpa-lib</module>
|
|
|
|
<module>openjpa-kernel</module>
|
|
|
|
<module>openjpa-jdbc</module>
|
2008-03-24 23:37:56 -04:00
|
|
|
<module>openjpa-persistence</module>
|
|
|
|
<module>openjpa-persistence-jdbc</module>
|
2008-02-15 11:10:09 -05:00
|
|
|
<module>openjpa-xmlstore</module>
|
|
|
|
<module>openjpa-slice</module>
|
2009-05-11 11:21:52 -04:00
|
|
|
<module>openjpa</module>
|
2007-07-03 18:42:39 -04:00
|
|
|
<module>openjpa-project</module>
|
2008-03-24 23:37:56 -04:00
|
|
|
<module>openjpa-examples</module>
|
2007-07-03 18:42:39 -04:00
|
|
|
<module>openjpa-integration</module>
|
2009-05-11 11:21:52 -04:00
|
|
|
<module>openjpa-all</module>
|
2007-07-03 18:42:39 -04:00
|
|
|
</modules>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>release</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>release</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<modules>
|
|
|
|
<module>openjpa-project</module>
|
|
|
|
</modules>
|
2008-05-21 10:15:45 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2009-05-27 10:43:00 -04:00
|
|
|
<plugin>
|
2009-03-24 08:20:29 -04:00
|
|
|
<!--
|
|
|
|
javadoc plugin doesn't copy resources like the normal jar plugin.
|
|
|
|
Unzip license,etc from normal jar and add to javadoc jar.
|
|
|
|
-->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>javadoc.resources</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<!-- create output dir for nested parent poms -->
|
|
|
|
<mkdir dir="${project.build.directory}" />
|
|
|
|
<unzip dest="${project.build.directory}/apidocs">
|
|
|
|
<patternset>
|
|
|
|
<include name="META-INF/*.txt" />
|
|
|
|
</patternset>
|
|
|
|
<fileset dir="${project.build.directory}">
|
|
|
|
<include name="${artifactId}-${pom.version}.jar" />
|
|
|
|
</fileset>
|
|
|
|
</unzip>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-05-21 10:15:45 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadoc</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2008-06-11 12:48:56 -04:00
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals><goal>javadoc</goal></goals>
|
|
|
|
<configuration>
|
|
|
|
<additionalparam>
|
|
|
|
${javadoc.additionalparam}
|
|
|
|
</additionalparam>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
<subpackages>org.apache.openjpa</subpackages>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<maxmemory>512m</maxmemory>
|
|
|
|
<links>
|
|
|
|
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
|
|
|
|
<link>http://java.sun.com/javaee/5/docs/api</link>
|
|
|
|
<link>http://jakarta.apache.org/commons/collections/api-release</link>
|
|
|
|
</links>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useReleaseProfile>false</useReleaseProfile>
|
2008-07-21 11:21:44 -04:00
|
|
|
<goals>deploy site site-deploy</goals>
|
|
|
|
<arguments>-Prelease,docbook-profile</arguments>
|
2008-06-11 12:48:56 -04:00
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>rat-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2008-06-17 17:36:25 -04:00
|
|
|
<!--
|
|
|
|
comments are usupported by
|
|
|
|
javax.persistence.Persistence
|
|
|
|
-->
|
|
|
|
<exclude>**/javax.persistence.spi.PersistenceProvider</exclude>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
comments are usupported by our rsrc parser
|
|
|
|
-->
|
|
|
|
<exclude>**/*.rsrc</exclude>
|
|
|
|
|
|
|
|
<!-- General informational files -->
|
|
|
|
<exclude>openjpa-project/*.txt</exclude>
|
|
|
|
<exclude>README.txt</exclude>
|
|
|
|
<exclude>BUILDRELEASE</exclude>
|
|
|
|
|
|
|
|
<!-- generated content -->
|
|
|
|
<exclude>**/*.log</exclude>
|
|
|
|
<exclude>**/rat.txt</exclude>
|
|
|
|
<exclude>**/*.txt</exclude>
|
|
|
|
<exclude>**/org.apache.openjpa.revision.properties</exclude>
|
|
|
|
<exclude>**/target/**/*</exclude>
|
|
|
|
<exclude>release.properties</exclude>
|
|
|
|
|
2008-06-11 12:48:56 -04:00
|
|
|
<!--
|
|
|
|
Exclude internal repository. These files are
|
|
|
|
generated by Maven or only used for build purposes.
|
2008-06-17 17:36:25 -04:00
|
|
|
-->
|
2008-06-11 12:48:56 -04:00
|
|
|
<exclude>**/internal-repository/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2008-05-21 10:15:45 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2007-07-03 18:42:39 -04:00
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Generate the documentation using the YDoc UML generation plugin.
|
|
|
|
Assumes you have the YDoc libraries locally, as well as a valid
|
|
|
|
YDoc license file. Example usage for building the docs:
|
|
|
|
|
|
|
|
mvn process-classes -Pydoc-profile,javadoc-profile -Dydoc.home=${HOME}/.m2/privaterepos/ydoc/ydoc-2.2_04-jdk1.5 -Dydoc.license=${HOME}/.m2/privaterepos/ydoc/ydoc.license
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<id>ydoc-profile</id>
|
|
|
|
<properties>
|
|
|
|
<javadoc.additionalparam>
|
|
|
|
-generic
|
|
|
|
-umlautogen
|
|
|
|
-tag param
|
|
|
|
-tag return
|
|
|
|
-tag see
|
|
|
|
-ytag y.uml
|
|
|
|
-license ${ydoc.license}
|
|
|
|
-filter ydoc.filters.ExcludeFilter
|
|
|
|
-filterpath ${ydoc.home}/lib/ydoc.jar
|
|
|
|
-doclet ydoc.doclets.YStandard
|
|
|
|
-docletpath ${ydoc.home}/lib/ydoc.jar${path.separator}${ydoc.home}/lib/class2svg.jar${path.separator}${ydoc.home}/resources
|
|
|
|
${ydoc.params}
|
|
|
|
</javadoc.additionalparam>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<!--
|
|
|
|
Javadoc profile. Docs can be built by running:
|
|
|
|
mvn process-resources -Dtest=false -Pjavadoc-profile
|
|
|
|
-->
|
|
|
|
<id>javadoc-profile</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals><goal>javadoc</goal></goals>
|
|
|
|
<configuration>
|
|
|
|
<additionalparam>
|
|
|
|
${javadoc.additionalparam}
|
|
|
|
</additionalparam>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
<subpackages>org.apache.openjpa</subpackages>
|
|
|
|
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<!-- <linksource>true</linksource> -->
|
|
|
|
<maxmemory>512m</maxmemory>
|
|
|
|
<links>
|
|
|
|
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
|
|
|
|
<link>http://java.sun.com/javaee/5/docs/api</link>
|
|
|
|
<link>http://jakarta.apache.org/commons/collections/api-release</link>
|
|
|
|
</links>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>builddocs</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
</profile>
|
|
|
|
|
2007-08-14 18:39:55 -04:00
|
|
|
<profile>
|
|
|
|
<!--
|
|
|
|
Apache License check plugin. Run manually with:
|
|
|
|
mvn rat:check
|
|
|
|
Or add it to the verify phase with:
|
|
|
|
mvn verify -Plicense-verify-profile
|
|
|
|
-->
|
|
|
|
<id>license-verify-profile</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>rat-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2008-05-05 11:27:52 -04:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2008-06-17 17:36:25 -04:00
|
|
|
<!--
|
|
|
|
comments are usupported by
|
|
|
|
javax.persistence.Persistence
|
|
|
|
-->
|
|
|
|
<exclude>**/javax.persistence.spi.PersistenceProvider</exclude>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
comments are usupported by our rsrc parser
|
|
|
|
-->
|
|
|
|
<exclude>**/*.rsrc</exclude>
|
|
|
|
|
|
|
|
<!-- General informational files -->
|
|
|
|
<exclude>openjpa-project/*.txt</exclude>
|
|
|
|
<exclude>README.txt</exclude>
|
|
|
|
<exclude>BUILDRELEASE</exclude>
|
|
|
|
|
|
|
|
<!-- generated content -->
|
|
|
|
<exclude>**/*.log</exclude>
|
|
|
|
<exclude>**/rat.txt</exclude>
|
|
|
|
<exclude>**/*.txt</exclude>
|
|
|
|
<exclude>**/org.apache.openjpa.revision.properties</exclude>
|
|
|
|
<exclude>**/target/**/*</exclude>
|
|
|
|
<exclude>release.properties</exclude>
|
|
|
|
|
2008-05-05 11:27:52 -04:00
|
|
|
<!--
|
|
|
|
Exclude internal repository. These files are
|
|
|
|
generated by Maven or only used for build purposes.
|
|
|
|
-->
|
|
|
|
<exclude>**/internal-repository/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2007-08-14 18:39:55 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2007-07-03 18:42:39 -04:00
|
|
|
<profile>
|
|
|
|
<id>enable-security</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<test.env>-Dtest.basedir=${basedir}/..</test.env>
|
|
|
|
<policy.file>${basedir}/../openjpa-persistence-jdbc/src/test/resources/j2.security.test.policy</policy.file>
|
|
|
|
<surefire.jvm.args>-Djava.security.manager -Djava.security.policy=${policy.file} ${test.env}</surefire.jvm.args>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
|
|
|
|
2007-10-03 05:10:54 -04:00
|
|
|
<!-- default versions for dependencies that child modules may include -->
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-pool</groupId>
|
|
|
|
<artifactId>commons-pool</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.serp</groupId>
|
|
|
|
<artifactId>serp</artifactId>
|
|
|
|
<version>1.13.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
2008-11-17 17:56:14 -05:00
|
|
|
<artifactId>geronimo-jpa_2.0_spec</artifactId>
|
2009-03-27 16:58:10 -04:00
|
|
|
<version>1.0-EA2-SNAPSHOT</version>
|
2007-10-03 05:10:54 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-jms_1.1_spec</artifactId>
|
2009-01-30 17:10:31 -05:00
|
|
|
<version>1.1.1</version>
|
2007-10-03 05:10:54 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-jta_1.1_spec</artifactId>
|
2009-01-30 17:10:31 -05:00
|
|
|
<version>1.1.1</version>
|
2007-10-03 05:10:54 -04:00
|
|
|
</dependency>
|
2009-05-18 13:05:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-validation_1.0_spec</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
2007-10-03 05:10:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<version>10.2.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-dbcp</groupId>
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
</dependency>
|
2008-12-23 18:21:11 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
<version>2.0.5</version>
|
|
|
|
</dependency>
|
2007-10-03 05:10:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<version>1.8.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta-regexp</groupId>
|
|
|
|
<artifactId>jakarta-regexp</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.13</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
<version>1.6.5</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2007-07-03 18:42:39 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2009-01-20 14:43:01 -05:00
|
|
|
<version>3.8.1</version>
|
2007-07-03 18:42:39 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2009-02-04 10:12:58 -05:00
|
|
|
<version>2.0.2</version>
|
2007-07-03 18:42:39 -04:00
|
|
|
<configuration>
|
|
|
|
<source>1.5</source>
|
|
|
|
<target>1.5</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2009-05-08 12:28:25 -04:00
|
|
|
<version>2.4.3</version>
|
2007-07-03 18:42:39 -04:00
|
|
|
<configuration>
|
|
|
|
<argLine>${surefire.jvm.args}</argLine>
|
|
|
|
<useFile>false</useFile>
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<useSystemClassLoader>true</useSystemClassLoader>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-08-14 18:39:55 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>rat-maven-plugin</artifactId>
|
2009-02-04 10:12:58 -05:00
|
|
|
<version>1.0-alpha-3</version>
|
2007-08-14 18:39:55 -04:00
|
|
|
<configuration>
|
|
|
|
<excludeSubProjects>false</excludeSubProjects>
|
|
|
|
<numUnapprovedLicenses>0</numUnapprovedLicenses>
|
|
|
|
<excludes>
|
|
|
|
<!--
|
|
|
|
comments are usupported by
|
|
|
|
javax.persistence.Persistence
|
|
|
|
-->
|
|
|
|
<exclude>**/javax.persistence.spi.PersistenceProvider</exclude>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
comments are usupported by our rsrc parser
|
|
|
|
-->
|
|
|
|
<exclude>**/*.rsrc</exclude>
|
|
|
|
|
|
|
|
<!-- General informational files -->
|
|
|
|
<exclude>openjpa-project/*.txt</exclude>
|
|
|
|
<exclude>README.txt</exclude>
|
|
|
|
<exclude>BUILDRELEASE</exclude>
|
|
|
|
|
|
|
|
<!-- generated content -->
|
|
|
|
<exclude>**/*.log</exclude>
|
|
|
|
<exclude>**/rat.txt</exclude>
|
|
|
|
<exclude>**/*.txt</exclude>
|
|
|
|
<exclude>**/org.apache.openjpa.revision.properties</exclude>
|
|
|
|
<exclude>**/target/**/*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-02-04 10:12:58 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>2.0-beta-7</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.2-beta-3</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-jsch</artifactId>
|
|
|
|
<version>1.7.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<version>1.0-alpha-4</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.0-beta-7</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.0.4</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
</plugin>
|
2009-05-27 10:43:00 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<resourceBundles>
|
|
|
|
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
|
|
|
|
</resourceBundles>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-02-04 10:12:58 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>ianal-maven-plugin</artifactId>
|
|
|
|
<version>1.0-alpha-1</version>
|
|
|
|
</plugin>
|
2009-05-11 11:21:52 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
</plugin>
|
2009-04-07 09:43:53 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</plugin>
|
2009-05-20 16:42:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<version>1.4.3</version>
|
|
|
|
</plugin>
|
2007-07-03 18:42:39 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2009-02-04 10:12:58 -05:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
</plugin>
|
2009-05-27 10:43:00 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
</plugin>
|
2009-02-04 10:12:58 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>ianal-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>verify-legal-files</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- Fail the build if any artifacts are missing legal files -->
|
|
|
|
<strict>true</strict>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-04-02 23:09:53 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>checkstyle</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2009-04-03 17:15:01 -04:00
|
|
|
<configLocation>${checkstyle.config.location}</configLocation>
|
2009-04-15 11:06:53 -04:00
|
|
|
<failsOnError>true</failsOnError>
|
2009-04-03 10:42:15 -04:00
|
|
|
<consoleOutput>true</consoleOutput>
|
2009-05-27 20:22:33 -04:00
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
2009-04-02 23:09:53 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-02-04 10:12:58 -05:00
|
|
|
</plugins>
|
2007-07-03 18:42:39 -04:00
|
|
|
</build>
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2009-02-04 10:12:58 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2007-07-03 18:42:39 -04:00
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>jdepend-maven-plugin</report>
|
|
|
|
<!-- <report>jxr-maven-plugin</report> -->
|
|
|
|
<report>surefire-report-maven-plugin</report>
|
|
|
|
<report>maven-javadoc-plugin</report>
|
|
|
|
<report>mailing-list</report>
|
|
|
|
<report>issue-tracking</report>
|
|
|
|
<report>license</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-02-04 10:12:58 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2007-07-03 18:42:39 -04:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2009-04-02 23:09:53 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
2009-04-03 17:15:01 -04:00
|
|
|
<configLocation>${checkstyle.config.location}</configLocation>
|
2009-05-27 20:22:33 -04:00
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
2009-04-02 23:09:53 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-07-03 18:42:39 -04:00
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
2007-08-14 18:39:55 -04:00
|
|
|
<id>local-repository</id>
|
2008-06-12 11:08:24 -04:00
|
|
|
<url>scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repo</url>
|
2007-07-03 18:42:39 -04:00
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
2007-08-14 18:39:55 -04:00
|
|
|
<id>local-repository</id>
|
2008-06-12 11:08:24 -04:00
|
|
|
<url>scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repo</url>
|
2007-07-03 18:42:39 -04:00
|
|
|
<uniqueVersion>false</uniqueVersion>
|
|
|
|
</snapshotRepository>
|
|
|
|
<site>
|
|
|
|
<id>people.apache.org</id>
|
2008-06-12 11:08:24 -04:00
|
|
|
<url>scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-site</url>
|
2007-07-03 18:42:39 -04:00
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
2008-06-11 12:48:56 -04:00
|
|
|
<scm>
|
2009-01-27 15:49:10 -05:00
|
|
|
<connection>scm:svn:http://svn.apache.org/repos/asf/openjpa/trunk</connection>
|
|
|
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/openjpa/trunk</developerConnection>
|
|
|
|
<url>http://svn.apache.org/repos/asf/openjpa/trunk</url>
|
2008-06-11 12:48:56 -04:00
|
|
|
</scm>
|
2007-07-03 18:42:39 -04:00
|
|
|
</project>
|