Hello, I would argue this is a feature not a bug. (And this is also the version name which IS stored in the repo).
Anyway, the WAR plugin uses the archiver shared component and that allows to specify a custom classpath pattern, which should work to remove the version component: http://maven.apache.org/shared/maven-archiver/examples/classpath.html#aContents If you want to only keep the -SNAPSHOT, then you can use useUniqueVersions=false Gruss Bernd Am Fri, 3 Oct 2014 07:46:35 -0700 (PDT) schrieb captainslow <[email protected]>: > I have this project setup which uses Webstart and I need to bundle > the WAR with SNAPSHOT JARs. When the JARs are bundled into the WAR, > they are appended with a timestamp instead of the actual name. > > Expected - ABC-1.0-SNAPSHOT.jar > Actual - ABC-1.0-20141002.211448-2.jar > > The JAR in the remote repository (Artifactory) and local M2 repo is > showing up as ABC-1.0-SNAPSHOT.jar. > > Env: > > OS: Unix > Maven: 3.2.1 > JDK: 1.7 > > Any thoughts on what needs to be done to get it to bundle with just > the name? > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/WAR-contains-SNAPSHOT-JARs-with-timestamps-tp5807695.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > 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]
