You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tom Huybrechts <to...@gmail.com> on 2006/05/12 10:22:07 UTC

snapshot dependency gets downloaded as fixed version

Hi,

I have a big multi-module project. All modules are at version
1.0.0-SNAPSHOT. All dependencies between these modules use this
1.0.0-SNAPSHOT version (using a dependencyManagement section in the
top level project).

Now I have some weird behaviour: when I do a complete 'mvn install':
- Sometimes artifacts that were build and installed early in the build
cycle get downloaded again from the remote repository when they are
used as a dependency elsewhere.

- For some dependencies, a fixed version directory like
1.0.0-20060510.182402-214 is created in the local repository
containing only a pom (+ checksum).

My project is too big to post all the poms here, but does anybody have
an idea what I could be doing wrong ?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: snapshot dependency gets downloaded as fixed version

Posted by Jim Christenson <ji...@wolterskluwer.com>.
I have a similar setup where the modules are versioned in the parent pom.  I
am seeing the same problem using 2.0.4.

>From what I can tell the remote repository isn't being asked for the
meta-data file at all, just the fixed version of the snapshot jar/pom.  In
my case it is asking for an old version that can't be downloaded and thus my
build fails.  I have looked at the local repository and can't find anything
that would indicate a specific snapshot build.

Any ideas on this one would be very much appreciated.
-Jim
--
View this message in context: http://www.nabble.com/snapshot-dependency-gets-downloaded-as-fixed-version-t1606093.html#a4976069
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org