After a few hours spent to solve the problem, I think I found the reason.
Skipping the tests results in not including sub projects into the final WAR.
My question is : is that a normal behaviour?? I think that building a war file
doesn't require a mandatory test sequence to be complete. Nevertheless, one
shouldn't be able to deploy a file on a repository without running the tests
(Maven behaviour).
I would love to get some feedback about this tricky question.
Thanks for your work
________________________________
From: [email protected]
[mailto:[email protected]]
Sent: Wednesday, March 18, 2009 4:32 PM
To: [email protected]
Subject: [gradle-user] Problem generating WAR file
Hi all,
I seem to have a problem generating my War file from a multiproject
conf. My web projects depends on a project, so I included the project into the
compile dependencies of the web build script. But for some reasons, the
generated archive doesn't contain the other project's jar, nor any of it's
dependencies. What are the causes of such a behaviour? I've been looking at the
examples from the Gradle sources, but can't find any leads.
Thanks in advance