mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:25:49 +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>
|
||||
|
||||
<!-- Tomcat configuration -->
|
||||
<tomcat.http.port>9966</tomcat.http.port>
|
||||
|
||||
<!-- Generic properties -->
|
||||
<java.version>1.6</java.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
@ -445,7 +448,7 @@
|
|||
<version>2.0</version>
|
||||
<configuration>
|
||||
<server>tomcat-development-server</server>
|
||||
<port>9966</port>
|
||||
<port>${tomcat.http.port}</port>
|
||||
<path>/petclinic</path>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
|
Loading…
Reference in a new issue