Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Based on the version of JBoss / WildFly you are using, please use the quick links below to directly go to the associated chapter:

Anchor
jboss4x
jboss4x

JBoss 4.0.x and 4.2.x

...

  • cargo.jboss.clustered: if true, deployment is done in the farm directory
  • cargo.jboss.configuration: JBoss profile name, default name is default

Anchor
jboss7x
jboss7x

JBoss 7.0.x

...

, 7.1.x, 7.2.x and 7.3.x / WildFly 8.x

The same instructions for JBoss 5.x, 5.1.x and 6.x also apply for JBoss 7.0.x, 7.1.x, 7.2.x and 7.3.x as well as WildFly 8.x, with some differences:

  • The JAR files to include are different
  • JBoss 7.0.x, 7.1.x, 7.2.x and 7.3.x use the cargo.jboss.management-native.port port
  • WildFly 8.x use uses the cargo.jboss.management-http.port port.

The following examples detail these differences.

...

 

Code Block
xml
xml
<plugin>
  <groupId>org.codehaus.cargo</groupId>
  <artifactId>cargo-maven2-plugin</artifactId>
  <version>${cargo.plugin.version}</version>
  <configuration>
    <container>
      <containerId>jboss7x</containerId>
      <type>remote</type>
    </container>
    <configuration>
      <type>runtime</type>
      <properties>
        <cargo.hostname>production27</cargo.hostname>
        <cargo.jboss.management-native.port>19999</cargo.jboss.management-native.port>
      </properties>
    </configuration>
  </configuration>
  <dependencies>
    <dependency>
      <groupId>org.jboss.as</groupId>
      <artifactId>jboss-as-controller-client</artifactId>
      <version>7.0.2.Final</version>
    </dependency>
  </dependencies>
</plugin>

...