Hi Fredy, You can use the dependency scope http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope.
On Wed, Feb 2, 2011 at 12:59 PM, Hauschel Fred Robert < fredrobert.hausc...@cirquent.de> wrote: > Hi all, > > I have to add a jar (maven module! Available in the maven repo) to a war > file. > > The jar should not be added to the classpath at build, runtime! And it > should not be included in WEB-INF/lib. > > > > Any idea ? > > > > Thanks Fredy > > -- *Ing. Mauricio Ferreyra* Cordoba - Argentina Turn off electronic devices, Simply turning off your television, DVD player, stereo and computer when you’re not using them will save you thousands of pounds of carbon dioxide a year.