[ http://jira.codehaus.org/browse/MDEP-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Damian Bradicich updated MDEP-47: --------------------------------- Attachment: MDEP-47-maven-dependency-plugin.patch Well here is a patch to allow for including/excluding, I am not, however, able to test w/ an actual project as the plexus-archiver 1.0-alpha-9-SNAPSHOT is giving me the following problem. Unit tests work fine, however java.lang.NullPointerException at org.codehaus.plexus.archiver.manager.DefaultArchiverManager.getUnArchiver(DefaultArchiverManager.java:76) at org.codehaus.plexus.archiver.manager.DefaultArchiverManager.getUnArchiver(DefaultArchiverManager.java:114) at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:234) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackArtifact(UnpackMojo.java:107) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:78) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) And any previous version of plexus-archiver dont include the Unarchiver.setFileSelectors() method > Ability to have an includes/excludes feature on the dependency:unpack goal. > --------------------------------------------------------------------------- > > Key: MDEP-47 > URL: http://jira.codehaus.org/browse/MDEP-47 > Project: Maven 2.x Dependency Plugin > Issue Type: New Feature > Components: unpack > Reporter: Paul Shemansky > Assignee: Brian Fox > Priority: Minor > Fix For: 2.0-alpha-5 > > Attachments: MDEP-47-maven-dependency-plugin.patch > > > Perhaps there is another solution that I'm overlooking, and if so... I > apologize, but in the dependency-maven-plugin's dependency:unpack goal, it > would be quite convenient to have an option to have an includes/excludes > capability which did pattern matched unpack resolutions. I.E. : > <!-- files I'd like to unpack --> > <includes> > <include>*.class</include> > </includes> > <excludes> > <exclude>*.html</exclude> > </excludes> -- 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