[ https://jira.codehaus.org/browse/MRELEASE-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MRELEASE-763: ------------------------------------ Issue Type: Improvement (was: Bug) I see your point, but this means we have to do all the dependency-resolution of profiles inside the maven-release-plugin. And not just project-dependencies, but also plugin-dependencies, report-dependencies, extensions, etc. Sounds more like an improvement to me. > release:prepare ignores invalid dependencies in inactive profiles > ----------------------------------------------------------------- > > Key: MRELEASE-763 > URL: https://jira.codehaus.org/browse/MRELEASE-763 > Project: Maven 2.x Release Plugin > Issue Type: Improvement > Components: prepare > Affects Versions: 2.3 > Reporter: Mark Hobson > > {{release:prepare}} completes successfully on projects that contain invalid > dependencies in inactive profiles. > For example, a POM containing the following profile containing a non-existent > dependency will prepare without problems: > {code} > ... > <profiles> > <profile> > <id>silly</id> > <dependencies> > <dependency> > <groupId>silly</groupId> > <artifactId>silly</artifactId> > <version>1.0</version> > </dependency> > </dependencies> > </profile> > </profiles> > ... > {code} > Furthermore, if this dependency was changed to a SNAPSHOT version then it > would still succeed. I would expect {{prepare}} to fail in both cases. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira