commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r394099 - /jakarta/commons/sandbox/proxy/trunk/pom.xml
Date Fri, 14 Apr 2006 13:54:42 GMT
Author: jcarman
Date: Fri Apr 14 06:54:42 2006
New Revision: 394099

URL: http://svn.apache.org/viewcvs?rev=394099&view=rev
Log:
Working mvn build.

Modified:
    jakarta/commons/sandbox/proxy/trunk/pom.xml

Modified: jakarta/commons/sandbox/proxy/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/pom.xml?rev=394099&r1=394098&r2=394099&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/pom.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/pom.xml Fri Apr 14 06:54:42 2006
@@ -23,35 +23,22 @@
     <name>Commons Proxy</name>
     <url>http://jakarta.apache.org/commons/sandbox/proxy</url>
     <inceptionYear>2005</inceptionYear>
+
     <build>
-        <sourceDirectory>src/java</sourceDirectory>
-        <resources>
-            <resource>
-                <directory>src/java</directory>
-                <excludes>
-                    <exclude>**/*.java</exclude>
-                </excludes>
-            </resource>
-        </resources>
-        <testSourceDirectory>src/test</testSourceDirectory>
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
                     <execution>
-                        <id>generate-rmic-stubs</id>
                         <phase>test-compile</phase>
                         <configuration>
                             <tasks>
-                                <property environment="env"/>
-                                <path id="rmic.classpath">
-                                    <fileset dir="${java.home}/lib">
-                                        <include name="tools.jar"/>
-                                    </fileset>
-                                </path>
-
-                                <mkdir dir="target/test-classes"/>
-                                <rmic base="target/test-classes" includes="**/RmiEchoImpl.class"
classpathref="rmic.classpath"/>
+                                <echo>Running rmic...</echo>
+                                <rmic base="${project.build.testOutputDirectory}"
+                                      classname="org.apache.commons.proxy.util.rmi.RmiEchoImpl">
+                                    <classpath refid="maven.compile.classpath"/>
+                                </rmic>
                             </tasks>
                         </configuration>
                         <goals>
@@ -59,9 +46,34 @@
                         </goals>
                     </execution>
                 </executions>
+                <dependencies>
+                    <dependency>
+                        <groupId>com.sun</groupId>
+                        <artifactId>tools</artifactId>
+                        <scope>system</scope>
+                        <version>1.4</version>
+                        <systemPath>${java.home}/../lib/tools.jar</systemPath>
+                    </dependency>
+                </dependencies>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <forkMode>once</forkMode>
+                </configuration>
             </plugin>
         </plugins>
-
+        <sourceDirectory>src/java</sourceDirectory>
+        <resources>
+            <resource>
+                <directory>src/java</directory>
+                <excludes>
+                    <exclude>**/*.java</exclude>
+                </excludes>
+            </resource>
+        </resources>
+        <testSourceDirectory>src/test</testSourceDirectory>
     </build>
     <dependencies>
         <dependency>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message