Thanks Wayne, that sounds like the best solution to me.

Gerald

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 11:25 AM
To: Maven Users List
Subject: Re: How to create compile dependency to shared j2ee library?


I think the problem is that Javac doesn't know how to deal with the
EAR that Maven puts on the compile classpath so the compile dependency
isn't doing anything. This isn't Maven's fault per se nor is it
something you can really expect Maven to help you with.

You'll probably need to break apart the EAR manually and install each
JAR it contains individually into the Maven repo -- I'd put them under
a groupId weblogic-portal.p13n-app-lib and use the name of the jar as
the name of the artifactId. Then make a p13n-app-lib-parent pom that
specifies all the individual jars as dependencies, and finally specify
the new p13n-app-lib-parent as a dependency in your own project(s).

Not positive, but that should probably work.

Wayne

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

Reply via email to