maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Hoffer" <>
Subject RE: Newbie: how to do a release?
Date Fri, 22 Feb 2008 12:16:58 GMT
Another option is to go one step further and let maven generate the
shell script(s) for you as well.  Check out appassembler-maven-plugin.


-----Original Message-----
From: Upul Godage [] 
Sent: Thursday, February 21, 2008 11:13 PM
To: Maven Users List
Subject: Re: Newbie: how to do a release?


Check out the assembly plugin. It does just that. You have to write an
assembly descriptor xml to customize the release the way you want it.

Here is a very simple assembly descriptor file which bundles all jar
to the a lib folder and copy a given run script to the root of the



Descriptor file can be given in the pom.xml directly like this without
giving it in the command line.

Hope this helps.


On Fri, Feb 22, 2008 at 9:26 AM, Chris <> wrote:

> I've got a standard Java app. I've got a pom that successfully
> a jar file, and I got it to generate some javadoc as well.
> Now how do I generate a standard release?
> In a normal app, the jar goes in a /lib folder along with all the
> dependencies, the javadoc in /doc/api, there's /bin folder with a
> startup script, and a license and readme in the root.
> The /target directory doesn't look at all like this. There are things
> there that don't belong in a released app at all, like all the
> .class files.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message