Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1CAC10B0E for ; Thu, 6 Jun 2013 12:10:14 +0000 (UTC) Received: (qmail 16394 invoked by uid 500); 6 Jun 2013 12:10:12 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 16219 invoked by uid 500); 6 Jun 2013 12:10:11 -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 16211 invoked by uid 99); 6 Jun 2013 12:10:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 12:10:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of markos.fragkakis@gmail.com designates 209.85.217.179 as permitted sender) Received: from [209.85.217.179] (HELO mail-lb0-f179.google.com) (209.85.217.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 12:10:03 +0000 Received: by mail-lb0-f179.google.com with SMTP id w20so3002354lbh.38 for ; Thu, 06 Jun 2013 05:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=m/V7XCVur9q32C/+ZFYz1FWlQFXEZanKkakCO9+ShQE=; b=H/IALbdck7L3WFcN0nbQbM/yh56niT7MYbyXEaRiMbNtYYDC9avfkwV2ycZN5C+3Dz 7XzCxD+tNPFB+qCkCbwXKG2sfn7ZnfSolWgBaPWwcU4NvwBUTtbRlRUs3LAiIoGP/mqD fdtNoHQUoF959oCgfofphRVT027YhERKka6l9vyoyzll5q8wwbNVDNwFKEK4nOL0wwPG WQ9HuUE93CdIJiLtt4ZdH3Zxhg41QB7Y/eQS0Np26Gt2pKXPTDaTKk5xD8pEJsQ4cEPw EQfw1DIFF0uzVnwq1T143kRCw9WJFQ3f3HBsAmPBTIttl9/YMiiFwWKVD1b43PSfWVID rf9Q== MIME-Version: 1.0 X-Received: by 10.152.29.169 with SMTP id l9mr17633994lah.31.1370520582535; Thu, 06 Jun 2013 05:09:42 -0700 (PDT) Received: by 10.112.205.35 with HTTP; Thu, 6 Jun 2013 05:09:42 -0700 (PDT) Date: Thu, 6 Jun 2013 15:09:42 +0300 Message-ID: Subject: Maven release plugin From: Markos Fragkakis To: users@maven.apache.org Content-Type: multipart/alternative; boundary=089e0158bfde7abe9604de7b3082 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158bfde7abe9604de7b3082 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am using the Maven release plugin and I am trying to make a release. When I am on master (I am using Git) I have SNAPSHOT versions for both my project (multimodule) and also for my dependencies (also multimodule). Suppose I want to make a tag from master (skipping the creation of a branch) where no SNAPSHOTs are used. This is my simplified pom.xml: 4.0.0 results 1.2-SNAPSHOT pom Results parent module results-web results-persistence results-domain results-logic results-logic-api results-ear results-configuration results-rules-ejb results-rules results-rest 1.2.3-SNAPSHOT 3.4.5-SNAPSHOT org.apache.maven.plugins maven-release-plugin 2.4.1 @{project.version} true true false org.my.project dependency1-domain ${dependency1.version} org.my.project dependency1-enumerations ${dependency1.version} org.my.project dependency1-logic ${dependency1.version} ejb org.my.project dependency2-domain ${dependency2.version} org.my.project dependency2-enumerations ${dependency2.version} org.my.project dependency2-logic ${dependency2.version} ejb If I do: mvn release:prepare -Darguments="-dependency1.version=1.2.3.0 -Ddependency2.version=3.4.5.0" That creates a branch that still has SNAPSHOT dependencies: 1.2.3-SNAPSHOT 3.4.5-SNAPSHOT How would I generate a tag where the part above would be: 1.2.3.0 3.4.5.0 Thank you, Markos -- Sent from my iPhone --089e0158bfde7abe9604de7b3082--