On Thu, Dec 23, 2010 at 3:25 PM, Mark Struberg <strub...@yahoo.de> wrote: > Hi Benson! > > Please check the preparationGoals property in the release plugin [1] > > Maybe you Please try with something like -DpreparationGoals="clean install"
I used to have that incantation but eliminated it because I didn't know why. I guess now I do. Thanks. > > > LieGrue, > strub > > [1] > http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals > > > --- On Thu, 12/23/10, Benson Margulies <bimargul...@gmail.com> wrote: > >> From: Benson Margulies <bimargul...@gmail.com> >> Subject: release plugin versus dependency plugin >> To: "Maven Users List" <users@maven.apache.org> >> Date: Thursday, December 23, 2010, 6:17 PM >> Under a single aggregate project, I >> have two projects. >> >> Project 1 builds an extra artifact with a classifier. >> >> Project 2 uses dependency:unpack to unpack it for inclusion >> in a, yes, >> larger artifact. >> >> All's well until I try to run the release:prepare goal, at >> which >> point, the first artifact is missing when the second >> project asks for >> it. >> >> any ideas? Why is the :prepare run different? >> >> >> [INFO] Embedded error: Unable to download the artifact from >> any repository >> [INFO] >> [INFO] Try downloading the file manually from the project >> website. >> [INFO] >> [INFO] Then, install it using the command: >> [INFO] mvn install:install-file >> -DgroupId=com.basistech.jug >> -DartifactId=rlp-gate-plugin -Dversion=8 >> -Dclassifier=gate-plugin >> -Dpackaging=zip -Dfile=/path/to/file >> [INFO] >> [INFO] Alternatively, if you host your own repository you >> can deploy >> the file there: >> [INFO] mvn deploy:deploy-file >> -DgroupId=com.basistech.jug >> -DartifactId=rlp-gate-plugin -Dversion=8 >> -Dclassifier=gate-plugin >> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] >> -DrepositoryId=[id] >> [INFO] >> [INFO] >> [INFO] com.basistech.jug:rlp-gate-plugin:zip:8 >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org