Problem with the ear.bundle is, that the jar is installed as java module
(which is reserved for e.g. ejb client jars). 

I can manually copy the jar via the copy-deps task, but that doesn't
solve the problem of the classpath (escpecially for war's, because
there's no war.manifest.classpath property).

Cheers,
simon


-----Original Message-----
From: R a n e s [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 21. November 2003 10:51
To: Maven Users List
Subject: Re: How to include jars and add them into the
MANIFEST.MF/Class-Path attribute?


Hi,
You can set the "ear.bundle" to true.

  <dependency>
   <id>common</id>
   <type>jar</type>
   <properties>
    <ear.bundle>true</ear.bundle>
   </properties>
  </dependency>

Regards,
 Ranes.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 21, 2003 2:57 PM
Subject: How to include jars and add them into the
MANIFEST.MF/Class-Path
attribute?


When building an ear, i'd like to include the dependent jar files in the
lib dir of the ear and add them to the Class-Path of the including
applications.
Is there any easy way to do so?


Cheers,
simon

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




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


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

Reply via email to