On May 28, 2009, at 5:26 PM, <[email protected]> <[email protected] > wrote:

After strugling with the dependencies , it looks like the problem is not coming from the configurations.

In my multiple project conf, the java project references some libraries. A few of these libraries are needed by the WAR project for eclipse classpath. So I included these few libraries (jibx-run) inside my War dependencies as 'providedCompile', since the Java project is referencing them. That's the reason why they are not packaged inside the War. You will confirm that War dependencies overides referenced project dependencies. It seemed odd to me at first, but I guess it makes sense.

This behavior of Gradle is not intentional. I'm not sure if it makes sense. It would be awesome if you could file a Jira with a test case. We want to invest a lot of time in the war plugin to make it better. So it is good to have those use cases.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to