You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/12/19 07:32:37 UTC
[jira] Updated: (MRELEASE-323) Release plugin (prepare goal)
doesn't update more than one snapshot dependencies
[ http://jira.codehaus.org/browse/MRELEASE-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arnaud Heritier updated MRELEASE-323:
-------------------------------------
Component/s: prepare
> Release plugin (prepare goal) doesn't update more than one snapshot dependencies
> --------------------------------------------------------------------------------
>
> Key: MRELEASE-323
> URL: http://jira.codehaus.org/browse/MRELEASE-323
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0-beta-7
> Environment: Any
> Reporter: Alessandro Zucchi
> Priority: Blocker
> Attachments: patch.txt, test.zip
>
>
> I have a project so structured:
> au -------- au-business
> |
> |---- au-sistema
> Dependencies in au are:
> ...
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>com.zucchetti.qweb.au</groupId>
> <artifactId>au-business</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <!-- external dependencies-->
> <dependency>
> <groupId>com.zucchetti.qweb.framework</groupId>
> <artifactId>sistema</artifactId>
> <version>03.00.02-SNAPSHOT</version>
> </dependency>
> <dependency>
> <groupId>com.zucchetti.qweb.framework</groupId>
> <artifactId>business</artifactId>
> <version>03.00.02-SNAPSHOT</version>
> </dependency>
> </dependencies>
> </dependencyManagement>
> ...
> Dependencies in au-business are:
> ...
> <dependencies>
> <dependency>
> <groupId>com.zucchetti.qweb.framework</groupId>
> <artifactId>business</artifactId>
> </dependency>
> </dependencies>
> ...
> Dependencies in au-sistema are:
> ...
> <dependencies>
> <dependency>
> <groupId>com.zucchetti.qweb.au</groupId>
> <artifactId>au-business</artifactId>
> </dependency>
> <dependency>
> <groupId>com.zucchetti.qweb.framework</groupId>
> <artifactId>sistema</artifactId>
> </dependency>
> </dependencies>
> ...
> When I make a mvn release:clean release:prepare of au project the plugin, correctly, ask me to resolve SNAPSHOTs dependencies. (framework-business && framework-sistema)
> Unfortunatly at the end of the process only framework-sistema dependency (in au project) has been modified, while framework-business no.
> I've debuged the problem and I found that if I force the two dependencies (framework-sistema, framework-business) in the parent pom (pom of "au") all run fine (also if the process to resolve SNAPSHOT dependencies get prompted tree times ... too much I say ...).But I can't do this change in production.
> So, I tryed to resolve the problem.
> I've attached a patch.
> Best regards
> Alex
--
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