2014-12-06 15:04:22 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-03-17 00:00:11 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2014-12-06 15:04:22 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-deployment-tests</artifactId>
|
2016-09-21 04:20:06 +08:00
|
|
|
<version>1.3.9.BUILD-SNAPSHOT</version>
|
2014-12-06 15:04:22 +08:00
|
|
|
</parent>
|
|
|
|
<artifactId>spring-boot-deployment-test-tomcat</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>Spring Boot Tomcat Deployment Test</name>
|
|
|
|
<description>Spring Boot Tomcat Deployment Test</description>
|
2019-03-17 00:00:11 +08:00
|
|
|
<url>https://projects.spring.io/spring-boot/</url>
|
2014-12-06 15:04:22 +08:00
|
|
|
<organization>
|
|
|
|
<name>Pivotal Software, Inc.</name>
|
2019-03-17 00:00:11 +08:00
|
|
|
<url>https://www.spring.io</url>
|
2014-12-06 15:04:22 +08:00
|
|
|
</organization>
|
|
|
|
<properties>
|
|
|
|
<main.basedir>${basedir}/../..</main.basedir>
|
2015-09-01 22:41:29 +08:00
|
|
|
<cargo.container.id>tomcat8x</cargo.container.id>
|
|
|
|
<cargo.container.url>
|
2019-03-19 23:52:59 +08:00
|
|
|
https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/${tomcat.version}/tomcat-${tomcat.version}.zip
|
2015-09-01 22:41:29 +08:00
|
|
|
</cargo.container.url>
|
2014-12-06 15:04:22 +08:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>reserve-network-port</id>
|
|
|
|
<goals>
|
|
|
|
<goal>reserve-network-port</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<portNames>
|
|
|
|
<portName>appserver.port</portName>
|
2014-12-06 16:35:18 +08:00
|
|
|
<portName>appserver.ajp.port</portName>
|
2014-12-06 15:04:22 +08:00
|
|
|
</portNames>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>${appserver.port}</cargo.servlet.port>
|
2014-12-06 16:35:18 +08:00
|
|
|
<cargo.tomcat.ajp.port>${appserver.ajp.port}</cargo.tomcat.ajp.port>
|
2014-12-06 15:04:22 +08:00
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<port>${appserver.port}</port>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|