On Mon, Jun 16, 2008 at 12:06:14PM +0000, sourcex wrote:
> Thanks for the support - unfortunately my WAR archive is fine, but the JAR
> isn't bundled with its libraries. It's  declared as
> <packaging>jar</packaging>

You need jar-with-dependencies. See:

http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html

cheers,

Jim

> and the dependent libraries are not included
> there. My JSE project is actually the Hibernate DB part, which has 10
> required libs (jdbc, hibernate, asm, db driver etc) and they are not in my
> archive after 'mvn package'. If it's not possible to put them in, I could
> merge the projects in one project with WAR archive only, but it's too
> coupled this way.
> 
> I'll try to add my jse project as a dependency in the web one though, thanks
> again.
> 
> 
> --
> View this message in context: 
> http://www.nabble.com/Deployable-archive-including-libs-tp17859844p17863130.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
James Rutherford          |  Hewlett-Packard Limited registered Office:
Research Engineer         |  Cain Road,
HP Labs                   |  Bracknell,
Bristol, UK               |  Berks
+44 117 312 7066          |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as "HP
CONFIDENTIAL".

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

Reply via email to