[ 
https://jira.codehaus.org/browse/MNG-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict updated MNG-4195:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> mvn clean install site doesn't work on multi-modules projects
> -------------------------------------------------------------
>
>                 Key: MNG-4195
>                 URL: https://jira.codehaus.org/browse/MNG-4195
>             Project: Maven
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.0
>            Reporter: Tiago Bruno Pires Gomes
>         Attachments: maven.diff, mng-2979-testcase.tar.gz
>
>
> I open a new issue because the MNG-2979 is "closed and fixed" but the issue 
> remains with the 2.2.0 (http://jira.codehaus.org/browse/MNG-2979). I 
> reattached the same testcase archive.
> For the recall, the issue is quite simple : on the multi-modules projects, 
> the execution of mvn clean install site fails.
> Our project has this components : a ParentModule, a Module1 and a Module2 
> which depends on Module1 jar file. 
> According to the backtrace, the execution of maven follows this steps :
> Clean the ParentProject
> Install the ParentProject
> "Site" the ParentProject
> and site want to compile the entire project so it compiles the Module and the 
> Module2. The Module2 needs the jar of Module1 to compile so the build fails.
> In my opinion, the maven core should run successively clean, install and site 
> on the entire project like :
> Clean ParentModule
> Clean Module1
> Clean Module2
> Install ParentModule
> Install Module1
> Install Module2
> Site ParentModule
> Site Module1
> Site Module2
> So, I attached a maven.diff file too, which makes this succession.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to