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 5E3CCF953 for ; Wed, 8 May 2013 13:20:04 +0000 (UTC) Received: (qmail 22591 invoked by uid 500); 8 May 2013 13:20:02 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 22165 invoked by uid 500); 8 May 2013 13:19:55 -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 22116 invoked by uid 99); 8 May 2013 13:19:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 13:19:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.k.sundberg@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qc0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 13:19:48 +0000 Received: by mail-qc0-f178.google.com with SMTP id l11so964885qcy.9 for ; Wed, 08 May 2013 06:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=uScWslP/wDVARlFfB9RaCJHIYThs34lsnlxXi3b+EO0=; b=TV4oUos9k5kqfP5YYJ5eOAAI8j5NIu87tRlJdLVLHZwIDAgBqurSuNzy3t2pw1Dnsp ZxM1sfiHeKIWozhJzv3m5lesSWZYL8SY+UAFVZ/kc43YgZdAg4TEuY6+h0LqKpmU+QLU FP4lwOp4EDUTwyOvpzbTRPU8yFDO6c0bCi8TQifa1/hTJ4VQOLQefNjDGTXH5Vdh0uXY V3EaaHfSXukcxNiypVwd+NObX31CHuY/Mg1Ds+CfdODTtDWASMWXtHzShuRo97f1/nc4 IwWxG7LFhmw7pQ2QNB22agjZLli8DBZ9s+CdlE2vcochoCUDF/Ywzb0eQWZDF33ijfu+ LoIg== X-Received: by 10.229.127.92 with SMTP id f28mr1990610qcs.69.1368019167225; Wed, 08 May 2013 06:19:27 -0700 (PDT) MIME-Version: 1.0 Sender: thomas.k.sundberg@gmail.com Received: by 10.49.82.107 with HTTP; Wed, 8 May 2013 06:19:07 -0700 (PDT) From: Thomas Sundberg Date: Wed, 8 May 2013 15:19:07 +0200 X-Google-Sender-Auth: B21rgDSTaMu7nrkqYK7nW-Jv1b4 Message-ID: Subject: org.codehaus.mojo:versions-maven-plugin:2.0:update-properties To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi! I am trying to use the plugin versions-maven-plugin to update some properties. I have properties that refers to version for a dependency. It works well for artifacts in Nexus that was deployed from Maven. Unfortunately, we have some artifacts that consist of zip files and has been generated from an Ant build. The referred artifacts are downloaded properly when I set the version manually and then build my project. However, if I use the org.codehaus.mojo:versions-maven-plugin:2.0:update-properties then it only detects changed properties for artifacts deployed from Maven projects. An example of a property I want to have updated may be 1.15.0.17 and the version number I want to have inserted could be 1.15.0.18 Our version number come in some kind of logical order, we have a strict increasing number system. My question is, does anybody know how an updated version is located by the version plugin? It seems to me that it doesn't just look at all versions for an artifact and then uses the largest number. Any hints? Thomas -- Thomas Sundberg M. Sc. in Computer Science Mobile: +46 70 767 33 15 Blog: http://thomassundberg.wordpress.com/ Twitter: @thomassundberg Better software through faster feedback --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org