I am new to maven and Jboss(actually, never used other server as well)
I have a flex/blazDS/Java project with maven and jboss server. How can i deploy it?
PS: When i do the development, I used maven to build the project(using mvn clean install package ...).
then, go to my eclipse, right click the main app, let it run on my server.
The command is not jboss hard-deploy as given in above comment. The correct command to deploy using maven in jboss is jboss:hard-deploy
You could use the Maven JBoss Plugin. Once configured properly, you can use it to start and stop the server as well as deploy via JMX (for remote instances) and by hard-copying (for local instances). As the guide states, first you would add the plugin to your pom:
Make sure you customize the fields in the configuration section appropriately. Then you can deploy to your JBoss server using (for remote)
or (for local)