maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van der Plas <m...@imc.nl>
Subject Re: antrun plugin in both parent and child run tasks twice
Date Mon, 30 Jan 2006 09:48:07 GMT
Hi Antrun developer,

Please respond.

Martin

Martin van der Plas wrote:

> Hi,
>
> When I have a parent and child pom, and both have an antrun plugin 
> entry, I notice that activated anttask run twice.
> See attached poms and the output below.
>
> My directory structure:
> parent/
> --------/pom.xml
> --------/child
> ---------------/pom.xml
>
>
>
> Is this behaviour intended? How should I change my poms?
>
> Thanks
>
> Martin
>
>
> mvn test
> [INFO] Scanning for projects...
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] Building child
> [INFO]    task-segment: [test]
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] [antrun:run {execution: test1}]
> [INFO] Executing tasks
>     [echo] test1
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: childTest1}]
> [INFO] Executing tasks
>     [echo] childTest1
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: test1}]
> [INFO] Executing tasks
>     [echo] test1
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: childTest1}]
> [INFO] Executing tasks
>     [echo] childTest1
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: test3}]
> [INFO] Executing tasks
>     [echo] test3
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: childTest3}]
> [INFO] Executing tasks
>     [echo] childTest3
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: test3}]
> [INFO] Executing tasks
>     [echo] test3
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: childTest3}]
> [INFO] Executing tasks
>     [echo] childTest3
> [INFO] Executed tasks
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] BUILD SUCCESSFUL
> [INFO] 
> -------------------------------------------------------------------------
> ---
>
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>


-- 
Groeten,

    Martin

mailto:mvdp@imc.nl
tel: +31 (0) 20-7988464
mob: +31 (0) 6-21551921



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


Mime
View raw message