You need to have a maven.xml file, which contains a preGoal for dist:build-bin. In 
this preGoal, you can use:
<deploy:copy-deps todir=".../lib"/> to copy all dependent jar to the lib directory. I 
learn this from Torque's maven.xml file.

Howard Lin

> -----Original Message-----
> From: Moritz Petersen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 3:57 PM
> To: Turbine Maven Users List
> Subject: Distributing an Application
> 
> 
> Hi List!
> 
> I am using Maven in a project, that is a stand-alone Java 
> application. 
> While compiling and testing works fine, I have some problems in 
> understanding how the best way to create a distributable 
> application is.
> My goal is, to get either a jar File, that contains all 
> classes needed 
> by the application (by merging the other jars like Xerces etc.) or to 
> create a folder structure with a lib/ folder containing all 
> needed .jar 
> files.
> As far as I can see, Maven doesn't support this... or am I 
> overlooking 
> something?
> The end-user of the application should not use Maven to run the 
> application.
> 
> Any help will be appreciated.
> 
> Thank you,
> 
> Moritz.
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 

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

Reply via email to