开发者

How use the maven-jboss-plugin?If I want to deploy the war how to do?

开发者 https://www.devze.com 2023-01-04 22:15 出处:网络
I want to trying maven-jboss-plugi开发者_如何学JAVAn but I don\'t know what is this,and I want to deploy the war use the jboss-maven-plugin or maven-jboss-plugin?How to use?Maven-JBoss-plugin is depre

I want to trying maven-jboss-plugi开发者_如何学JAVAn but I don't know what is this,and I want to deploy the war use the jboss-maven-plugin or maven-jboss-plugin?How to use?


Maven-JBoss-plugin is deprecated.

Use jboss-maven-plugin as per the example here


Maybe you can use the maven-cargo-plugin ?


For AS7, one can use the plugin provided by JBOSS itself.

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

One of the features I liked was the add-resource-goal.

It lets you add resources like datasource and JMS to your JBOSS server from your project's pom.xml.

Find more details here and here (deploy example).

0

精彩评论

暂无评论...
验证码 换一张
取 消