I am using maven 1 to build an ear project that contains several jars/ejbs and
a war. I have a few external libraries that the different modules depend on
and I would like to package these dependencies in the ear under a libs
directory. I've set up my dependency with the ear.bundle.dir property and the
jar/ejb.manifest.classpath properties set to true in the parent project.xml.
The problem is the classpath entry in the jar manifest does not contain the
libs/ prefix for my external libraries so when the subprojects are bundled in
the ear they have the wrong classpath. I've included a section of my
project.xml file below. Is there a way to do this easily while still having
maven create the manifest?
Any suggestions would be much appreciated.
Thanks,
Mike
project.xml excerpt:
<dependency>
<groupId>jakarta-commons</groupId>
<artifactId>commons-lang</artifactId>
<version>2.0</version>
<properties>
<ejb.manifest.classpath>true</ejb.manifest.classpath>
<jar.manifest.classpath>true</jar.manifest.classpath>
<ear.bundle>true</ear.bundle>
<ear.bundle.dir>/libs</ear.bundle.dir>
</properties>
</dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]