[ 
http://jira.codehaus.org/browse/MDEP-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146638#action_146638
 ] 

Dan Tran commented on MDEP-179:
-------------------------------

the patch basically requires all access to the top level "local" variable to go 
thru getLocal() method, and the base class of copy and unpack mojo overwrites 
the getLocal() method to instantiate the alternate local repo base the the 
existing of "alternateLocalRepostory" configuration.

> Ability to use an alternate repository at copy and unpack mojo's execution 
> time
> -------------------------------------------------------------------------------
>
>                 Key: MDEP-179
>                 URL: http://jira.codehaus.org/browse/MDEP-179
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: New Feature
>          Components: copy, unpack
>    Affects Versions: 2.0
>         Environment: windows, unixes
>            Reporter: Dan Tran
>            Assignee: Brian Fox
>         Attachments: MDEP-179.patch
>
>
> The motivation behind this enhancement is to copy/unpack  very large 
> artifacts without polluting the current
> local repository especially with snapshot artifacts.  The new 
> alternateLocalRepository is likely under ${project.build.directory} to be 
> cleaned up with "mvn clean".
> This is a very specialized use case since  the artifact must always at remote 
> repo. or user must implement some sort of profile to switch this mode when 
> the artifact already in the currently repo ( ie it was built together as a 
> multi modules build)

-- 
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

        

Reply via email to