jhsuwm / onejar-maven-plugin

Automatically exported from code.google.com/p/onejar-maven-plugin
0 stars 0 forks source link

Provide override for generated jar file name #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
N/A

What is the expected output? What do you see instead?
N/A

What version of onejar-maven-plugin are you using?
1.4.4

What is the output of "mvn -version" on your machine?
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix"

Please provide any additional information below.
There seems to be no way to override the name of the jar file (unless I am 
overlooking something). It would be really handy to have this ability than to 
have to hack it somehow.

Thanks!

Original issue reported on code.google.com by praki.pr...@gmail.com on 11 Feb 2011 at 7:08

GoogleCodeExporter commented 9 years ago
Hi!

Inside the plugin's <configuration> tags, you can use the 
<filename>newfilename.jar</filename> tag to override the generated filename.

There are some comments on this page with examples:
http://code.google.com/p/onejar-maven-plugin/wiki/Use

Thanks,
Hugo

Original comment by h...@josefson.org on 12 Feb 2011 at 10:42