if (!deployment.getName().endsWith(".war")) {
throw new MojoExecutionException(deployment.getName()
+ " is not a valid deployment. Please specify a war.");
}
Deployer deployer = createDeployer();
//deployer.deploy(createConfig(), createInputStream());
}