maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Chad.Da...@emc.com>
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message