Removing all jetty properties based on PR suggestions.
<properties>
- <!-- Default ports for local development: -->
- <port.jetty.listen>48080</port.jetty.listen>
- <port.jetty.shutdown>19081</port.jetty.shutdown>
-
<strongbox.host>localhost</strongbox.host>
- <strongbox.port>${port.jetty.listen}</strongbox.port>
+ <strongbox.port>48080</strongbox.port>
<dir.strongbox.home>${project.build.directory}/strongbox</dir.strongbox.home>
<dir.strongbox.vault>${project.build.directory}/strongbox-vault</dir.strongbox.vault>
</dependencies>
<profiles>
- <!-- These two profiles need to be on top: -->
- <profile>
- <id>reserve-ports</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
-
- <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>initialize</phase>
- <configuration>
- <portNames>
- <portName>port.jetty.listen</portName>
- <portName>port.jetty.shutdown</portName>
- </portNames>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <!-- This profile needs to be on top: -->
<profile>
<id>set-default-ports</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
-
- <properties>
- <!-- Default ports for local development: -->
- <port.jetty.listen>48080</port.jetty.listen>
- <port.jetty.shutdown>19081</port.jetty.shutdown>
- </properties>
</profile>
- <!-- These two profiles need to be on top. -->
+ <!-- This profile needs to be on top. -->
<profile>
<!-- Required for the sake of the integration tests: -->
</activation>
<properties>
- <strongbox.port>${port.jetty.listen}</strongbox.port>
+ <strongbox.port>${strongbox.port}</strongbox.port>
</properties>
</profile>
<profile>
<name>strongbox.port</name>
</property>
</activation>
-
- <properties>
- <port.jetty.listen>${strongbox.port}</port.jetty.listen>
- </properties>
</profile>
</profiles>
