Details
Description
line 77 in ArtifactListBuilder is :
artifact.setPath( new File( mavenJarProperty ).getAbsolutePath() );
this assumes project.xml is located in user.dir. thus if running from elsewhere, we have to explicitely change, then restore, user.dir property.
i think this should be corrected by something like :
artifact.setPath( new File( project.getFile().getParentFile(), mavenJarProperty ).getAbsolutePath() );
– gd
not sure this covers all cases - what if the property was defined in a parent directory? Will need to set up some tests, probably want to resolve these values in the context like for MAVEN_REPO_LOCAL etc