You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2014/12/31 15:49:33 UTC

svn commit: r1648711 - in /maven/plugin-tools/trunk/maven-plugin-tools-java: pom.xml src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java

Author: rfscholte
Date: Wed Dec 31 14:49:33 2014
New Revision: 1648711

URL: http://svn.apache.org/r1648711
Log:
Avoid setting systemVariables in pom, otherwise running tests from IDE generates a META-INF -folder in the module-root. This pollutes the project structure and will cause a rat-exception.

Modified:
    maven/plugin-tools/trunk/maven-plugin-tools-java/pom.xml
    maven/plugin-tools/trunk/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java

Modified: maven/plugin-tools/trunk/maven-plugin-tools-java/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-java/pom.xml?rev=1648711&r1=1648710&r2=1648711&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-java/pom.xml (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-java/pom.xml Wed Dec 31 14:49:33 2014
@@ -91,15 +91,6 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <filePath>${project.build.directory}</filePath>
-          </systemPropertyVariables>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-component-metadata</artifactId>
       </plugin>

Modified: maven/plugin-tools/trunk/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java?rev=1648711&r1=1648710&r2=1648711&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractorTest.java Wed Dec 31 14:49:33 2014
@@ -85,7 +85,7 @@ public class JavaMojoDescriptorExtractor
             @Override
             public String getOutputDirectory()
             {
-                return System.getProperty( "filePath" );
+                return new File( "target" ).getAbsolutePath();
             }
         } );