Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 26109 invoked from network); 27 Feb 2008 10:32:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2008 10:32:00 -0000 Received: (qmail 65036 invoked by uid 500); 27 Feb 2008 10:31:54 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 64992 invoked by uid 500); 27 Feb 2008 10:31:54 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 64981 invoked by uid 99); 27 Feb 2008 10:31:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 02:31:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 10:31:20 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 6265314A803B for ; Wed, 27 Feb 2008 04:31:29 -0600 (CST) Message-ID: <1582495.1204108289400.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 27 Feb 2008 04:31:29 -0600 (CST) From: "Alessandro Zucchi (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MRELEASE-323) Release plugin (prepare goal) doesn't update more than one snapshot dependencies In-Reply-To: <31132232.1202387668883.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MRELEASE-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125271 ] Alessandro Zucchi commented on MRELEASE-323: -------------------------------------------- Hi all, I found the time to upload a simple example that reproduce the problem. Step to follow: 1- install project in your repository (updating your SSC url (svn/ cvs ..) 2- run: mvn -DpreparationGoals=clean,install -DautoVersionSubmodules=true release:clean release:prepare on framework project 3- run: mvn -DpreparationGoals=clean,install -DautoVersionSubmodules=true release:clean release:prepare on au project end resolve all the SNAPSHOT dependencies prompted (framework business && framework sistema) 4- Look at the au root pom.xml. You will see something of similar test.zucchetti.qweb.framework sistema 03.00.05-SNAPSHOT test.zucchetti.qweb.framework business 03.00.04-SNAPSHOT Only one SNAPSHOT dependency has been correctly updated. For me this is a bug the I tryed to resolve with this patch previously attached Any help is appreciated Alex > 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 > 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: > ... > > > > com.zucchetti.qweb.au > au-business > ${project.version} > > > > > com.zucchetti.qweb.framework > sistema > 03.00.02-SNAPSHOT > > > com.zucchetti.qweb.framework > business > 03.00.02-SNAPSHOT > > > > ... > Dependencies in au-business are: > ... > > > com.zucchetti.qweb.framework > business > > > ... > Dependencies in au-sistema are: > ... > > > com.zucchetti.qweb.au > au-business > > > com.zucchetti.qweb.framework > sistema > > > ... > 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