Using Maven Publish plugin to deploy all artifacts

Hi, I am trying to switch to the new Maven Publish plugin (, 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.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 ( ) deployed any artifacts produces by a project which is much more convinient.