As a new Gradle user, I spent some wondering why the install task of the Maven plugin didn’t work with my wars and ears. I noticed that in order to get it working, you also need to apply the Java plugin in those war and ear projects. None of the guides mention this and it’s hard to figure out for new users.
So, I suggest that this will at least mentioned in the guides. Even better would be if you don’t need to apply the java plugin at all in the ear or war projects.
http://gradle.org/maven_plugin http://www.gradle.org/ear_plugin http://gradle.org/war_plugin