[
http://jira.codehaus.org/browse/MNG-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated MNG-2181:
------------------------------
Component/s: Reactor and workspace
> Problem with reactor when using attached goal
> ---------------------------------------------
>
> Key: MNG-2181
> URL: http://jira.codehaus.org/browse/MNG-2181
> Project: Maven 2
> Issue Type: Bug
> Components: Reactor and workspace
> Reporter: Vincent Massol
> Fix For: 2.1.x
>
> Attachments: log.txt
>
>
> Here's my project dir structure:
> {noformat}
> trunk/
> |_ core/
> |_ api/
> |_ (several projects here)
> |_ uberjar/ (assembly project)
> |_ samples
> |_ testdata
> |_ empty-jar
> |_ (...)
> {noformat}
> If I build the trunk/core/ubjerjar project alone it works fine. Note: I have
> attached the "attached" goal to the verify phase so the assembly can be
> created when calling "mvn install".
> If I build the project from the trunk by typing "mvn install", the uberjar/
> project fails saying that the empty-jar artifact cannot be found in the local
> repository. That's normal it cannot be found because there are no
> dependencies on it in the core/ branch and it hasn't been built yet when the
> uberjar project executes. Of course there are no dependencies to it in the
> uberjar project.
> It seems there's something fishy happening in the assembly plugin
> implementation... :-)
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira