jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r429258 - /jackrabbit/trunk/jcr-rmi/pom.xml
Date Mon, 07 Aug 2006 07:05:35 GMT
Author: jukka
Date: Mon Aug  7 00:05:35 2006
New Revision: 429258

URL: http://svn.apache.org/viewvc?rev=429258&view=rev
Log:
JCR-332: Added Christoph Kiehl's RMI compilation support in JCR-RMI pom.xml.

Modified:
    jackrabbit/trunk/jcr-rmi/pom.xml

Modified: jackrabbit/trunk/jcr-rmi/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-rmi/pom.xml?rev=429258&r1=429257&r2=429258&view=diff
==============================================================================
--- jackrabbit/trunk/jcr-rmi/pom.xml (original)
+++ jackrabbit/trunk/jcr-rmi/pom.xml Mon Aug  7 00:05:35 2006
@@ -80,6 +80,35 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>rmic</id>
+            <phase>compile</phase>
+            <configuration>
+              <tasks>
+                <echo>Compile RMI stubs</echo>
+                <rmic base="${project.build.outputDirectory}" verify="true"
+                      includes="org/apache/jackrabbit/rmi/server/**/Server*.class"
+                      classpathref="maven.compile.classpath" />                
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>sun</groupId>
+            <artifactId>tools</artifactId>
+            <version>1.0</version>
+            <scope>system</scope>
+            <systemPath>${java.home}/../lib/tools.jar</systemPath>
+          </dependency>          
+        </dependencies>
+      </plugin>
       <!-- plugin>
         <inherited>true</inherited>
         <groupId>org.apache.maven.plugins</groupId>



Mime
View raw message