You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/07/01 18:15:05 UTC

[jira] Closed: (MNG-2398) attached artifacts (such as assemblies) are not resolved in the workspace when running 'package' phase

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

Brett Porter closed MNG-2398.
-----------------------------

         Assignee: Brett Porter
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.2.1)

this example seems to work for me in 2.0.6+

> 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
>            Assignee: Brett Porter
>            Priority: Blocker
>         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