mschonaker / wagon-git

Git Wagon for Apache Maven
http://synergian.github.io/wagon-git/
83 stars 31 forks source link

Make unique snapshots optional #16

Closed benburton closed 10 years ago

benburton commented 10 years ago

I'm working on a Java library that I'm using with Scala, and unfortunately sbt doesn't understand unique snapshots with timestamps. If there were some way to disable unique timestamp snapshots that would be awesome.

mschonaker commented 10 years ago

I'm afraid that's unrelated with this plugin. wagon-git obtains the filenames from the invoking component.

So far, one could disable that feature by configuring maven-deploy-plugin (uniqueVersion flag), but that's no longer supported in Maven 3 http://stackoverflow.com/questions/5206815/uniqueversion-tag-ignored-by-maven

If I remember correctly, using the version explicitly, with the timestamp, should work. For instance:

<version>2.0.2-20130503.055205-1</version>

I'm not familiar with sbt, anyway.