I think it is best to make plexus unarchiver to suppport patternset ( exclude/include). This way dependend-maven-plugin and others can inherit this work for free.
To add your own Unarchiver you need to fix up ArchiverManager's src/main/resource/META-INF/plexus/components.xml. it is not neccesary if you implement my suggestion above. -D On 1/14/06, Sasvata Chatterjee <[EMAIL PROTECTED]> wrote: > > Hi, > > I am working on a m2 plugin, and need to unarchive only certain selected > file/dir patterns from my dependency artifacts. > > I looked at the dependency plugin, as well as the Unarchiver interface in > plexus-archiver. Neither allows specification of include/exclude > patterns. > Is there something already existing that I can use to do this? > > Willing to write my own Unarchiver implementation, if needed. In that > case, > my question is how do I configure ArchiverManager ( > org.codehaus.plexus.archiver.manager.ArchiverManager) to return my > particular implementation? Any help/examples would be much appreciated. > > Thanks, > Shash > >
