hi-
while working on mevenide, i experiment a strange behaviour : i unmarshall the pom with xpp3, then set the context through a call to project.setContext(..), then build the artifact list with ArtifactListBuilder :
project.setContext(MavenUtils.createContext(project.getFile().getParentFile())); ..... List artifacts = ArtifactListBuilder.build(project);
if i have a dependency like the following defined in my pom, all works well and artifact.path is correctly resolved :
<dependency>
<groupId>internal</groupId>
<artifactId>myproject</artifactId>
<version>${pom.currentVersion}</version>
</dependency>however if i use jar override (maven.jar.myproject=lib/myproject-${pom.currentVersion}.jar), a call to myArtifact.getPath() returns this :
[prepend is correctly set]/lib/myproject-.jar (i.e. pom.currentVersion is not resolved)
i cannot see where the problem could be.
Also on a different note, running maven on the command line, if an overriden jar is not found (and no version defined in pom), maven prints out : "missing dependency: myproject-.jar" where one would expect the overriden value to be printed, not ?
thanks for any help,
-- gd
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
