You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jim Collings <jl...@gmail.com> on 2009/08/30 22:23:52 UTC

Assemblies - add driver jar to assembly archive

So my container requires a jdbc driver for a resource and we are doing a
scripted install of our war file.  I need the jar but I need it outside
the war file and inside the assembly zip file so that my installation
script can put it in the container's classpath.  Any suggestions as to
how I might accomplish this?


Jim C.


Re: Assemblies - add driver jar to assembly archive

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, Aug 30, 2009 at 1:23 PM, Jim Collings<jl...@gmail.com> wrote:
> So my container requires a jdbc driver for a resource and we are doing a
> scripted install of our war file.  I need the jar but I need it outside
> the war file and inside the assembly zip file so that my installation
> script can put it in the container's classpath.  Any suggestions as to
> how I might accomplish this?

This is the same question as [1] right?  It shouldn't be hard to do
this with the assembly plugin (add it as a dependency, use
<dependencySet> [2].)  What have you tried so far, and what's
happening?

[1] http://www.nabble.com/Need-a-separate-jar-from-war-in-assembly-to25196162.html
[2] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org