See here: http://maven.apache.org/plugins/maven-dependency-plugin/faq.html#cli
And there's a Jira for it too: http://jira.codehaus.org/browse/MNG-3401 -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 6:56 PM To: Maven Users List Subject: RE: Copy:unpack Here's the -X -e output: [0] inside the definition for plugin: 'maven-remote-resources-plugin'specify the following: <configuration> ... <resourceBundles>VALUE</resourceBundles> </configuration>. [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.apache.maven.plugins:maven-remote-resources-plugin. Reason: Invalid or missing parameters: [Mojo parameter [name: 'resourceBundles'; alias: 'null']] for mojo: org.apache.maven.plugins:maven-remote-resources-plugin:1.0-beta-2:proces s at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:568) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa l(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.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) Caused by: org.apache.maven.plugin.PluginParameterException: Error configuring: org.apache.maven.plugins:maven-remote-resources-plugin. Reason: Invalid or missing parameters: [Mojo parameter [name: 'resourceBundles'; alias: 'null']] for mojo: org.apache.maven.plugins:maven-remote-resources-plugin:1.0-beta-2:proces s at org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters(Def aultPluginManager.java:820) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPl uginManager.java:582) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:398) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:539) ... 16 more -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 5:29 PM To: Maven Users List Subject: RE: Copy:unpack I tried this for giggles: <artifactId>maven-remote-resources-plugin</artifactId> <executions> <execution> <goals> <goal>process</goal> </goals> <configuration> <resourceBundles> <resourceBundle>some:internalpackage:2.0.0.7</resourceBundle> </resourceBundles> <outputDirectory>ZZZZZZZZ/ZZZZZZ</outputDirectory> </configuration> </execution> </executions> Ran with this: mvn remote-resources:process -Prepo,base I get this error: <configuration> ... <resourceBundles>VALUE</resourceBundles> </configuration>. Any suggestions? -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 4:59 PM To: Maven Users List Subject: RE: Copy:unpack So how do you NOT put version info in two places? The remote-resources plugin seems to want its own copy of the version of the resource, shouldn't it just be in the dependency stanza? -----Original Message----- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 11:39 AM To: Maven Users List Subject: RE: Copy:unpack Ok, I thought you wanted to exclude files. If you want to filter them, then you can use the remote-resources plugin, the dependency plugin doesn't filter the contents of the files. -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 8:37 AM To: Maven Users List; Maven Users List Subject: RE: Copy:unpack What I don't want to have to do is unpack to target/temp and process resources from target/temp to target/finallocation. -----Original Message----- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thu 3/13/2008 11:19 PM To: Maven Users List Subject: RE: Copy:unpack Yes. You need 2.0 and then there are includes/excludes filters. Check the site, I forget the exact names. -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 9:42 PM To: users@maven.apache.org Subject: Copy:unpack Is there a way to use the unpack dependencies AND process the files on the way out (filter)? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]