To answer my own question, maven-artifact-plugin-1.5.1 or higher is required
to do what's listed below.  And in the release notes for this version of the
plugin, it states that it is to be used with Maven 1.1 only not 1.0.
So, I guess I'll have to upgrade to 1.1-Beta to get this.
Also good to note that the maven 1.x documentation seems to be accurate for
the 1.1 beta not the 1.0.2 release.


On 6/1/06, Eric White <[EMAIL PROTECTED]> wrote:

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


Reply via email to