Skip to content

Instantly share code, notes, and snippets.

@dopoljak
Created January 14, 2014 07:55
Show Gist options
  • Save dopoljak/8414712 to your computer and use it in GitHub Desktop.
Save dopoljak/8414712 to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.5</version>
<configuration>
<container>
<containerId>glassfish4x</containerId>
<type>remote</type>
</container>
<configuration>
<type>runtime</type>
<properties>
<cargo.hostname>server_address***</cargo.hostname>
<cargo.remote.username>admin***</cargo.remote.username>
<cargo.remote.password>admin***</cargo.remote.password>
<cargo.remote.port>8080***</cargo.remote.port>
<cargo.glassfish.domain.name>/domain1***</cargo.glassfish.domain.name>
</properties>
</configuration>
<deployables>
<deployable>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<type>war</type>
<properties>
<context>/AppContextName***</context>
</properties>
</deployable>
</deployables>
</configuration>
<dependencies>
<dependency>
<groupId>org.glassfish.deployment</groupId>
<artifactId>deployment-client</artifactId>
<version>3.2-b06</version>
</dependency>
</dependencies>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment