You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2008/09/04 15:42:48 UTC

[jira] Created: (MRELEASE-378) Check snapshots phase ignores plugin dependencies

Check snapshots phase ignores plugin dependencies
-------------------------------------------------

                 Key: MRELEASE-378
                 URL: http://jira.codehaus.org/browse/MRELEASE-378
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-7
            Reporter: Mark Hobson


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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MRELEASE-378) Check snapshots phase ignores plugin dependencies

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (MRELEASE-378) Check snapshots phase ignores plugin dependencies

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MRELEASE-378:
-------------------------------------

    Component/s: prepare

> Check snapshots phase ignores plugin dependencies
> -------------------------------------------------
>
>                 Key: MRELEASE-378
>                 URL: http://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
>
> 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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira