Skip to content

Commit

Permalink
Merge pull request #454 from terasolunaorg/issues/451_support-cargo-5…
Browse files Browse the repository at this point in the history
….0.x

[5.0.x] Add pluginManagement of cargo-maven2-plugin #451
  • Loading branch information
ikeyat committed Dec 21, 2015
2 parents 0faa644 + e062f7c commit 922f40d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions terasoluna-gfw-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,37 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>${cargo-maven2-plugin.version}</version>
<configuration>
<configuration>
<properties>
<cargo.servlet.uriencoding>UTF-8</cargo.servlet.uriencoding>
<cargo.jvmargs>${cargo.jvmargs}</cargo.jvmargs>
</properties>
</configuration>
<container>
<containerId>${cargo.container.id}</containerId>
<zipUrlInstaller>
<url>${cargo.container.url}</url>
</zipUrlInstaller>
</container>
<daemon>
<properties>
<cargo.daemon.url>${cargo.daemon.url}</cargo.daemon.url>
<cargo.daemon.handleid>${project.artifactId}</cargo.daemon.handleid>
</properties>
</daemon>
<deployables>
<deployable>
<location>${project.basedir}/target/${project.artifactId}.war</location>
<type>war</type>
</deployable>
</deployables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down Expand Up @@ -552,10 +583,17 @@
<org.apache.tomcat.maven.version>2.2</org.apache.tomcat.maven.version>
<coveralls-maven-plugin.version>4.1.0</coveralls-maven-plugin.version>
<jacoco-maven-plugin.version>0.7.5.201505241946</jacoco-maven-plugin.version>
<cargo-maven2-plugin.version>1.4.17</cargo-maven2-plugin.version>
<!-- == Other Properties== -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<archetype.test.skip>true</archetype.test.skip>
<encoding>UTF-8</encoding>
<java-version>1.6</java-version>
<!-- == Properties for Cargo Plugin == -->
<cargo.jvmargs>-Xms512m -Xmx1024m</cargo.jvmargs>
<cargo.daemon.url>http://localhost:18000</cargo.daemon.url>
<cargo.container.id>tomcat8x</cargo.container.id>
<cargo.container.url>http://archive.apache.org/dist/tomcat/tomcat-8/v${cargo.tomcat8.version}/bin/apache-tomcat-${cargo.tomcat8.version}.zip</cargo.container.url>
<cargo.tomcat8.version>8.0.30</cargo.tomcat8.version>
</properties>
</project>

0 comments on commit 922f40d

Please sign in to comment.