Author: dkuleshov
Date: 2011-05-26 04:40:48 -0400 (Thu, 26 May 2011)
New Revision: 4430
Modified:
ws/trunk/exo.ws.rest.core/pom.xml
Log:
EXOJCR-944: changed copy with ant plugin for add source with build helper plugin
Modified: ws/trunk/exo.ws.rest.core/pom.xml
===================================================================
--- ws/trunk/exo.ws.rest.core/pom.xml 2011-05-26 07:00:26 UTC (rev 4429)
+++ ws/trunk/exo.ws.rest.core/pom.xml 2011-05-26 08:40:48 UTC (rev 4430)
@@ -113,6 +113,25 @@
<build>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.5</version>
+ <executions>
+ <execution>
+ <id>add-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>add-test-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>target/generated-test-sources</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
@@ -168,23 +187,6 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <id>0</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>generate-test-sources</phase>
- <configuration>
- <tasks>
- <echo>copy files gnerated by JAXB to test source
directory</echo>
- <copy todir="src/test/java">
- <fileset dir="target/generated-test-sources">
- <include name="org/**" />
- </fileset>
- </copy>
- </tasks>
- </configuration>
- </execution>
- <execution>
<id>prepare-test-policy</id>
<phase>process-test-resources</phase>
<configuration>
Show replies by date