[exo-jcr-commits] exo-jcr SVN: r3241 - in jcr/trunk/exo.jcr.connectors.localadapter: src/main/rar/META-INF and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Oct 5 05:03:49 EDT 2010


Author: tolusha
Date: 2010-10-05 05:03:49 -0400 (Tue, 05 Oct 2010)
New Revision: 3241

Modified:
   jcr/trunk/exo.jcr.connectors.localadapter/pom.xml
   jcr/trunk/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml
Log:
EXOJCR-949: Updating eXo JCR version in ra.xml automatically

Modified: jcr/trunk/exo.jcr.connectors.localadapter/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.connectors.localadapter/pom.xml	2010-10-05 07:16:35 UTC (rev 3240)
+++ jcr/trunk/exo.jcr.connectors.localadapter/pom.xml	2010-10-05 09:03:49 UTC (rev 3241)
@@ -121,6 +121,13 @@
     </dependency>
   </dependencies>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/rar</directory>
+        <targetPath>${project.build.directory}</targetPath>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -146,6 +153,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-rar-plugin</artifactId>
         <configuration>
+          <raXmlFile>${project.build.directory}/META-INF/ra.xml</raXmlFile>
           <archive>
             <manifest>
               <addClasspath>true</addClasspath>

Modified: jcr/trunk/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml
===================================================================
--- jcr/trunk/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml	2010-10-05 07:16:35 UTC (rev 3240)
+++ jcr/trunk/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml	2010-10-05 09:03:49 UTC (rev 3241)
@@ -25,7 +25,7 @@
    <display-name>JCR repository</display-name>
    <vendor-name>exoplatform</vendor-name>
    <eis-type />
-   <resourceadapter-version>1.14.0-CR1-SNAPSHOT</resourceadapter-version>
+   <resourceadapter-version>${project.version}</resourceadapter-version>
    <license>
       <license-required>false</license-required>
    </license>



More information about the exo-jcr-commits mailing list