Thanks for the hint. However, this should not justify the problem. No matter, whether I set this to true or false, the classpath in a manifest should be set accordingly.
Reinhard -----Original Message----- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Freitag, 23. März 2007 09:42 To: Maven Users List Subject: RE: Snapshots being packaged with datestamps instead of "SNAPSHOT". Hi Tim, Tim Cederman wrote on Wednesday, March 21, 2007 8:45 PM: > Hi, > > I'm having a pretty weird problem with Maven at the moment. > When I run > mvn package on a project, it collects all the correct and most recent > jar files for me in the lib directory, however in the zip file instead > of naming them <project>-3.0-SNAPSHOT.jar (for example) it will name > them <project>-20070318.080720-37.jar. > > Meanwhile in the project's own jar file, the manifest will point to > ./lib/<project>-3.0-SNAPSHOT.jar. This means the packaged project > does not run. > > It doesn't do this for every single dependency snapshot, and I can't > seem to work out a pattern as to which get named correctly and which > don't. > > I have two repositories in my pom file: > > <repositories> > <repository> > <id>common-repository</id> > <name> Common Repository</name> > <url>http://repository/common-repository</url> > </repository> > <repository> > <id>snapshot-repository</id> > <name>Trovix Snapshot Repository</name> > <url>http://repository/snapshots</url> > <snapshots> > <enabled>true</enabled> > <updatePolicy>always</updatePolicy> > </snapshots> > </repository> > </repositories> [snip] Have a look at the "uniqueVersion" entry, it's true by default: http://maven.apache.org/pom.html#Repository - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]