Skip to content

Instantly share code, notes, and snippets.

@TopekoX
Last active October 15, 2017 06:25
Show Gist options
  • Save TopekoX/15d7ed22e3b00fde07b2808d38220f11 to your computer and use it in GitHub Desktop.
Save TopekoX/15d7ed22e3b00fde07b2808d38220f11 to your computer and use it in GitHub Desktop.
Tomcat 8 integration with Maven
<build>
<finalName>belajar</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.6.4</version>
<configuration>
<container>
<containerId>tomcat8x</containerId>
<zipUrlInstaller>
<url>http://repo1.maven.org/maven2/org/apache/tomcat/tomcat/8.5.20/tomcat-8.5.20.zip</url>
</zipUrlInstaller>
</container>
</configuration>
</plugin>
</plugins>
</build>
@TopekoX
Copy link
Author

TopekoX commented Oct 15, 2017

run with command mvn cargo:run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment