RE: WAR Dependency Mediation Problem

2009-04-20 Thread Wolff, Dave
You're a life saver...that solved the issues. Thanks! Dave -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Monday, April 20, 2009 12:28 PM To: Maven Users List Subject: Re: WAR Dependency Mediation Problem > So the question is:  How are these duplicates e

Re: WAR Dependency Mediation Problem

2009-04-20 Thread Wayne Fay
> So the question is:  How are these duplicates ending up in my WAR file > if they aren't showing up in the dependency tree?  I'm lost... Try again with "mvn clean package". It is possibly/likely that the extra jars are from earlier builds and /target has not been cleaned up. Wayne -

RE: WAR Dependency Mediation Problem

2009-04-20 Thread Wolff, Dave
Hello again, I've been doing more digging and below is a copy of the "mvn dependency:tree" output. With the exception of the jdom 1.0 and 1.1 (1.1 has been moved to a new groupId) there don't appear to be any of the duplicate dependencies that are being added into my WAR. So the questio

Re: war dependency not being picked up?

2009-01-12 Thread Ben Avery
thank you Wendy, that's wonderful :) for anyone else wanting to do this, here's what I did: I went for the second option. details on both are on the maven-war-plugin's FAQ. it's the second part here: http://maven.apache.org/plugins/maven-war-plugin/faq.html#attached this only works in the deve

Re: war dependency not being picked up?

2009-01-12 Thread Wendy Smoak
On Mon, Jan 12, 2009 at 6:37 AM, Ben Avery wrote: > so I have created a functional-testing module, which contains the tests, but > the tests have dependencies on classes in the other modules. I have listed > the [war] modules as dependencies of the funtional test pom, but the compile > phase >

Re: War dependency

2008-05-21 Thread ffbeltran
I have a similar scenario, with two webapps. I config the war plugin in customer war: org.apache.maven.plugins maven-war-plugin WEB-INF/web.xml, index.jsp I hope this help you. On the other hand, when i have a war dependency, the classes in this war are not avaible for the

Re: WAR dependency in a WAR project (M2) does not compile

2006-07-31 Thread Wayne Fay
I believe the WAR plugin allows you to overlay one War over another. I have seen this discussed on this list recently but don't know any details myself, so you'll need to search the list at Nabble for "overlay" to find more info. Wayne On 7/31/06, Mike Perham <[EMAIL PROTECTED]> wrote: No, JARs

RE: WAR dependency in a WAR project (M2) does not compile

2006-07-31 Thread Mike Perham
No, JARs are the standard way to share code. You can't share code in a WAR or EAR. Move the common code into a JAR module. -Original Message- From: Martin Goldhahn [mailto:[EMAIL PROTECTED] Sent: Monday, July 31, 2006 10:43 AM To: users@maven.apache.org Subject: WAR dependency in a WAR

RE: WAR dependency

2006-02-26 Thread Brian E. Fox
Take a look at the dependency-maven-plugin at http://mojo.codehaus.org. I wrote it initially for this use case. -Original Message- From: Akbarr [mailto:[EMAIL PROTECTED] Sent: Sunday, February 26, 2006 5:14 AM To: Maven Users List Subject: WAR dependency I'm trying to use war files as