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 938
猫巷女王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

            
                org.jboss.as.plugins
                jboss-as-maven-plugin
                7.5.Final
            
    

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

    It will deploy war on JBoss server.

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