This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maven: deploy application to server  RSS feed

 
C. Cook
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!