You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (JIRA)" <ji...@apache.org> on 2019/04/17 14:18:00 UTC

[jira] [Commented] (MANTRUN-78) Use of AntRun during clean phase fails multiproject with intermodule dependencies

    [ https://issues.apache.org/jira/browse/MANTRUN-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820128#comment-16820128 ] 

Sylwester Lachiewicz commented on MANTRUN-78:
---------------------------------------------

The solution, to switch to {{requireDependencyCollection,}} does't work here as we need paths to downloaded .jar to pass as properties to Ant.

https://issues.apache.org/jira/browse/MNG-3283?focusedCommentId=15962287&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-15962287

 

> Use of AntRun during clean phase fails multiproject with intermodule dependencies
> ---------------------------------------------------------------------------------
>
>                 Key: MANTRUN-78
>                 URL: https://issues.apache.org/jira/browse/MANTRUN-78
>             Project: Maven Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1, 1.2
>         Environment: Maven version: 2.0.8
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Brian Jackson
>            Priority: Major
>         Attachments: test.zip
>
>
> Attaching the antrun plugin to the clean phase causes it to interfere with local dependency resolution for sibling projects. 
> An example is attached.
> The project consists of project 'test' with modules 'test-a' and test-b'.  'test-a' depends on 'test-b'.
> If you run "mvn clean" on the root POM, the clean succeeds.  
> If you run "mvn clean -Pbuild-failure" it fails.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)