Hi,

after taking a deeper look into the reason for the failed build i have realized that based on the usage of the maven-plugin-testing-harness
a problem exists which i have drilled down to the following...point...

In maven-archiver the following code snippet: (MavenArchiver class line 532):

File pomPropertiesFile = archiveConfiguration.getPomPropertiesFile();
            if ( pomPropertiesFile == null )
            {
File dir = new File( workingProject.getBuild().getDirectory(), "maven-archiver" );
                pomPropertiesFile = new File( dir, "pom.properties" );
            }
new PomPropertiesUtil().createPomProperties( workingProject, archiver, pomPropertiesFile, forced );

is used to create the default parts in an archive with pom.xml and pom.properties but the integration tests just miss to define the getBuild().getDirectory() part of the mojo under tests which results in creationg of the "maven-archiver" folder in the root of maven-rar-plugin (every time you run the test part)...

which is part of svn:ignore which does not make sense and which is currently failing the build based on the apache-rat-plugin check....

So the question is: Does exist a simple solution to set the part getBuild().getDirectory() in testing harness ...May be i oversight something here...

Can someone give me a little hint ?

Many thanks in advance.

Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to