Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5783B10D2E for ; Sun, 19 Apr 2015 22:31:34 +0000 (UTC) Received: (qmail 12589 invoked by uid 500); 19 Apr 2015 22:31:33 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 12476 invoked by uid 500); 19 Apr 2015 22:31:33 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 12465 invoked by uid 99); 19 Apr 2015 22:31:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Apr 2015 22:31:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for dev@maven.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Apr 2015 22:31:07 +0000 Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8927823155 for ; Sun, 19 Apr 2015 22:31:05 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so46288387igb.0 for ; Sun, 19 Apr 2015 15:31:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=bLUdF2+D5aECdkLXPs9LCstNrVSbychZq5Ld3fmt5d8=; b=c7CE7vSBjQ+canaQkpsJ2adUfqKfwjaCWiC+sUEdEBGKaQL2DhH17JFqnGGvlalkZh pZTtjqwHlmqvRgRFbgOFoYvaURAPOuCErfEd+GZjbal3KDXMF5R87AL6E3R7pVRCYK9o R7J9gUIOrXwNG6G7p50O+eRnafOAMdhAz8xpJGJnUltuGxGhAUXVbsZlpO3xDOXhJsnn elW5daCHK39toUwh35jHlnVxI76BhQ0OrdEeHgebn6qTGeLQmVj5VtdOTKWrQDcCqTnn qbCsGMjSmcdCQhF7xo+QpDYsdJs6d1II6atwOAja/41j9oARuemZr2E+qXfH5PGzSxQc 6PXg== X-Gm-Message-State: ALoCoQl2hWlUv56aN4CfJsPnbV2Bnuv1cFkwQ+4YIB/CmAaGm/w0t4sNWEDWkniPXCM/pakcHRoB X-Received: by 10.107.3.17 with SMTP id 17mr17539857iod.60.1429482664399; Sun, 19 Apr 2015 15:31:04 -0700 (PDT) Received: from [10.0.1.34] (192-0-154-177.cpe.teksavvy.com. [192.0.154.177]) by mx.google.com with ESMTPSA id n8sm10499840ioe.37.2015.04.19.15.31.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 Apr 2015 15:31:03 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Custom packaging types: configuring DefaultLifecycleMapping mojo executions From: Jason van Zyl In-Reply-To: Date: Sun, 19 Apr 2015 18:30:53 -0400 Content-Transfer-Encoding: 7bit Message-Id: <1E19E37B-52B6-4304-804C-A93320AD8C2F@takari.io> References: To: Maven Developers List X-Mailer: Apple Mail (2.1878.6) X-Virus-Checked: Checked by ClamAV on apache.org +1 This will be a nice feature addition. On Apr 19, 2015, at 6:22 PM, Anton Tanasenko wrote: > Hi, > There is no possibility right now to map goals to phases with a custom > configuration and/or dependencies when dealing with custom packagin types. > DefaultLifecycleMapping only has 'goals' parameter in components.xml, and > DefaultLifecyclePluginAnalyzer does not take those into account. > > I propose an enhancement, which adds support for setting configuration and > dependencies as part of custom packaging type mojo executions. > > A usecase is an ability to create a packaging type which mostly consists of > standard maven plugins but with a custom configuration. > Example: package phase made up of antrun and assembly which require certain > dependencies (ant-contrib, assembly descriptor bundle) and must also be > configured to be used. > > I have created a jira issue: https://issues.apache.org/jira/browse/MNG-5805 > > Note that this currently would not work out of the box because sisu-plexus > does not support Xpp3Dom typed bean properties, so I've created a separate > issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464959 > > -- > Regards, > Anton. Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Takari and Apache Maven http://twitter.com/jvanzyl http://twitter.com/takari_io --------------------------------------------------------- In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org