Skip to content

Commit d5ddcec

Browse files
Tomcat7 with cargo-plugin
1 parent 41dc25c commit d5ddcec

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

pom.xml

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,10 +403,10 @@
403403
<plugin>
404404
<groupId>org.apache.maven.plugins</groupId>
405405
<artifactId>maven-compiler-plugin</artifactId>
406-
<version>3.1</version>
406+
<version>3.3</version>
407407
<configuration>
408-
<source>1.7</source>
409-
<target>1.7</target>
408+
<source>1.8</source>
409+
<target>1.8</target>
410410
<compilerArgument>-Xlint:all</compilerArgument>
411411
<showWarnings>true</showWarnings>
412412
<showDeprecation>true</showDeprecation>
@@ -547,7 +547,7 @@
547547
</links> -->
548548
<linksource>true</linksource>
549549
<maxmemory>1024m</maxmemory>
550-
<source>1.7</source>
550+
<source>1.8</source>
551551
<encoding>${encoding}</encoding>
552552
</configuration>
553553
</plugin>
@@ -588,7 +588,7 @@
588588
<configuration>
589589
<sourceEncoding>${encoding}</sourceEncoding>
590590
<minimumTokens>100</minimumTokens>
591-
<targetJdk>1.7</targetJdk>
591+
<targetJdk>1.8</targetJdk>
592592
<excludeRoots>
593593
<excludeRoot>target</excludeRoot>
594594
</excludeRoots>
@@ -643,6 +643,29 @@
643643
<artifactId>tomcat7-maven-plugin</artifactId>
644644
<version>2.2</version>
645645
</plugin>
646+
<plugin>
647+
<groupId>org.codehaus.cargo</groupId>
648+
<artifactId>cargo-maven2-plugin</artifactId>
649+
<version>1.4.16</version>
650+
<configuration>
651+
<container>
652+
<containerId>tomcat7x</containerId>
653+
<zipUrlInstaller>
654+
<url>http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/apache-tomcat-7.0.50.zip</url>
655+
</zipUrlInstaller>
656+
</container>
657+
<configuration>
658+
<home>${project.build.directory}/tomcat7x/container</home>
659+
</configuration>
660+
<deployables>
661+
<deployable>
662+
<properties>
663+
<context>greenshop</context>
664+
</properties>
665+
</deployable>
666+
</deployables>
667+
</configuration>
668+
</plugin>
646669
</plugins>
647670
</build>
648671
<packaging>war</packaging>

0 commit comments

Comments
 (0)