We have a big problem with uploading task. Uploading fails with generic “Failed to validate POM for project” and no more information. The build always fails when uploading the jar for war subprojects, both using the original publishing mechanism and the new maven-publish plugin.
We try with gradle version 1.5, 1.6 and 1.7, but the error is always the same. Here a gist with the stack trace.
Follows an excerpt of our last attempt of configuring the upload for subprojects
It could be our fault (the multiproject build is quite complex) but without further details on the validation failure cause, we have no chances to fix it.