Using mvn 3.0.4, when a SNAPSHOT artifact is resolved from a remote repo
it seems that my local repository ends up with both a -SNAPSHOT artifact
and a timestamped version (the remote end has only timestamped versions).
I'm curious if I can rely on this behavior since I have other (non-maven)
code that interacts with my local maven repo. 

For example, from a dependency like so:

<dependency>
    <groupId>foo</groupId>
    <artifactId>bar</artifactId>
    <version>1.0.0-SNAPSHOT</version>
</dependency>

I end up with with two identical jars  in my local repo after resolving
it:

    bar-1.0.0-20120924.201711-2.jar
    bar-1.0.0-SNAPSHOT.jar

I think the code in
org.eclipse.aether.internal.impl.DefaultArtifactResolver::getFile()  is
responsible for making this additional copy






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to