Author: veithen Date: Sun Mar 14 12:33:22 2010 New Revision: 922828 URL: http://svn.apache.org/viewvc?rev=922828&view=rev Log: Using resources:testResources to copy files to a location outside of target/test-classes is a bad practice. Use antrun to copy files instead. With this change, eclipse:eclipse will generate an Eclipse project that can be build correctly.
Modified: axis/axis2/java/core/trunk/modules/kernel/pom.xml Modified: axis/axis2/java/core/trunk/modules/kernel/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/pom.xml?rev=922828&r1=922827&r2=922828&view=diff ============================================================================== --- axis/axis2/java/core/trunk/modules/kernel/pom.xml (original) +++ axis/axis2/java/core/trunk/modules/kernel/pom.xml Sun Mar 14 12:33:22 2010 @@ -117,13 +117,6 @@ </resources> <testResources> <testResource> - <targetPath>../test-resources</targetPath> - <directory>test-resources</directory> - <includes> - <include>**/**</include> - </includes> - </testResource> - <testResource> <directory>test-resources/deployment/ClasspathModule</directory> <includes> <include>**/**</include> @@ -198,6 +191,9 @@ <phase>process-test-resources</phase> <configuration> <tasks unless="maven.test.skip"> + <copy todir="${project.build.directory}/test-resources"> + <fileset dir="${basedir}/test-resources"/> + </copy> <ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="test-resources/deployment/service2"/> <ant antfile="build.xml" inheritall="true" inheritrefs="true"