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/08/07 09:05:35 UTC

svn commit: r429258 - /jackrabbit/trunk/jcr-rmi/pom.xml

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>