Does anyone know how to use release plugin together with multiper project/modules? I have the following 5 projects: * common (packaging=jar, parent project=main) * core (packaging=jar, parent roject=main) * framework (packaging=, parent parent project=main) * web (packaging=war, parent project=main) * main (packaging=pom, modules=common,core,framework,web)
When I do a normal build on this project i run "mvn clean install" from the "main" -project, and all other projects are built as well. Assuming the same approach would work for release plugin I ran the following command from the project "main": mvn release:prepare ..which ran smoothly. Then I ran..: mvn release:perform ..which gave the following error: ---- [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: unknown Reason: Could not find the model file '/home/gg/projects/main/target/checkout/main/../common/pom.xml'. for project unknown ----- I had a look in the target/checkout folder created by release:prepare and noticed that it did only contain the "main" -project, not any of the modules refferd to by the main-project's pom.xml. I also checked the other projects' target folder, and there was no checkout folder there. Why are all the modules left out? Does anyone know how to get around this? thanks, Geir -- View this message in context: http://www.nabble.com/maven-release-plugin-with-multi-project-tp14533200s177p14533200.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
