maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Lookup from WAR to external JAR
Date Fri, 24 Feb 2012 15:09:59 GMT

> Hi,
>   I'm trying to set up a WAR project which uses NetBeans Lookup to find
> services in external JAR files. Right now, I define an interface in the WAR and
> the implementations in a couple of JAR projects. I tried adding a dependency
> on the WAR to the JAR poms, but mvn clean package doesn't seem to like
> that.
> 0. Is this the right design, or should I be doing something different?
> 1. What am I missing that I need to make this work?

What do you mean by "doesn't like"?  It sounds like you probably have a circular dependency:
 your jars must depend upon the interfaces in the war, but doesn't your war depend upon the
jars since they'll probably be built into the web app?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message