> It fails when doing release:prepare for real - because the SomeModuleWAR is > not available in local repo because the default prepare goals are: > clean verify : > http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals > > now - why does this fail? does the dependency plugin check for the artifact > before it'sr eally executed? because clean verify should not trigger > generate-sources - where the dep. is needed: > http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html
I believe this is a known problem. See http://jira.codehaus.org/browse/MRELEASE-264 The release plugin should be resolving dependencies if they are part of the reactor build so that you dont have to install the plugin. The workaround is as per the JIRA comment. -DpreparationGoals=clean install (or in the plugin configuration in the pom) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org