[mojo-dev] maven forgets to set-up the parameters of the base classes (if they come from another artifact)

2013-07-22 Thread David Portabella
Hi, I am writing a new plugin based on org.codehaus.mojo.versions.UseLatestVersionsMojo, but I get an error when executing it. I create a new project as follows: mvn archetype:generate -DgroupId=sample.plugin -DartifactId=versions2-maven-plugin -DarchetypeGroupId=org.apache.maven.archetypes -Darc

[mojo-dev] maven update dependency to target version

2013-07-21 Thread David Portabella
Hi, I have several maven projects, and I need to execute a script that updates the version of a dependency. this works: mvn versions:use-latest-versions -Dincludes=my_group:my_artifact this updates to the lastest version of the dependency. see http://mojo.codehaus.org/versions-maven-plugin/ ho