use dynanic ldap port allocation

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428475 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-03 17:03:13 +00:00
parent 56b338cb19
commit 05a128bc6e

View File

@ -87,23 +87,20 @@
<artifactId>maven-bundle-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>port-allocator-maven-plugin</artifactId>
<version>1.1</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>allocate-ldap-port</id>
<phase>process-classes</phase>
<goals>
<goal>allocate-ports</goal>
<goal>reserve-network-port</goal>
</goals>
<configuration>
<ports>
<port>
<name>ldapPort</name>
<portNumber>10390</portNumber>
</port>
</ports>
<portNames>
<portName>ldapPort</portName>
</portNames>
</configuration>
</execution>
</executions>