maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ittay Dror <itt...@tikalk.com>
Subject Re: how to execute a plugin only once in multi-project parent pom
Date Tue, 08 Apr 2008 20:51:28 GMT
ok, created case http://jira.codehaus.org/browse/MNG-3508

Brian E. Fox wrote:
> You can set inherited=false in the parent so it won't go down to all the
> children. There is no way to currently tell a plugin to execute only
> once in a given build no matter where the build is executed. I tried to
> do this with the enforcer and ended up having to put caching logic into
> the plugin itself to deal with this.
>
> -----Original Message-----
> From: Ittay Dror [mailto:ittayd@tikalk.com] 
> Sent: Tuesday, April 08, 2008 2:31 PM
> To: Maven Users List
> Subject: how to execute a plugin only once in multi-project parent pom
>
> Hi,
>
> I have a pom that acts both as parent and as multi-module. In it, I have
>
> a plugin execution. What I want is for the plugin to execute once when 
> invoking maven on the parent pom (so it does not run for every module), 
> and also have it executed when invoking maven on some child module 
> (where only that module is executed)
>
> Thank you,
> Ittay
>
>   

-- 
Ittay Dror <ittayd@tikalk.com>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message