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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Groeten,

   Martin

mailto:[EMAIL PROTECTED]
tel: +31 (0) 20-7988464
mob: +31 (0) 6-21551921



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

Reply via email to