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-ffa450edef68master
parent
0f464acc12
commit
35ca9b5a80
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ public class JavaMojoDescriptorExtractorTest
|
|||
@Override
|
||||
public String getOutputDirectory()
|
||||
{
|
||||
return System.getProperty( "filePath" );
|
||||
return new File( "target" ).getAbsolutePath();
|
||||
}
|
||||
} );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue