1. call for mvn jboss-as:deploy-artifact
2. You will get NullPointerException at org.jboss.as.plugin.deployment.PackageType.resolve(PackageType.java:48)
For some reasons, DeployArtifact class contains
@Parameter(defaultValue = "${project}", readonly = true, required = true)
private MavenProject project;
which is already declated in parent class AbstractDeployment.
removing private MavenProject project; from DeployArtifact fixing this issue