Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 64865 invoked from network); 6 Oct 2010 14:24:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 14:24:42 -0000 Received: (qmail 43912 invoked by uid 500); 6 Oct 2010 14:24:40 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 43750 invoked by uid 500); 6 Oct 2010 14:24:39 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 43742 invoked by uid 99); 6 Oct 2010 14:24:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 14:24:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jo.support@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 14:24:33 +0000 Received: by wyf19 with SMTP id 19so7865446wyf.30 for ; Wed, 06 Oct 2010 07:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=9kTXuelkAna2rBqwXWiV0KW30ZrKPxeaR2CYKMC4umE=; b=oVN/APjd32e5WnT9A8Lb0MENRBmMidLU9V8Y3SFlwLH+lu6emKf4sdMN0IZYaMLVr0 5bjHP+lTFwW/h+Hg0FTTXwBIRVxnq/oq6cil3AecyB6mO9uSAmz/jx3pUi3i2kXFO1LW n960x9r3nhX5Rfw0S5fcMLyhzSb8jQFEpgZvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cYpE98RxrhVSoq0oWAdX3BAhxQF9O1QogZt+JieR7/OlCZpM55bXxrK5k3ss5cqwzv aWkI7yo3zF7BYYNA+OR3hmTaZD9a7a/7s8MBnrLpSVk9VuT8lW6mTNfnoQBF/Bw6HeX9 fkeQVUaKYZ4ZYhsAwC2nkIZIR7uGshZ1zi8h8= MIME-Version: 1.0 Received: by 10.216.145.199 with SMTP id p49mr948111wej.18.1286375051936; Wed, 06 Oct 2010 07:24:11 -0700 (PDT) Received: by 10.216.58.195 with HTTP; Wed, 6 Oct 2010 07:24:11 -0700 (PDT) Date: Wed, 6 Oct 2010 16:24:11 +0200 Message-ID: Subject: versions plugin - "set" goal question From: Jo Support To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 I'm a bit puzzled by versions plugin. According to versions:set goal's documentation, reading the description it "sets the current project version, updating the details of any child modules as necessary", and it does. But in optional parameters, we can see the "artifactId" parameter, that specify "the artifact id of the dependency/module to update". What I understand is that it looks inside dependencies of the project for that artifact id, setting the version for that dependency. By example, having this pom ... ... org.myFramework myLibrary 1.0 ... ... and executing mvn versions:set -DnewVersion=2.0 -DgroupId=org.myFramework -DartifactId=myLibrary I expect to see a new pom content, like the following one ... ... org.myFramework myLibrary 2.0 ... ... but it does not. It just says nothing, just terminates with a "BUILD SUCCCESFULL" message and nothing more. Any clue? Am I doing something wrong? There is another way to do what I'm trying to do? Thanks a lot Jo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org