I'm trying to get snapshots working with maven 1.0.2.
They only seem to work if my pom has
<currentVersion>SNAPSHOT</currentVersion>
and my dependent project has the appropriate dependency with
<version>SNAPSHOT</version>.
They don't work if currentVersion is 1.0-SNAPSHOT and version is
1.0-SNAPSHOT.
Also the jar plugin only deploys a snapshot if I use jar:deploy-snapshot.
So this from the maven site...
jar:deploy-snapshot Deploy a snapshot jar to the remote
repository. *DEPRECATED*: use jar:deploy with -SNAPSHOT in the project
version for equivalent behaviour.
...seems to be false for maven 1.0.2
I would like to be able to use the version=1.0-SNAPSHOT format if possible.
Is this available in Maven 1.1? Or am I doing something wrong?
Thanks,
Eric