[JBoss] How to deploy WAR of Maven Project to JBoss server from Eclipse?

Discussão em 'StackOverflow' iniciado por Stack, Março 20, 2025.

  1. Stack

    Stack Membro Participativo

    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.

    Edit: I have added

    <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>jboss-maven-plugin</artifactId>
    <version>1.5.0</version>
    <configuration>
    <jbossHome>/home/tanmoy/Jboss</jbossHome>
    <serverName>all</serverName>
    <fileName>target/LoginExample-1.0.war</fileName>
    </configuration>
    </plugin>


    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.

    Continue reading...

Compartilhe esta Página