Ok, so the secret seems to be, you must bundle first, you can't just point this thing at a jar.
Is that a fair assumption? -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 7:22 PM To: Maven Users List Subject: RE: Copy:unpack Ok, since I was calling this directly, I needed to move the configuration out of (or remove) the execution tags. I have this: <configuration> <outputDirectory>E:\ZZZZZZ</outputDirectory> <resourceBundles> <resourceBundle>lty:lty-utils-resources:1.0.0.16</resourceBundle> </resourceBundles> <resources> <resource>conf/common.properties</resource> </resources> </configuration> With that done, I can see this: [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-remote-resources-plugin:1.0-beta-2:proce ss' --> [DEBUG] (f) appendedResourcesDirectory = E:\work\up-svcs\lty\proj\utils\src\main\appended-resources [DEBUG] (f) attached = true [DEBUG] (f) localRepository = [local] -> file://E:/work/m2/Repository [DEBUG] (f) mavenSession = [EMAIL PROTECTED] [DEBUG] (f) outputDirectory = E:\ZZZZZZZZ\ZZZZZZ But nothing is placed in the output directory... Any other suggestions? How does one say, "take this resource out of that jar, and process it to this location"? -----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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]