I'm using JBoss 7.1.1.Final, as well as Maven 3.0.3 and the Maven-JBoss plugin, v 7.1.1.Final. I notice when I deploy with the JBoss plugin, using
mvn install jboss-as:deploy
it takes longer to deploy than simply copying the app to the JBoss deploy directory using
cp target/myproject.war $JBOSS_HOME/standalone/deployments/
Is there any difference between these two methods of deployment? If not, I'm just going to use the faster one.
THanks, - Dave
Overall they're probably not all the different. The main difference is the maven-plugin blocks until it gets a response from the server on whether the deployment was successful or not. The later uses the deployment-scanner.
FWIW too the newest release of the plugin is 7.4.Final, though I doubt it's much faster.
James R. Perkins