SF.net SVN: mx4j:[2286] trunk/mx4j/jsr160/pom.xml
[email protected] Sat, 02 Jan 2010 05:55:33 +0000
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2286
http://mx4j.svn.sourceforge.net/mx4j/?rev=2286&view=rev
Author: altheengineer
Date: 2010-01-02 05:55:32 +0000 (Sat, 02 Jan 2010)
Log Message:
-----------
Changing RMIC plugin from Maven plugin (which did not seem to create proper IIOP classes) to Ant based JDK RMIC for 1.4.2. Not sure if classes are being included in correct jar file (or if they are supposed to be in test and/or another jar file)
Modified Paths:
--------------
trunk/mx4j/jsr160/pom.xml
Modified: trunk/mx4j/jsr160/pom.xml
===================================================================
--- trunk/mx4j/jsr160/pom.xml 2010-01-02 02:00:38 UTC (rev 2285)
+++ trunk/mx4j/jsr160/pom.xml 2010-01-02 05:55:32 UTC (rev 2286)
@@ -36,36 +36,55 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rmic-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>rmi compilation</id>
- <goals>
- <goal>rmic</goal>
- </goals>
- <phase>process-classes</phase>
- <configuration>
- <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>rmi iiop compilation</id>
- <goals>
- <goal>rmic</goal>
- </goals>
- <phase>process-classes</phase>
- <configuration>
- <iiop>true</iiop>
- <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
- <includes>
- <include>**/rmi/*.class</include>
- </includes>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <configuration>
+ <tasks>
+ <property name="compile_classpath"
+ refid="maven.compile.classpath"/>
+ <property name="runtime_classpath"
+ refid="maven.runtime.classpath"/>
+ <property name="test_classpath"
+ refid="maven.test.classpath"/>
+ <property name="plugin_classpath"
+ refid="maven.plugin.classpath"/>
+ <property name="compile_path"
+ value="target/classes"/>
+
+ <rmic verify="true"
+ debug="on"
+ classpathref="maven.compile.classpath"
+ includes="**/*.class"
+ base="${compile_path}"
+ />
+ <rmic verify="true"
+ debug="on"
+ classpathref="maven.compile.classpath"
+ includes="**/*.class"
+ base="${compile_path}"
+ iiop="true"
+ />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </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>
</plugins>
</build>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev