I'm quite new to maven, and the official documentation could not help me here. I created an enterprise application with m2eclipse. Now I want maven to deploy it to my local JBoss server (copy the ear to D:\Server\jboss-5.0.1.GA\server\default\deploy) when I execute the INSTALL goal.
Here is my parent pom:
and the pom of the ear-module:
Joined: Aug 24, 2009
Found a solution myself, using the cargo plugin:
mvn package cargo:start now builds, deploys to jboss and starts the container. Now what I'm still missing is a solution for remote deployment via jmx....