maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From L. Compère (JIRA) <j...@codehaus.org>
Subject [jira] Commented: (MRELEASE-454) The Release-Plugin does not rewrite dependencies in the DependencyManagement with scope "import"
Date Tue, 07 Dec 2010 16:32:58 GMT

    [ http://jira.codehaus.org/browse/MRELEASE-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246749#action_246749
] 

L. Compère commented on MRELEASE-454:
-------------------------------------

Is there some kind of workaround for this issue?  

> The Release-Plugin does not rewrite dependencies in the DependencyManagement with scope
"import"
> ------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-454
>                 URL: http://jira.codehaus.org/browse/MRELEASE-454
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-9
>            Reporter: Jens Mühlenhoff
>
> Add the following node to the pom. Then prepare the release and this section will not
be rewriten, because the "imported" entry will not appear in 
> project.getDependencyManagement().getDependencies(). This methode returns all the resolved
dependencies. In this situation the transformDocument method from AbstractRewritePomsPhase
could not change the given dependencies, because it is not visible to the method.
> <dependencyManagement>
> 		<dependencies>
> 			<dependency>
> 				<groupId>dist</groupId>
> 				<artifactId>deps</artifactId>
> 				<type>pom</type>
> 				<version>4.0.4-SNAPSHOT</version>
> 				<scope>import</scope>
> 			</dependency>
> 		</dependencies>
> </dependencyManagement>

-- 
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

       

Mime
View raw message