[ http://jira.codehaus.org/browse/MNG-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-2398. ------------------------------ Resolution: Won't Fix If you do a little more work and make it work with multiple attached artifacts and not just one and update the code then I'd be happy to commit it. I think it would definitely be better if thing inside the reactor worked as expected. > attached artifacts (such as assemblies) are not resolved in the workspace > when running 'package' phase > ------------------------------------------------------------------------------------------------------ > > Key: MNG-2398 > URL: http://jira.codehaus.org/browse/MNG-2398 > Project: Maven 2 > Issue Type: Bug > Components: Reactor and workspace > Affects Versions: 2.0.4 > Environment: Running of Mac OSX 10.4 > Reporter: Matt Brozowski > Fix For: 2.1.x > > Attachments: attached-artifact-bug.tar.gz, > maven-project-2.0.4-patch.txt > > > I have attached a sample project. > submoduleA creates an attached artifact (a tar.gz assembly) which submoduleB > depends on. > When running: > mvn package > The attached artifact cannot be resolved from the workspace but tries the > repos instead, yet when running: > > This problems makes using attached artifacts very 'risky' because it could be > running 'old' code. -- 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