Hi all,
I'd like to start a discussion on implementing snapshot/integration build support on sbt community repo,
and potentially other Ivy repositories.
For security and caching reasons, Josh and I are interested in pursuing the unique version approach,
in which the snapshot versions are appended with unique string, like date and/or time.
Here's the idea I have for sbt-ivy-snapshot plugin.
- It defines uniqueVersion key.
- When uniqueVersion is true, it replaces -SNAPSHOT in version with current date and time in UTC e.g 0.8.2-SNAPSHOT => 0.8.2-20120525173400.
- It also changes deliverConfiguration's status to "snapshot" and adds a custom status called snapshot to ivyXML.
When the build user wants to use your snapshot, they would say addSbtPlugin("com.example" % "sbt-foo" % "latest.snapshot").
If they dont' care if it's a release or snapshot they can also say "latest.integration". See [1] for more info.
What do you think?
-eugene