trivial: made sure IT is run with a randomised http.port
diff --git a/it/pom.xml b/it/pom.xml
index 8ab4baa..2cd5eaa 100644
--- a/it/pom.xml
+++ b/it/pom.xml
@@ -35,7 +35,6 @@
<properties>
<jacoco.maven.plugin.version>0.8.2</jacoco.maven.plugin.version>
<http.host>localhost</http.host>
- <http.port>8080</http.port>
<sling.vm.options>-Xmx256m -Djava.awt.headless=true</sling.vm.options>
<skipTests>false</skipTests>
</properties>
@@ -49,13 +48,13 @@
<execution>
<id>reserve-network-port</id>
<goals>
- <!-- pre-integration-test is too late -->
<goal>reserve-network-port</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<portNames>
<portName>http.port</portName>
+ <portName>sling.control.port</portName>
</portNames>
</configuration>
</execution>
@@ -288,6 +287,7 @@
<properties>
<sling.vm.options>-Xmx256m -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000</sling.vm.options>
<skipTests>true</skipTests>
+ <http.port>8080</http.port>
</properties>
<build>
<plugins>