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.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1648711 13f79535-47bb-0310-9956-ffa450edef68
master
Robert Scholte 2014-12-31 14:49:33 +00:00
parent 0f464acc12
commit 35ca9b5a80
2 changed files with 1 additions and 10 deletions

View File

@ -90,15 +90,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>

View File

@ -85,7 +85,7 @@ public class JavaMojoDescriptorExtractorTest
@Override
public String getOutputDirectory()
{
return System.getProperty( "filePath" );
return new File( "target" ).getAbsolutePath();
}
} );