Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E2775200B48 for ; Mon, 4 Jul 2016 07:12:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E11E8160A71; Mon, 4 Jul 2016 05:12:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 356B4160A6B for ; Mon, 4 Jul 2016 07:12:25 +0200 (CEST) Received: (qmail 45342 invoked by uid 500); 4 Jul 2016 05:12:23 -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 45326 invoked by uid 99); 4 Jul 2016 05:12:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2016 05:12:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id ABB61C0113 for ; Mon, 4 Jul 2016 05:12:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.702 X-Spam-Level: X-Spam-Status: No, score=-0.702 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id avGmOrMiP2tx for ; Mon, 4 Jul 2016 05:12:21 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 83D055FAEB for ; Mon, 4 Jul 2016 05:12:20 +0000 (UTC) Received: from Karl-Heinzs-MacBook-Pro.local ([217.247.34.237]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Me8ws-1axJmy0fyo-00PxkY for ; Mon, 04 Jul 2016 07:12:14 +0200 Reply-To: info@soebes.de Subject: Re: How does maven choose which plugin version to use? References: To: Maven Users List From: Karl Heinz Marbaise Message-ID: <846059aa-931c-0e0a-d57b-94533d50e68a@gmx.de> Date: Mon, 4 Jul 2016 07:12:14 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:iGd+WHjSNgXddSa/eGd1DNhDkYOpjeJOr4jGfA6XbUZZA7uj4PI gJXB4NURByAfwQxQOjZ3JF1wFcOgWXrLz8PAgXUwtCLb3r0HHTZWxk2K0s1t3Or2BTozOEg BPvcjBsK3GTMF9O0cozUiMcy30cVmEljVCztuvgDjIl/CHkT4eyN2lnKBd6+sVWXo5L3vJV M1lZP70O0qXWvdhh1qntQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:9J/llkfuIRk=:ltd4PVeDShQ5JHum/A3K2l nOInrSW8AOAPsqzq3peUBQ/ISLITUDRK3TfC5mcyOllIJURziA9m+YXpnwHxa76C0WdnzxrDy 7LE9cXVh7waywiFd7SQnZQapWIHvDpbg8fm4CoMK9O5z18ZhTPCOmWoolkpomiWsbeAnXZoaR BLpOBxjDj3tFcJi9wXU8lNlpeHqw9ByKjRx6kspDx6b3j/dkVv9aEVVTWJRJzsMAYci4USkEA IWJDxK8uFA8bQx9miWfKIxnlE13/bhFJ+NwTVvfIg2LlLAumkBq9gEgDu4ZcgKqkR1AOPUgQ4 pLe/0HICpW/Uag4DcY13NI8b9+HNORVatAPG3na8jTAF2GNhzORjlkE1JExGyF4upJ0hzE66O jPk519u5Xm7spGYDiSsgXD/6dM1rdCXG+OgN0G3qEDInOcO6+WWBo0I6KuzOKjsaYJYRig8LH Y0r4LzWX4a0Vhv2Y8PaKX1wNwButxEb69cDSBZwuu+0eZzBHlYUz2MxK7YFQmJCbKihYpG29Z VvvDDDZYZhMkZDm2EjDZ99mfZ0zsbC6bviM62baMwGpacK3SnHQ7aZ9we+F8Ie+sdmJSmWAWc b0j1rsHYC00FpD7+E/FXx+GSq6hMUfS+Hd7vlwqYuwZwzCrLPMEWCkQqKEE3t6OMOZu0UggJz 1Ox32sFi7D7LYApZnzoMy2tc8A+ZszGTLaMwjJm46dKEGThdhsS1YgfC8nqvooKvwMmxmfyXQ 5b0jZuRyEli2riwb3vit+NYVhkRP03OOlDTJB1I1zI743xb1J0OJ/kuHZ3AbZFUUmyNXCD2VL rIazuIv archived-at: Mon, 04 Jul 2016 05:12:26 -0000 Hi, yes in general your assumptions are right but you should always define the plugin versions yourself which means to define them via pluingManagement. ... org.apache.maven.plugins maven-war-plugin 2.6 ... ... and best practice is to define all plugins here. Usually you should create a corporate pom which you can inherit from in every project something like this: https://github.com/khmarbaise/smpp Kind regards Karl Heinz Marbaise On 7/3/16 11:45 PM, Alex Ditu wrote: > Hello, > > Can anyone provide some help regarding plugin versions? I want to use > the latest version of maven-war-plugin (or at least one greater than > 2.3); so i decided to install the latest version of maven, 3.3.9. > But when I execute "mvn help:effective-pom" I see it still uses 2.3 > version of maven-war-plugin. > My first question is: where does maven read wich plugin version to > use, if I don't specify one? > I tought it was in the super-pom, but I didn't find anything > there...Can anyone help me understand what is happening? > > Alex > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org