Eclipse - maven - what goal should I execute to actually deploy to Wildfly from maven (achieve the same result as the “run on server” eclipse command)

后端 未结 1 919
猫巷女王i
猫巷女王i 2021-01-15 19:19

New to maven - I have an eclipse project that I can Right click > Run as... > Run on server and it runs successfully on my local Wildfly installation. Is there a wa

相关标签:
1条回答
  • 2021-01-15 20:02

    You can use jboss plugin

            <plugin>
                <groupId>org.jboss.as.plugins</groupId>
                <artifactId>jboss-as-maven-plugin</artifactId>
                <version>7.5.Final</version>
            </plugin>
    

    Then set goal as: “jboss-as:deploy clean”

    It will deploy war on JBoss server.

    0 讨论(0)
提交回复
热议问题