[
https://issues.apache.org/jira/browse/MRELEASE-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MRELEASE-763.
-----------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> release:prepare ignores invalid dependencies in inactive profiles
> -----------------------------------------------------------------
>
> Key: MRELEASE-763
> URL: https://issues.apache.org/jira/browse/MRELEASE-763
> Project: Maven 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 was sent by Atlassian JIRA
(v6.3.4#6332)