Versions Compared

Key

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

...

This configuration is typically used in order to remotely deploy applications.

Support Matrix

Java

AntMaven2

Maven 3

(tick)

(tick)

(tick)

Java API

There are different ways of using a runtime configuration:

...

Code Block
xml
xml
<cargo containerId="tomcat5x" [...]>
  <configuration type="runtime"/>
  [...]
</cargo>

...

Maven 3 Plugin

Example:

Code Block
xml
xml
[...]
<container>
  <containerId>tomcat5x</containerId>
  [...]
</container>
<configuration>
  <type>runtime</type>
</configuration>
[...]

Note that the Maven2 Maven 3 Archetype showing remote deployer support is a complete and easy-to-use example for remote deployment. Please read: Webapp Creation and Remote Deployment Archetype.