Author: veithen
Date: Sun Mar 14 17:35:54 2010
New Revision: 922906
URL: http://svn.apache.org/viewvc?rev=922906&view=rev
Log:
axis2-fastinfoset module: let Maven compile the generated test sources instead
of using the javac task in antrun. This solves AXIS2-4652 and is necessary to
import the project into Eclipse with maven-eclipse-plugin.
Modified:
axis/axis2/java/core/trunk/modules/fastinfoset/pom.xml
Modified: axis/axis2/java/core/trunk/modules/fastinfoset/pom.xml
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/fastinfoset/pom.xml?rev=922906&r1=922905&r2=922906&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/fastinfoset/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/fastinfoset/pom.xml Sun Mar 14 17:35:54
2010
@@ -202,12 +202,6 @@
<classpath
location="${compiled.classes.dir}"/>
<arg line="-uri
target/test-classes/SimpleAddService.wsdl -o target/wsdl/simpleAddService -S .
-or"/>
</java>
- <javac fork="true" destdir="target/classes"
debug="on">
- <classpath
refid="maven.runtime.classpath"/>
- <classpath
location="${compiled.classes.dir}"/>
- <src path="target/wsdl/simpleAddService"/>
- </javac>
-
</tasks>
</configuration>
<goals>
@@ -217,6 +211,24 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-test-source</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>add-test-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+
<source>${project.build.directory}/wsdl/simpleAddService</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>