Using Maven Publish plugin to deploy all artifacts

Hi, I am trying to switch to the new Maven Publish plugin (http://www.gradle.org/docs/current/userguide/publishing_maven.html), but encountered some problems which I need help with.

My project generates JAR, WAR and EAR artifacts and I need to upload all of them. Is there an option to do so?

From the documentation I see that I have to specify either

from components.java

or

from components.web

Is there an option to specify EAR or even better to tell it to deploy artefact produced by project regardless of it’s type?

The older plugin (http://www.gradle.org/docs/current/userguide/artifact_management.html ) deployed any artifacts produces by a project which is much more convinient.