title: How to deploy WAR of Maven Project to JBoss server from Eclipse?
body: <p>I want to deploy WAR of Maven project to JBoss server. I know that from Eclipse Export->War deploy the WAR file to JBoss. But How can I do this for Maven Project. Any step by step information or useful website link will be very helpful to me. Thank you.</p>
  
  <p>Edit: I have added </p>
  
  <pre><code>&lt;plugin&gt;
  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
  &lt;artifactId&gt;jboss-maven-plugin&lt;/artifactId&gt;
  &lt;version&gt;1.5.0&lt;/version&gt;
  &lt;configuration&gt;
      &lt;jbossHome&gt;/home/tanmoy/Jboss&lt;/jbossHome&gt;
      &lt;serverName&gt;all&lt;/serverName&gt;
      &lt;fileName&gt;target/LoginExample-1.0.war&lt;/fileName&gt;
  &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>To my pom.xml and import again as maven project, but on right clicking into pom.xml for Run As I don't see any option for deployment.</p>