maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: creating runnable jar file
Date Wed, 03 Sep 2008 13:51:28 GMT
cablepuff wrote:

> however i get this error
> about namespace www.springframework.org/schema/tx cannot be found. 
> 
> Is their a better way to create deployable jar files that runs on different
> machine. 

It sounds like you are trying to create an uberjar, AKA a 
jar-with-dependencies.

An uberjar is a new big jar created by unpacking all the dependent jars 
into one big jar, which being self contained, will run on any machine 
without needing any special classpath setup.

The assembly plugin can create uberjars for you, look at the docs for 
the assembly plugin to see how.

Regards,
Graham
--

Mime
View raw message