Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 3459 invoked from network); 2 Feb 2010 11:54:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 11:54:35 -0000 Received: (qmail 8040 invoked by uid 500); 2 Feb 2010 11:54:33 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 7920 invoked by uid 500); 2 Feb 2010 11:54:33 -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 7909 invoked by uid 99); 2 Feb 2010 11:54:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 11:54:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anders.g.hammar@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 11:54:24 +0000 Received: by ewy25 with SMTP id 25so780313ewy.23 for ; Tue, 02 Feb 2010 03:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=GJjlgXxD+B/4MdFp1B5tr4wu8CvZJtO1sTks243HPjE=; b=RHWJb70rquI6hJaAqJhepyC3XeRoyUDfuOEAhmniCxVfEu/c91StGpz3zkd8uNKl8Z 0Dp2MSwkbCxx4ENGElK1MO+MQiQTS+DVVbP0oYb9Us6dhcPtqV1Xs+W+gMq7iUXdejUE Jpb2x8vxnmpBKI+WktHO8sltlUqGLQH+6M5uY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=Rqpv6iDthlLwQBljPYciZ2YDIh65nN+kzdWMqimMiYpGETlT3kbiCDiWx3Za2i5hH8 twPoDeiZHpQPtaiptbrBllX7YUsLjWgaaIttM0aVV1J44dmgKShKHmNzlPKOdG96fOjT bKvU86RhyVEDznAYedc6VwVCoYta9kZqtsBpc= MIME-Version: 1.0 Sender: anders.g.hammar@gmail.com Received: by 10.216.86.80 with SMTP id v58mr681163wee.40.1265111644514; Tue, 02 Feb 2010 03:54:04 -0800 (PST) In-Reply-To: <025b01caa3f5$19348db0$cf857159@office.devexperts.com> References: <025b01caa3f5$19348db0$cf857159@office.devexperts.com> Date: Tue, 2 Feb 2010 12:54:04 +0100 X-Google-Sender-Auth: d29b175a6becd29d Message-ID: Subject: Re: Modules in phase order From: Anders Hammar To: Maven Users List Content-Type: multipart/alternative; boundary=0016e6d99ef52c28d5047e9cc256 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d99ef52c28d5047e9cc256 Content-Type: text/plain; charset=ISO-8859-1 For everyone's understanding, I assume you mean plugins and not modules? Plugins are executed in the order specified in the (effective) pom. However, the best approach is most often to not rely on this but try to have not dependency on the order of the execution of plugins within a phase. So, in your case you could bind your plugin to the phase after package. That being said, I don't really understand what you're trying to do. Why are you cleaning up during the build process? As it doesn't do any difference for the artifact it should go in the clean lifecycle. /Anders On Tue, Feb 2, 2010 at 11:47, Ilya Kazakevich wrote: > Hello, > > Is it possible to configure order in wich modules are executed in special > phase? > > I have a module and I want it to be run right AFTER "jar:jar" in package > phase. > > My first module runs in "prepare-package" phase and does some changes in > some files that should be included in final .jar > My second module should do some cleanup after it, but after .jar file is > created. I can bind to "clean" phase, but I want to do it in package phase, > so I can simply run "mvn package". > > That's probably against maven ideology. But I wish there is a way to > accomplish that... > > Thanks. > > ==================== > Ilya Kazakevich > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --0016e6d99ef52c28d5047e9cc256--