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 10:04:33 UTC

svn commit: r490962 - /jackrabbit/trunk/jackrabbit-jca/pom.xml

Author: jukka
Date: Fri Dec 29 01:04:32 2006
New Revision: 490962

URL: http://svn.apache.org/viewvc?view=rev&rev=490962
Log:
JCR-683: The jca jar needs to explicitly be built for inclusion the rar archive.

Modified:
    jackrabbit/trunk/jackrabbit-jca/pom.xml

Modified: jackrabbit/trunk/jackrabbit-jca/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/pom.xml?view=diff&rev=490962&r1=490961&r2=490962
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-jca/pom.xml Fri Dec 29 01:04:32 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>