Inherited=false works!
Thanks

Wayne Fay wrote:
> 
> This should work. In root/pom.xml, in the exec plugin config, set
> inherited=false.
> <plugin>
>   <artifactId>maven-exec-plugin</artifactId>
>   <inherited>false</inherited>
> 
> Alternatively, you could put the exec plugin in a profile, and only
> use that profile when building from the root ie -Pdoexec.
> 
> Wayne
> 
> On 9/4/07, szefo <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> My project has a structure similar to this:
>>
>> root
>>        +child1
>>        +child2
>>
>> I use the exec goal in the root project.
>> During the compilation process of both children the "exec goal" from root
>> project is executed and causes errors - thus I would like to skip it. I
>> would like it to be executed only during the compilation of the root
>> project.
>> How can I achieve it?
>> Thanks in advance.
>> Tom
>> --
>> View this message in context:
>> http://www.nabble.com/exec-maven-plugin--%3E-how-to-skip-execution-in-a-sub-project-tf4379678s177.html#a12484500
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/exec-maven-plugin--%3E-how-to-skip-execution-in-a-sub-project-tf4379678s177.html#a12485061
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to