]> source.dussan.org Git - archiva.git/commitdiff
use dynanic ldap port allocation
authorOlivier Lamy <olamy@apache.org>
Thu, 3 Jan 2013 17:03:13 +0000 (17:03 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 3 Jan 2013 17:03:13 +0000 (17:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428475 13f79535-47bb-0310-9956-ffa450edef68

redback-users/redback-users-providers/redback-users-ldap/pom.xml

index 12b108b9dffd9689ae643e7e2b142167bf9fef0c..9501745cd57d4cf489f5da2bb45fa63661c9fa5a 100644 (file)
         <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>