Hi,

I recently posted about a dependency problem I am experiencing,

http://www.mail-archive.com/[email protected]/msg55340.html

I am a bit lost as to how to go about debugging this. I tried the -X flag but ended up with > 10,000 lines of debug. I think I need to investigate the dependencies in different scopes.

How do I find out where dependencies that end up in a war/WEB-INF/lib actually came from.

I have a parent pom which also aggregates the child webapps. The parent pom references the child projects using:

   <modules>
        <module>../child1</module>
        <module>../child2</module>
    </modules>

If I execute 'child1>mvn install' then the child war is assembled with the expected set of deps.

However, if I execute 'parent>mvn install' the child war is assembled including a large number of unnecessary jars (2 copies of xerces, xalan etc etc) > 15Meg in total.

I'm assuming my dependencies are correct as isolated builds contain the correct jars.

Any help with how to debug this greatly appreciated. Alternatively is there some other way of carrying out multi-project builds without "modules", currently my multi-builds are unworkable as simple webapps are massive.

cheers
Nathan


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

Reply via email to