You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2006/12/29 13:42:35 UTC

svn commit: r490993 - /jackrabbit/branches/1.2/jackrabbit-jca/pom.xml

Author: jukka
Date: Fri Dec 29 04:42:35 2006
New Revision: 490993

URL: http://svn.apache.org/viewvc?view=rev&rev=490993
Log:
1.2: Merged revision 490962 (JCR-693)

Modified:
    jackrabbit/branches/1.2/jackrabbit-jca/pom.xml

Modified: jackrabbit/branches/1.2/jackrabbit-jca/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.2/jackrabbit-jca/pom.xml?view=diff&rev=490993&r1=490992&r2=490993
==============================================================================
--- jackrabbit/branches/1.2/jackrabbit-jca/pom.xml (original)
+++ jackrabbit/branches/1.2/jackrabbit-jca/pom.xml Fri Dec 29 04:42:35 2006
@@ -53,11 +53,20 @@
 
   <build>
     <plugins>
+      <!-- JCR-683: Explicitly enable building of the jar. -->
       <plugin>
-        <artifactId>maven-rar-plugin</artifactId>
-        <configuration>
-          <includeJar>true</includeJar>
-        </configuration>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>package-jca-jar</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <!-- The jar needs to be built *before* the package
+                 phase for it to be included in the rar archive. -->
+            <phase>test</phase>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
   </build>