mirror of https://github.com/apache/openjpa.git
OPENJPA-1712 Upgrade builds to use Apache hosted Nexus repo. Backported from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983230 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
010870ed56
commit
697b34b9ee
|
@ -5,8 +5,6 @@ Copyright 2006-2010 The Apache Software Foundation
|
|||
This product includes software developed by
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
|
||||
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
|
||||
|
||||
|
||||
The following copyright notice(s) were affixed to portions of this code
|
||||
with which this file is now or was at one time distributed.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Apache OpenJPA README
|
||||
=====================
|
||||
Apache OpenJPA - README.txt
|
||||
Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Thank you for downloading this release of Apache OpenJPA.
|
||||
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
|
||||
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
|
||||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
openjpa-all includes software developed by the:
|
||||
Apache Commons Collections project
|
||||
|
|
|
@ -37,6 +37,11 @@
|
|||
<name>OpenJPA Examples</name>
|
||||
<description>OpenJPA Examples</description>
|
||||
|
||||
<properties>
|
||||
<openjpa.Log>DefaultLevel=WARN</openjpa.Log>
|
||||
<checkstyle.config.location>${project.basedir}/../openjpa-project/checkstyle.xml</checkstyle.config.location>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
|
@ -59,6 +64,7 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
@ -74,41 +80,6 @@
|
|||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Bundle-Name>${artifactId}</Bundle-Name>
|
||||
<Bundle-SymbolicName>${groupId}.${artifactId};singleton=true</Bundle-SymbolicName>
|
||||
<Bundle-DocURL>http://openjpa.apache.org/documentation.html</Bundle-DocURL>
|
||||
<Bundle-Activator>hellojpa.Main</Bundle-Activator>
|
||||
<!-- Eclipse metadata -->
|
||||
<Eclipse-Autostart>false</Eclipse-Autostart>
|
||||
<Bundle-ClassPath>.</Bundle-ClassPath>
|
||||
</instructions>
|
||||
<unpackBundle>true</unpackBundle>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -81,6 +81,19 @@
|
|||
<openjpa.Log>DefaultLevel=WARN</openjpa.Log>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<!-- Don't publish these artifacts to central -->
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<!-- JPA 2.0 TCK Profile -->
|
||||
|
|
|
@ -36,20 +36,8 @@
|
|||
<name>OpenJPA Integration Tests - Bean Validation</name>
|
||||
<description>OpenJPA Integration Tests - Bean Validation</description>
|
||||
|
||||
<properties>
|
||||
<dbcp.maxActive>10</dbcp.maxActive>
|
||||
<dbcp.maxIdle>5</dbcp.maxIdle>
|
||||
<dbcp.minIdle>2</dbcp.minIdle>
|
||||
<dbcp.maxWait>10000</dbcp.maxWait>
|
||||
<dbcp.args>MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait}</dbcp.args>
|
||||
<connection.driver.name>org.apache.derby.jdbc.EmbeddedDriver</connection.driver.name>
|
||||
<connection.url>jdbc:derby:target/database/openjpa-derby-database;create=true</connection.url>
|
||||
<connection.username />
|
||||
<connection.password />
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
<!-- Profile for testing with Agimatec validation provider -->
|
||||
<!-- Profile for testing with Apache BVAL provider -->
|
||||
<!-- See http://incubator.apache.org/projects/beanvalidation.html -->
|
||||
<profile>
|
||||
<id>bval</id>
|
||||
|
@ -66,8 +54,8 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.bval</groupId>
|
||||
<artifactId>bval-jsr303</artifactId>
|
||||
<version>0.1-incubating-SNAPSHOT</version>
|
||||
<artifactId>org.apache.bval.bundle</artifactId>
|
||||
<version>0.1-incubating</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<!-- force usage of the geronimo-validation_1.0_spec -->
|
||||
|
@ -92,6 +80,26 @@
|
|||
</dependencies>
|
||||
</profile>
|
||||
|
||||
<!-- Test profile for testing with Apache BVAL and Java SE 5 -->
|
||||
<profile>
|
||||
<id>test-java5</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.xml.bind</groupId>
|
||||
<artifactId>jaxb-impl</artifactId>
|
||||
<version>2.1.3</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
|
||||
<!-- Default profile for testing with Hibernate Bean Validation RI -->
|
||||
<profile>
|
||||
<id>hibernate</id>
|
||||
|
@ -155,77 +163,6 @@
|
|||
</repository>
|
||||
</repositories>
|
||||
</profile>
|
||||
|
||||
<!-- OLD Profile for testing with Agimatec validation provider -->
|
||||
<profile>
|
||||
<id>agimatec</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>agimatec</name>
|
||||
</property>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<!-- See http://code.google.com/p/agimatec-validation/wiki/GettingStarted -->
|
||||
<dependency>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-validation_1.0_spec</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.agimatec</groupId>
|
||||
<artifactId>agimatec-jsr303</artifactId>
|
||||
<version>0.9.6</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<!-- force usage of the geronimo-validation_1.0_spec -->
|
||||
<exclusion>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
</exclusion>
|
||||
<!-- use our level of the geronimo-jpa_2.0_spec -->
|
||||
<exclusion>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.agimatec</groupId>
|
||||
<artifactId>agimatec-validation</artifactId>
|
||||
<version>0.9.6</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-beanutils</groupId>
|
||||
<artifactId>commons-beanutils</artifactId>
|
||||
<version>1.8.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.4</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>agimatec.oss.sonatype.org</id>
|
||||
<name>Sonatype OSS Repository</name>
|
||||
<url>http://oss.sonatype.org/content/repositories/agimatec</url>
|
||||
<layout>default</layout>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<checksumPolicy>fail</checksumPolicy>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencies>
|
||||
|
@ -274,7 +211,6 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
@ -340,16 +276,20 @@
|
|||
</property>
|
||||
<property>
|
||||
<name>derby.locks.deadlockTimeout</name>
|
||||
<value>5</value>
|
||||
<value>${derby.locks.deadlockTimeout}</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>derby.locks.waitTimeout</name>
|
||||
<value>6</value>
|
||||
<value>${derby.locks.waitTimeout}</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>openjpa.ConnectionProperties</name>
|
||||
<value>DriverClassName=${connection.driver.name},Url=${connection.url},Username=${connection.username},Password=${connection.password},${dbcp.args}</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>tests.openjpa.allowfailure</name>
|
||||
<value>${tests.openjpa.allowfailure}</value>
|
||||
</property>
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
|
|
@ -88,9 +88,24 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
@ -121,17 +122,26 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
<Agent-Class>org.apache.openjpa.enhance.InstrumentationFactory</Agent-Class>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
<executions>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
@ -140,6 +150,7 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<!--
|
||||
Internal (in SVN) repository which contains jar files that are not
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
openjpa-kernel includes software written by Miroslav Nachev
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!--
|
||||
|
@ -123,9 +124,24 @@ openjpa.version=${project.version}</echo>
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
|
|
@ -160,6 +160,10 @@
|
|||
<connection.url>${openjpa.postgresql.url}</connection.url>
|
||||
<connection.username>${openjpa.postgresql.username}</connection.username>
|
||||
<connection.password>${openjpa.postgresql.password}</connection.password>
|
||||
<!-- DBCP overrides -->
|
||||
<dbcp.maxIdle>0</dbcp.maxIdle>
|
||||
<dbcp.minIdle>0</dbcp.minIdle>
|
||||
<dbcp.maxActive>20</dbcp.maxActive>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
|
@ -719,6 +723,7 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
@ -754,6 +759,23 @@
|
|||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>test-base-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
|
@ -774,7 +796,6 @@
|
|||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
|
|
@ -1 +1,20 @@
|
|||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
|
||||
|
|
|
@ -746,7 +746,6 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
|
|
@ -66,9 +66,24 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
|
||||
======================================
|
||||
LICENSES FOR INCLUDED DEPENDENCIES
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
OpenJPA includes the persistence and orm schemas from the JPA specifications.
|
||||
Copyright 2005-2009 Sun Microsystems, Inc. All rights reserved.
|
||||
|
|
|
@ -1,21 +1,6 @@
|
|||
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.
|
||||
|
||||
|
||||
Building OpenJPA
|
||||
===============================================================================
|
||||
Building Apache OpenJPA
|
||||
Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
These instructions describe how to build OpenJPA from source code using the
|
||||
Apache Maven 2 build tool. They are written for use from the console, and are
|
||||
|
@ -29,10 +14,10 @@ website at http://openjpa.apache.org/building-openjpa.html
|
|||
OpenJPA requires Java 1.6 or later to build, but still supports using
|
||||
Java SE 5 for runtime even though some features are only available
|
||||
with Java SE 6.
|
||||
2. Install the build tool Apache Maven 2.0.9 or later, from:
|
||||
2. Install the build tool Apache Maven 2.2.1 or later, from:
|
||||
http://maven.apache.org/
|
||||
If it is installed correctly, typing mvn -v from the console will result
|
||||
in the text "Maven version: 2.0.9"
|
||||
in the text "Maven version: 2.2.1"
|
||||
3. Extract the source archive if you have not already done so.
|
||||
The source will create a new directory named:
|
||||
openjpa-<version>-source. Where <version> is the openjpa
|
||||
|
@ -70,31 +55,30 @@ Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
|
|||
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
|
||||
|
||||
$ mvn -v
|
||||
Maven version: 2.0.10
|
||||
Maven version: 2.2.1
|
||||
|
||||
$ svn --version
|
||||
svn, version 1.5.5 (r34862)
|
||||
compiled Jan 5 2009, 12:30:39
|
||||
|
||||
$ svn co https://svn.apache.org/repos/asf/openjpa/trunk/
|
||||
A trunk/openjpa-lib
|
||||
A trunk/openjpa-lib/src
|
||||
A trunk/openjpa-lib/src/test
|
||||
A trunk/openjpa-lib/src/test/java
|
||||
A trunk/openjpa-lib/src/test/java/org
|
||||
A trunk/openjpa-lib/src/test/java/org/apache
|
||||
A trunk/openjpa-lib/src/test/java/org/apache/openjpa
|
||||
A trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib
|
||||
A trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test
|
||||
A trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.
|
||||
java
|
||||
$ svn co https://svn.apache.org/repos/asf/openjpa/tags/2.0.0
|
||||
A 2.0.0/openjpa-lib
|
||||
A 2.0.0/openjpa-lib/src
|
||||
A 2.0.0/openjpa-lib/src/test
|
||||
A 2.0.0/openjpa-lib/src/test/java
|
||||
A 2.0.0/openjpa-lib/src/test/java/org
|
||||
A 2.0.0/openjpa-lib/src/test/java/org/apache
|
||||
A 2.0.0/openjpa-lib/src/test/java/org/apache/openjpa
|
||||
A 2.0.0/openjpa-lib/src/test/java/org/apache/openjpa/lib
|
||||
A 2.0.0/openjpa-lib/src/test/java/org/apache/openjpa/lib/test
|
||||
A 2.0.0/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.java
|
||||
|
||||
...
|
||||
|
||||
A trunk/openjpa-persistence/pom.xml
|
||||
A 2.0.0/openjpa-persistence/pom.xml
|
||||
Checked out revision 915725.
|
||||
|
||||
$ cd trunk/
|
||||
$ cd 2.0.0/
|
||||
|
||||
$ mvn clean install -DfailIfNoTests=false -Dtest=
|
||||
|
||||
|
@ -156,6 +140,6 @@ $ mvn clean install -DfailIfNoTests=false -Dtest=
|
|||
|
||||
$ ls openjpa-project/target/site/downloads/
|
||||
|
||||
apache-openjpa-2.0.0-SNAPSHOT-binary.zip
|
||||
apache-openjpa-2.0.0-SNAPSHOT-source.zip
|
||||
apache-openjpa-2.0.0-binary.zip
|
||||
apache-openjpa-2.0.0-source.zip
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Apache OpenJPA 2.0.0
|
||||
--------------------
|
||||
Apache OpenJPA 2.0.1-SNAPSHOT
|
||||
Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Content
|
||||
-------
|
||||
|
@ -19,7 +20,7 @@ Content
|
|||
|
||||
Overview
|
||||
--------
|
||||
The Apache OpenJPA community is proud to release a 2.0.0 distribution of
|
||||
The Apache OpenJPA community is proud to release a 2.0.1-SNAPSHOT distribution of
|
||||
OpenJPA. This distribution is based on the final JSR 317 Java
|
||||
Persistence API, Version 2.0 specification and passes the JPA 2.0 TCK,
|
||||
while remaining backwards compatiable with prior releases based on the
|
||||
|
@ -163,6 +164,12 @@ Getting Involved
|
|||
* Bugs and other issues can be posted on the project JIRA.
|
||||
|
||||
|
||||
Included Changes in OpenJPA 2.0.1-SNAPSHOT
|
||||
------------------------------------------
|
||||
|
||||
* TBD *
|
||||
|
||||
|
||||
Included Changes in OpenJPA 2.0.0
|
||||
---------------------------------
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ Copyright 2006-2010 The Apache Software Foundation
|
|||
This product includes software developed at
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
|
||||
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
|
||||
|
||||
The OpenJPA binary assembly includes software developed by the:
|
||||
Apache Commons Collections project
|
||||
Apache Commons Lang project
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Apache OpenJPA README
|
||||
=====================
|
||||
Apache OpenJPA - README.txt
|
||||
Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Thank you for downloading this release of Apache OpenJPA.
|
||||
|
||||
|
|
|
@ -1,7 +1,25 @@
|
|||
<!--
|
||||
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.
|
||||
-->
|
||||
<html>
|
||||
<title>Release Notes for Apache OpenJPA 2.0.0</title>
|
||||
<title>Release Notes for Apache OpenJPA 2.0.1-SNAPSHOT</title>
|
||||
<body>
|
||||
<h1>Release Notes for Apache OpenJPA 2.0.0</h1>
|
||||
<h1>Release Notes for Apache OpenJPA 2.0.1-SNAPSHOT</h1>
|
||||
<p>
|
||||
<ul>
|
||||
<li><a href="#Overview">Overview</a></li>
|
||||
|
@ -12,6 +30,7 @@
|
|||
<li><a href="#Notice">Notice</a></li>
|
||||
<li><a href="#ReleaseNotes">Release Notes</a></li>
|
||||
<ul>
|
||||
<li><a href="#210">2.0.1-SNAPSHOT</a></li>
|
||||
<li><a href="#200">2.0.0</a></li>
|
||||
<li><a href="#200beta3">2.0.0 Beta 3</a></li>
|
||||
<li><a href="#200beta2">2.0.0 Beta 2</a></li>
|
||||
|
@ -28,7 +47,7 @@
|
|||
<h2><a name="Overview"></a>Overview</h2>
|
||||
|
||||
<P>
|
||||
The Apache OpenJPA community is proud to release a 2.0.0 distribution of
|
||||
The Apache OpenJPA community is proud to release a 2.0.1-SNAPSHOT distribution of
|
||||
OpenJPA. This distribution is based on the final JSR 317 Java
|
||||
Persistence API, Version 2.0 specification and passes the JPA 2.0 TCK,
|
||||
while remaining backwards compatiable with prior releases based on the
|
||||
|
@ -230,6 +249,11 @@ in each release of OpenJPA.</P>
|
|||
<hr>
|
||||
<h2><a name="ReleaseNotes">Release Notes</h2>
|
||||
|
||||
<hr>
|
||||
<h3><a name="201">OpenJPA 2.0.1-SNAPSHOT</h3>
|
||||
<ul><li> TBD </li></ul>
|
||||
|
||||
|
||||
<hr>
|
||||
<h3><a name="200">OpenJPA 2.0.0</h3>
|
||||
<h4>Sub-task</h4>
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
|
||||
mvn clean compile package -Dtest=false -DfailIfNoTests=false
|
||||
|
||||
To build and deploy a full digned release with docs, run:
|
||||
To build and deploy a fully signed release with docs, run:
|
||||
|
||||
mvn clean deploy -Pjavadoc-profile,docbook-profile,sign-release
|
||||
mvn clean deploy -Papache-release,docbook-profile
|
||||
|
||||
Note that to sign the release, you need to have "gpg" installed and
|
||||
create a key. See http://apache.org/dev/release-signing.html
|
||||
|
@ -136,7 +136,9 @@
|
|||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>assembly.xml</descriptor>
|
||||
</descriptors>
|
||||
<outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory>
|
||||
<workDirectory>target/work</workDirectory>
|
||||
</configuration>
|
||||
|
@ -399,7 +401,7 @@
|
|||
<property name="nightly.user.name" value="${nightly.user.name}" />
|
||||
<property name="nightly.password" value="${nightly.password}" />
|
||||
<property name="nightly.version" value="${nightly.version}" />
|
||||
<property name="pom.version" value="${pom.version}" />
|
||||
<property name="project.version" value="${project.version}" />
|
||||
</ant>
|
||||
</tasks>
|
||||
</configuration>
|
||||
|
@ -419,12 +421,12 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-all</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- included so we can include it in the distribution -->
|
||||
|
|
|
@ -55,17 +55,17 @@
|
|||
</fileset>
|
||||
</scp>
|
||||
<!-- remove directories, hopefully this fails silently. mkdir does not and stops the process these exist.-->
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="rm -Rf ${build.dir}/apache-openjpa-${pom.version}/docs" trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="rm -Rf ${build.dir}/apache-openjpa-${pom.version}/downloads" trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="rm -Rf ${build.dir}/apache-openjpa-${project.version}/docs" trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="rm -Rf ${build.dir}/apache-openjpa-${project.version}/downloads" trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="unzip -qq -d ${build.dir}/ ${build.dir}/docs.zip" trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="rm ${build.dir}/docs.zip" trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="mkdir ${build.dir}/apache-openjpa-${pom.version}/downloads " trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="mkdir ${build.dir}/apache-openjpa-${project.version}/downloads " trust="true" />
|
||||
|
||||
<scp todir="${nightly.user.name}:${nightly.password}@${host}:${build.dir}/apache-openjpa-${pom.version}/downloads" trust="true">
|
||||
<scp todir="${nightly.user.name}:${nightly.password}@${host}:${build.dir}/apache-openjpa-${project.version}/downloads" trust="true">
|
||||
<fileset dir="target/site/downloads" />
|
||||
</scp>
|
||||
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="chmod -R g+w ${build.dir}/apache-openjpa-${pom.version}" trust="true" />
|
||||
<sshexec host="${host}" username="${nightly.user.name}" password="${nightly.password}" command="chmod -R g+w ${build.dir}/apache-openjpa-${project.version}" trust="true" />
|
||||
|
||||
<delete>
|
||||
<fileset dir="target/site/tempDocs" />
|
||||
|
|
|
@ -130,9 +130,24 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
|
|
@ -54,14 +54,28 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- create *-tests.jar -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
|
||||
======================================
|
||||
LICENSES FOR INCLUDED DEPENDENCIES
|
||||
|
|
|
@ -1,5 +1,22 @@
|
|||
##
|
||||
## 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.
|
||||
##
|
||||
|
||||
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
|
||||
|
||||
OpenJPA includes software developed by the SERP project
|
||||
Copyright (c) 2002-2006, A. Abram White. All rights reserved.
|
||||
|
|
477
pom.xml
477
pom.xml
|
@ -27,6 +27,7 @@
|
|||
<groupId>org.apache</groupId>
|
||||
<artifactId>apache</artifactId>
|
||||
<version>7</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
|
@ -34,6 +35,7 @@
|
|||
<packaging>pom</packaging>
|
||||
<name>OpenJPA Parent POM</name>
|
||||
<description>Apache OpenJPA implementation of JSR-317 JPA 2.0</description>
|
||||
|
||||
<!--
|
||||
Changing this version needs to also be done in all children poms
|
||||
See: http://jira.codehaus.org/browse/MNG-624
|
||||
|
@ -41,10 +43,11 @@
|
|||
<version>2.0.1-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<openjpa.version>${pom.version}</openjpa.version>
|
||||
<openjpa.version>${project.version}</openjpa.version>
|
||||
<openjpa.Log>DefaultLevel=INFO</openjpa.Log>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<checkstyle.config.location>../openjpa-project/checkstyle.xml</checkstyle.config.location>
|
||||
<checkstyle.config.location>${project.basedir}/../openjpa-project/checkstyle.xml</checkstyle.config.location>
|
||||
<site.deploy.url>scp://people.apache.org/home/${user.name}/public_html/openjpa/${project.version}/staging-site</site.deploy.url>
|
||||
<!-- the test settings can be overridden my specific profiles -->
|
||||
<test.jvm.maxpermsize>512m</test.jvm.maxpermsize>
|
||||
<test.jvm.maxheapsize>1024m</test.jvm.maxheapsize>
|
||||
|
@ -71,19 +74,6 @@
|
|||
<mysql.version>5.1.12</mysql.version>
|
||||
</properties>
|
||||
|
||||
<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>
|
||||
|
||||
<url>http://openjpa.apache.org</url>
|
||||
|
||||
<issueManagement>
|
||||
|
@ -118,18 +108,9 @@
|
|||
</mailingLists>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>local-repository</id>
|
||||
<url>scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repo</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>local-repository</id>
|
||||
<url>scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repo</url>
|
||||
<uniqueVersion>false</uniqueVersion>
|
||||
</snapshotRepository>
|
||||
<site>
|
||||
<id>people.apache.org</id>
|
||||
<url>scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-site</url>
|
||||
<url>${site.deploy.url}</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
|
@ -160,15 +141,7 @@
|
|||
<!-- Build Profiles -->
|
||||
<!-- ================ -->
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>release</name>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>openjpa-project</module>
|
||||
</modules>
|
||||
<id>apache-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
@ -202,9 +175,65 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.apache.resources</groupId>
|
||||
<artifactId>apache-source-release-assembly-descriptor</artifactId>
|
||||
<version>1.0.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>source-release-assembly</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
|
||||
</descriptorRefs>
|
||||
<tarLongFileFormat>gnu</tarLongFileFormat>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<inherited>true</inherited>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<inherited>true</inherited>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<updateReleaseInfo>true</updateReleaseInfo>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<inherited>true</inherited>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadoc</id>
|
||||
|
@ -214,8 +243,11 @@
|
|||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>process-javadoc</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals><goal>javadoc</goal></goals>
|
||||
<goals>
|
||||
<goal>javadoc</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<additionalparam>
|
||||
${javadoc.additionalparam}
|
||||
|
@ -233,81 +265,41 @@
|
|||
</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>
|
||||
<goals>deploy site site-deploy</goals>
|
||||
<arguments>-Prelease,docbook-profile,test-derby -DskipTests=true</arguments>
|
||||
<arguments>-Papache-release,docbook-profile,test-derby -DskipTests=true</arguments>
|
||||
<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>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludeSubProjects>false</excludeSubProjects>
|
||||
<numUnapprovedLicenses>0</numUnapprovedLicenses>
|
||||
<excludes>
|
||||
<!--
|
||||
comments are usupported by
|
||||
javax.persistence.Persistence
|
||||
-->
|
||||
<!-- comments are usupported in services files -->
|
||||
<exclude>**/javax.persistence.spi.PersistenceProvider</exclude>
|
||||
<exclude>**/javax.annotation.processing.Processor</exclude>
|
||||
|
||||
<!--
|
||||
comments are usupported by our rsrc parser
|
||||
-->
|
||||
<!-- 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>
|
||||
<!-- comments are usupported in these files -->
|
||||
<exclude>**/org.apache.openjpa.revision.properties</exclude>
|
||||
<exclude>scripts/*.list</exclude>
|
||||
<exclude>scripts/*.options</exclude>
|
||||
<exclude>scripts/*.dict</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>
|
||||
<exclude>**/NOTICE.vm</exclude>
|
||||
<exclude>**/LICENSE.vm</exclude>
|
||||
<exclude>**/dependency-reduced-pom.xml</exclude>
|
||||
|
||||
<!-- Exclude Eclipse generated files -->
|
||||
<exclude>**/.*/**</exclude>
|
||||
|
||||
<!--
|
||||
Exclude internal repository. These files
|
||||
are generated by Maven or only used for
|
||||
build purposes.
|
||||
-->
|
||||
<exclude>**/target/**/*</exclude>
|
||||
<exclude>**/dependency-reduced-pom.xml</exclude>
|
||||
<exclude>**/*.log</exclude>
|
||||
<exclude>**/maven-eclipse.xml</exclude>
|
||||
<exclude>**/rat.txt</exclude>
|
||||
<!-- Exclude internal build-only repository -->
|
||||
<exclude>**/internal-repository/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
|
@ -328,15 +320,6 @@
|
|||
<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>
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -380,7 +363,6 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-classes</phase>
|
||||
|
@ -414,77 +396,6 @@
|
|||
</activation>
|
||||
</profile>
|
||||
|
||||
<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>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<!--
|
||||
comments are usupported by
|
||||
javax.persistence.Persistence
|
||||
-->
|
||||
<exclude>**/javax.persistence.spi.PersistenceProvider</exclude>
|
||||
<exclude>**/javax.annotation.processing.Processor</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>
|
||||
<exclude>scripts/*.list</exclude>
|
||||
<exclude>scripts/*.options</exclude>
|
||||
<exclude>scripts/*.dict</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>
|
||||
<exclude>**/NOTICE.vm</exclude>
|
||||
<exclude>**/LICENSE.vm</exclude>
|
||||
<exclude>**/dependency-reduced-pom.xml</exclude>
|
||||
|
||||
<!-- Exclude Eclipse generated files -->
|
||||
<exclude>**/.*/**</exclude>
|
||||
|
||||
<!--
|
||||
Exclude internal repository. These files
|
||||
are generated by Maven or only used for
|
||||
build purposes.
|
||||
-->
|
||||
<exclude>**/internal-repository/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<!-- =============== -->
|
||||
<!-- Test Profiles -->
|
||||
<!-- =============== -->
|
||||
|
@ -813,29 +724,71 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.1</version>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
<Specification-Title>JSR-317 Java Persistence API</Specification-Title>
|
||||
<Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor>
|
||||
<Specification-Version>2.0</Specification-Version>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>javadoc</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<additionalparam>
|
||||
${javadoc.additionalparam}
|
||||
</additionalparam>
|
||||
<aggregate>true</aggregate>
|
||||
<subpackages>org.apache.openjpa</subpackages>
|
||||
<!-- <linksource>true</linksource> -->
|
||||
<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/6/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-surefire-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<version>2.5</version>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<useFile>false</useFile>
|
||||
|
@ -843,55 +796,78 @@
|
|||
<useSystemClassLoader>true</useSystemClassLoader>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||
<version>2.5</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>rat-maven-plugin</artifactId>
|
||||
<version>1.0-alpha-3</version>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>2.3.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<version>1.0-beta-4</version>
|
||||
<configuration>
|
||||
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
||||
<revisionOnScmFailure>offline</revisionOnScmFailure>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>create</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<version>0.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<excludeSubProjects>false</excludeSubProjects>
|
||||
<numUnapprovedLicenses>0</numUnapprovedLicenses>
|
||||
<excludes>
|
||||
<!--
|
||||
comments are usupported by
|
||||
javax.persistence.Persistence
|
||||
-->
|
||||
<exclude>**/javax.persistence.spi.PersistenceProvider</exclude>
|
||||
<exclude>**/javax.annotation.processing.Processor</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>
|
||||
<exclude>scripts/*.list</exclude>
|
||||
<exclude>scripts/*.options</exclude>
|
||||
<exclude>scripts/*.dict</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>
|
||||
<exclude>**/NOTICE.vm</exclude>
|
||||
<exclude>**/LICENSE.vm</exclude>
|
||||
<exclude>**/dependency-reduced-pom.xml</exclude>
|
||||
|
||||
<!-- Exclude Eclipse generated files -->
|
||||
<exclude>**/.*/**</exclude>
|
||||
|
||||
<!--
|
||||
Exclude internal repository. These files
|
||||
are generated by Maven or only used for
|
||||
build purposes.
|
||||
-->
|
||||
<exclude>**/internal-repository/**</exclude>
|
||||
<exclude>**/target/**/*</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<!-- only check common source files -->
|
||||
<include>**/src/**/*.bat</include>
|
||||
<include>**/src/**/*.css</include>
|
||||
<include>**/src/**/*.html</include>
|
||||
<include>**/src/**/*.java</include>
|
||||
<include>**/src/**/*.js</include>
|
||||
<include>**/src/**/*.jsp</include>
|
||||
<include>**/src/**/*.properties</include>
|
||||
<include>**/src/**/*.sh</include>
|
||||
<include>**/src/**/*.txt</include>
|
||||
<include>**/src/**/*.vm</include>
|
||||
<include>**/src/**/*.xml</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- inherited from apache-7.pom, but need config updates -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<configuration>
|
||||
<useReleaseProfile>false</useReleaseProfile>
|
||||
<goals>deploy site site-deploy</goals>
|
||||
<arguments>-Papache-release,docbook-profile,test-derby -DskipTests=true</arguments>
|
||||
<autoVersionSubmodules>true</autoVersionSubmodules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
@ -925,6 +901,15 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -972,6 +957,17 @@
|
|||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>ianal-maven-plugin</artifactId>
|
||||
<version>1.0-alpha-1</version>
|
||||
<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>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -1013,6 +1009,11 @@
|
|||
<artifactId>openjpa-maven-plugin</artifactId>
|
||||
<version>1.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>2.3.1</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
|
@ -1042,17 +1043,10 @@
|
|||
<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>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -1085,7 +1079,7 @@
|
|||
<configuration>
|
||||
<rules>
|
||||
<requireMavenVersion>
|
||||
<version>[2.0.9,)</version>
|
||||
<version>[2.2.1,)</version>
|
||||
</requireMavenVersion>
|
||||
<requireJavaVersion>
|
||||
<version>[1.6,)</version>
|
||||
|
@ -1095,15 +1089,34 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
</plugin>
|
||||
<!-- this has to be done in each module so we don't generate
|
||||
tests.jar artifacts that fail the IANAL check
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-tests</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
|
@ -1111,6 +1124,12 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
-->
|
||||
<!-- Don't include in all builds for now
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
-->
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@ -1151,6 +1170,10 @@
|
|||
<excludes>**/*_.java</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
|
|
Loading…
Reference in New Issue