maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Adams <>
Subject Re: Problem reusing specific plugin executions with profiles
Date Fri, 08 Feb 2013 18:16:12 GMT
Wayne Fay wrote
>> If you then need the executions in the root and only some children... put
>> the executions in pluginManagement in the root but without calling out
>> any
>> goals. Repeat the executions in 
> <plugins>
>  in the root, calling out the
>> goals for those to execute and specifying 
> <inherited>
> false
> </inherited>
>  and
>> then finally repeat for the child projects
> I doubt that solves his problem. He wants to be able to specify from
> the command line which profiles to utilize during this specific build
> of a given module -- so editing poms etc is not going to interest him.
> I could be wrong though.

The reason it solved my problem was because I specify via the command line
the profiles I want to activate, then, in the pom's <profile> sections, I
configure the particular plugin executions I want in the child pom's


View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message