I have used the maven assembly plugin before to build an executable jar file
that contains all of the necessary runtime libraries.  In order to run the
app all you have to do is type java -jar foo.jar arg1 arg2...

If this sounds like something you want, I can post the pom.xml

jp4


David Jackman wrote:
> 
> I have a Java project that I want to build using Maven 2.  This
> particular project doesn't really produce a jar as its main artifact,
> but instead needs to produce a zip file containing all of the runtime
> dependencies along with a batch file that users use to run the utility.
>  
> Before I try to create a new plugin that will build this kind of
> project, I'm wondering if anyone out there has already built this kind
> of thing and what you used to build it.
>  
> Thanks,
> ..David..
>  
> 
> 

-- 
View this message in context: 
http://www.nabble.com/M2-project-type-for-a-standalone-utility-tf2569649s177.html#a7163227
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to