aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven: deploy application to server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven: deploy application to server" Watch "Maven: deploy application to server" New topic
Author

Maven: deploy application to server

C. Cook
Greenhorn

Joined: Aug 24, 2009
Posts: 2
Hi,
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:



thank you
Chris
C. Cook
Greenhorn

Joined: Aug 24, 2009
Posts: 2
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....
 
Don't get me started about those stupid light bulbs.
 
subject: Maven: deploy application to server