Index: ArtifactListBuilder.java =================================================================== RCS file: /home/cvspublic/maven/src/java/org/apache/maven/ArtifactListBuilder.java,v retrieving revision 1.14.4.2 diff -u -r1.14.4.2 ArtifactListBuilder.java --- ArtifactListBuilder.java 1 Mar 2004 22:36:35 -0000 1.14.4.2 +++ ArtifactListBuilder.java 14 May 2004 09:18:11 -0000 @@ -58,7 +58,13 @@ String mavenJarProperty = project.getContext().getMavenJarOverride( Project.standardToLegacyId( d.getId() ) ); Artifact artifact = DefaultArtifactFactory.createArtifact( d ); - if ( mavenJarOverride && StringUtils.isNotEmpty(mavenJarProperty) ) + if ( new File(project.getFile().getParent() + d.getProperty("project.path")).exists() ) { + artifact.setPath( project.getFile().getParent() + d.getProperty("project.path") ); + } + else if ( new File(d.getProperty("local.path")).exists() ) { + artifact.setPath( d.getProperty("local.path") ); + } + else if ( mavenJarOverride && StringUtils.isNotEmpty(mavenJarProperty) ) { // The jar override option has been set and we have a property // for the this dependency so override the path with the user