Re: Renaming jars using the assembly plugin

2011-08-17 Thread alags
Hi,

Thanks for the tip. I'd been spending a couple of hours to get it work, with
no luck, until i read your post :)

--
View this message in context: 
http://maven.40175.n5.nabble.com/Renaming-jars-using-the-assembly-plugin-tp114487p4707927.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Renaming jars using the assembly plugin

2008-12-13 Thread Chris Graham

It appears that when you unpack things, then you can not change their names.
And for whatever reasons, what I had was overly complex.

This works:





zip

false



   
${artifact.artifactId}.${artifact.extension}

*:jar





-Chris


Chris Graham wrote:
> 
> Hi All.
> 
> I am attempting to build a zip file of all listed dependencies of a
> project.
> 
> I am sucessfully creating the zip file with all deps included in it.
> However, I need to strip the version numbers from the jar files.
> 
> This is the assembly file, it is packaged as a jar file.
> 
> 
> 
> 
> 
> zip
> 
> false
> 
> 
> 
> 
> true
> 
> 
> *.jar
> 
> 
> runtime
> 
> 
> 
> 
> It is used as such:
> 
> 
> 
> 
> maven-assembly-plugin
> 
> 
> zip-for-wid
> 
> 
> 
> 
> make-assembly
> package
> 
> attached
> 
> 
> 
> 
> 
>
> au.com.warpspeed.maven.assemblies
> zip-for-wid
> 0.0.1-SNAPSHOT
> 
> 
> 
> 
> I've tried using the outputFileNameMapping entry, but it does not work.
> 
> Help!
> 
> This is driving me nuts!
> 
> -Chris
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Renaming-jars-using-the-assembly-plugin-tp20988586p20988731.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Renaming jars using the assembly plugin

2008-12-13 Thread Chris Graham

Hi All.

I am attempting to build a zip file of all listed dependencies of a project.

I am sucessfully creating the zip file with all deps included in it.
However, I need to strip the version numbers from the jar files.

This is the assembly file, it is packaged as a jar file.





zip

false




true


*.jar


runtime




It is used as such:




maven-assembly-plugin


zip-for-wid




make-assembly
package

attached





au.com.warpspeed.maven.assemblies
zip-for-wid
0.0.1-SNAPSHOT




I've tried using the outputFileNameMapping entry, but it does not work.

Help!

This is driving me nuts!

-Chris

-- 
View this message in context: 
http://www.nabble.com/Renaming-jars-using-the-assembly-plugin-tp20988586p20988586.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org