mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:35:50 +00:00
Add parameter to configure Tomcat HTTP port
To run multiple simultaneous test jobs on the same machine the embedded Tomcats must use different TCP ports.
This commit is contained in:
parent
099ca723d4
commit
744690742d
1 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,9 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
||||||
|
<!-- Tomcat configuration -->
|
||||||
|
<tomcat.http.port>9966</tomcat.http.port>
|
||||||
|
|
||||||
<!-- Generic properties -->
|
<!-- Generic properties -->
|
||||||
<java.version>1.6</java.version>
|
<java.version>1.6</java.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
@ -445,7 +448,7 @@
|
||||||
<version>2.0</version>
|
<version>2.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<server>tomcat-development-server</server>
|
<server>tomcat-development-server</server>
|
||||||
<port>9966</port>
|
<port>${tomcat.http.port}</port>
|
||||||
<path>/petclinic</path>
|
<path>/petclinic</path>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
Loading…
Reference in a new issue