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

后端 未结 9 1579
太阳男子
太阳男子 2020-12-23 12:11

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 b

9条回答
  •  Happy的楠姐
    2020-12-23 12:59

    Assumption

    I am assuming that you have already installed the plugins for Maven for eclipse.

    Installation

    While selecting the project in project explorer select Run --> Run As --> Maven Install

    Running Jboss

    1. Go to Run --> Run Configurations..

    2. Add new Maven Build

    3. Name the Process, Select the Base directory that will be deployed as war

    4. set the Goal --> jboss:start

    By following the steps you can deploy every thing via Eclipse.

    Have fun. :)

提交回复
热议问题