You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/08/26 19:53:22 UTC

svn commit: r989848 - /openjpa/trunk/pom.xml

Author: dwoods
Date: Thu Aug 26 17:53:22 2010
New Revision: 989848

URL: http://svn.apache.org/viewvc?rev=989848&view=rev
Log:
OPENJPA-1712 Merged in from 2.0.x - turn off creation of sources.jar for developer builds and fix test-java5 profile by adding m-compiler-p back in

Modified:
    openjpa/trunk/pom.xml

Modified: openjpa/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/pom.xml?rev=989848&r1=989847&r2=989848&view=diff
==============================================================================
--- openjpa/trunk/pom.xml (original)
+++ openjpa/trunk/pom.xml Thu Aug 26 17:53:22 2010
@@ -65,9 +65,9 @@
              anything else allows the test to execute normally
         -->
         <tests.openjpa.allowfailure>ignore</tests.openjpa.allowfailure>
-        <!--turn off sources.jar generation by setting to none and false -->
-        <createSource>verify</createSource>
-        <createSources>true</createSources>
+        <!--turn on sources.jar generation by setting to verify and true -->
+        <createSource>none</createSource>
+        <createSources>false</createSources>
         <!-- common JDBC driver versions -->
         <derby.version>10.5.3.0_1</derby.version>
         <hsqldb.version>1.8.0.10</hsqldb.version>
@@ -164,6 +164,16 @@
         <!-- Override some release settings inherited from apache-7.pom -->
         <profile>
             <id>apache-release</id>
+            <activation>
+                <property>
+                    <name>performRelease</name>
+                </property>
+            </activation>
+            <properties>
+                <!--turn on sources.jar generation -->
+                <createSource>verify</createSource>
+                <createSources>true</createSources>
+            </properties>
             <build>
                 <plugins>
                     <plugin>
@@ -868,6 +878,10 @@
 
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+            </plugin>
+            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>ianal-maven-plugin</artifactId>
             </plugin>