[
https://jira.codehaus.org/browse/MRELEASE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte updated MRELEASE-378:
------------------------------------
Attachment: MRELEASE-378.patch
The maven-release-plugin verifies all *_used_* artifacts. For plugins it
requires a bit more work to get their dependencyArtifacts. And the code to do
this has changed between M2 and M3, so it requires some extra work.
Here's already a testcase.
> Check snapshots phase ignores plugin dependencies
> -------------------------------------------------
>
> Key: MRELEASE-378
> URL: https://jira.codehaus.org/browse/MRELEASE-378
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0-beta-7
> Reporter: Mark Hobson
> Attachments: MRELEASE-378.patch
>
>
> The check snapshots phase ignores snapshot plugin dependencies and the
> project can be released. For example:
> {noformat}<project>
> ...
> <build>
> <plugins>
> <plugin>
> <groupId>myPluginGroup</groupId>
> <artifactId>myPluginArtifact</artifactId>
> <dependencies>
> <dependency>
> <groupId>myGroup</groupId>
>
> <artifactId>myArtifact</artifactId>
> <version>1.0-SNAPSHOT</version>
> </dependency>
> </dependencies>
> </plugin>
> </plugins>
> </build>
> ...
> </project>{noformat}
--
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