EdwardLau
EdwardLau

Reputation: 1149

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

I want to trying maven-jboss-plugin 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?

Upvotes: 3

Views: 7084

Answers (3)

Kumar Sambhav
Kumar Sambhav

Reputation: 7765

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).

Upvotes: 1

JoseK
JoseK

Reputation: 31371

Maven-JBoss-plugin is deprecated.

Use jboss-maven-plugin as per the example here

Upvotes: 5

khmarbaise
khmarbaise

Reputation: 97517

Maybe you can use the maven-cargo-plugin ?

Upvotes: 2

Related Questions