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

Ruediger Dreier updated MDEP-225:
---------------------------------

    Attachment: MDEP-225.patch

I detected that the SourcesFileMarkerHandler uses the same logic.
I also added tests for setMarker functions in DefaultFileMarkerHandler and 
SourcesFileMarkerHandler. I hope they are sufficient.
If not can you please give me a hint how a sufficient test should look like? I 
tried to simulate the command line calls mentioned earlier but failed due to 
the complexity of programmatic Maven usage:-(

> Dependency plugin seems to unpack archive even, if it is already unpacked
> -------------------------------------------------------------------------
>
>                 Key: MDEP-225
>                 URL: http://jira.codehaus.org/browse/MDEP-225
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: unpack
>    Affects Versions: 2.1
>            Reporter: Jason Chaffee
>            Assignee: Brian Fox
>         Attachments: MDEP-225.patch, MDEP-225.patch
>
>
> The plugin used to be smart about not unpacking archives if it found the 
> archive was already unpacked (maybe I was doing something different than..not 
> sure).  However, now it unpacks the archive every time, no matter what I try 
> to keep it from doing it, including using overwriteIfNewer.
> I would like to be able to run the build once to extract the archive, then 
> not have it extracted again, unless I clean the target directory because the 
> archive takes several minutes to unpack.
> Here are the steps.
> 1) configure unpack in pom
> 2) run mvn clean install --> expect unpacking
> 3) run mvn install --> do not expect unpacking as it is still unpaced from 
> step (2)

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