-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Morris
Sent: Wednesday, December 29, 2004 5:52 PM
To: [email protected]
Subject: RE: [Andromda-user] Maven too smart - how do I make it stop?

>> How do I tell Maven to just use 3.0M3?  Is there a way to 
>> switch back and forth between versions (e.g. 3.0RC1-SNAPSHOT) 
>> easily or will it keep downloading the new version to 
>> overwrite the old on every switch?

> [CB] Yes you can just change the version in the 
> mda/project.xml of the project you're working on.

The main ./samples/project.xml has

        <currentVersion>3.0M3</currentVersion>

and all the subprojects use

            <version>${pom.currentVersion}</version>

so that wasn't it.  After trying a bunch of different options, what finally
fixed it was:

  maven plugin:download -DgroupId=andromda
-DartifactId=maven-andromda-plugin -Dversion=3.0M3

[CB] It's because of the fact you had an old plugin in your
$MAVEN_HOME/plugins directory, the command above deletes any old plugins and
downloads and installs the one you have specified (in this case 3.0M3).  You
could have just as easily removed the plugin manually from your
$MAVEN_HOME/plugins directory and that would have fixed it.

This command no longer appears on the Getting Started page, but I vaguely
remembered that the last time I did this that there were two commands - one
with an artifactId of maven-andromdapp-plugin and the other with just
maven-andromda-plugin.

Learning Maven isn't on today's goal sheet, so I don't really care to figure
out why this worked, but hopefully it'll help someone else...

Speaking of the Getting Started page, now that 3.0M3 is out, the versions
described there can probably be updated to reflect the latest and greatest.

Tom




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to