Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 70485 invoked from network); 1 Dec 2008 14:57:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 14:57:15 -0000 Received: (qmail 85018 invoked by uid 500); 1 Dec 2008 14:57:18 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 84964 invoked by uid 500); 1 Dec 2008 14:57:18 -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 84953 invoked by uid 99); 1 Dec 2008 14:57:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 06:57:18 -0800 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 (athena.apache.org: domain of dordet.n@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 14:55:48 +0000 Received: by nf-out-0910.google.com with SMTP id c7so1482083nfi.26 for ; Mon, 01 Dec 2008 06:56:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=xETpA1Nlg/koRalMXU8oXSrKV60NQ3uuMymdUi3ZhUU=; b=E5s6ZB7aG0qEIBpwj+ce+EXLpQuZoCJ4mlo8wr6FVnod9TAQDMT6u1jd5QFRK4ZnY8 tpltvlijl0HuhHViH+et00k3F680iE/M9qxPC/T04JxNyqd9oxU+5tT3kwiUtzjXwcKr jcH7TI5ujTKKgSrSATTZ/7OyGiSJ18QHq8X4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=RMi7mOxliMvfKni18jOBk4motC03vKYDciNnJwlKEMeKlB+qpFpmUdtnOyNfnL/vky Q/+3Y2AAGAjUCebnP73FnpF0wDLsUWaQ6P73Mpa+BFEtp5mqImCCTJrMsvVm7QPjxesW 1CJFdV4uRy8UpYTS+yAFCX4pcKrPym5XkFixo= Received: by 10.210.16.11 with SMTP id 11mr12611470ebp.186.1228143394799; Mon, 01 Dec 2008 06:56:34 -0800 (PST) Received: by 10.210.124.18 with HTTP; Mon, 1 Dec 2008 06:56:34 -0800 (PST) Message-ID: <9494975d0812010656o7ff3ccq328b45ef1a7f6b6a@mail.gmail.com> Date: Mon, 1 Dec 2008 15:56:34 +0100 From: "Nicolas Dordet" To: "Maven Users List" Subject: Re: Mojo's order execution in a plugin In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_85579_3904588.1228143394790" References: <9494975d0812010302q7b663917v5ce4dd1bbd8fbf8f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_85579_3904588.1228143394790 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/12/1 Brett Porter > It's not a defined behaviour to honour the order of the plugin descriptor > (nor is there a way to force that ordering when generating). > I solve my problem by modifiying the plugin.xml by hand (replacing order of the mojo's declaration)... not really pretty but it work. > > Reports are not intended to be dependent on each other. Probably what you > want to do here is write the common code into a goal that can be run in > pre-site, then the two reports are generated based on that data. > In Fact, my second mojo need files generated by the first one. But the 2 mojo's have to give me a report at the end witch I want to have in the report section of the maven's generated site. Maybe I should revise my architecture... Thx anyway > Nico > > - Brett > > > On 01/12/2008, at 10:02 PM, Nicolas Dordet wrote: > > Hi all, >> >> I'm developing a maven plugin witch contain 2 mojos (abstractMavenReport). >> I wanted maven to execute mojoA before mojoB when doing a "mvn site". >> >> I saw that in the plugin descriptor my mojoB is declared before my mojoA. >> How can I change that? Is there a way to change the plugin.xml manually >> and >> add it to the jar created when executing mvn package or mvn install? >> > > -- > Brett Porter > brett@apache.org > http://blogs.exist.com/bporter/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > ------=_Part_85579_3904588.1228143394790--