Author: olamy Date: Fri Jan 4 11:47:41 2013 New Revision: 1428809 URL: http://svn.apache.org/viewvc?rev=1428809&view=rev Log: use build-helper-maven-plugin to allocate server port
Modified: maven/indexer/trunk/indexer-cli/pom.xml maven/indexer/trunk/indexer-core/pom.xml maven/indexer/trunk/pom.xml Modified: maven/indexer/trunk/indexer-cli/pom.xml URL: http://svn.apache.org/viewvc/maven/indexer/trunk/indexer-cli/pom.xml?rev=1428809&r1=1428808&r2=1428809&view=diff ============================================================================== --- maven/indexer/trunk/indexer-cli/pom.xml (original) +++ maven/indexer/trunk/indexer-cli/pom.xml Fri Jan 4 11:47:41 2013 @@ -166,23 +166,21 @@ under the License. </executions> </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> <phase>validate</phase> <goals> - <goal>allocate-ports</goal> + <goal>reserve-network-port</goal> </goals> </execution> </executions> <configuration> - <ports> - <port> - <name>index-server</name> - </port> - </ports> + <portNames> + <portName>index-server</portName> + </portNames> </configuration> </plugin> </plugins> Modified: maven/indexer/trunk/indexer-core/pom.xml URL: http://svn.apache.org/viewvc/maven/indexer/trunk/indexer-core/pom.xml?rev=1428809&r1=1428808&r2=1428809&view=diff ============================================================================== --- maven/indexer/trunk/indexer-core/pom.xml (original) +++ maven/indexer/trunk/indexer-core/pom.xml Fri Jan 4 11:47:41 2013 @@ -214,23 +214,21 @@ under the License. </executions> </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> <phase>validate</phase> <goals> - <goal>allocate-ports</goal> + <goal>reserve-network-port</goal> </goals> </execution> </executions> <configuration> - <ports> - <port> - <name>index-server</name> - </port> - </ports> + <portNames> + <portName>index-server</portName> + </portNames> </configuration> </plugin> </plugins> Modified: maven/indexer/trunk/pom.xml URL: http://svn.apache.org/viewvc/maven/indexer/trunk/pom.xml?rev=1428809&r1=1428808&r2=1428809&view=diff ============================================================================== --- maven/indexer/trunk/pom.xml (original) +++ maven/indexer/trunk/pom.xml Fri Jan 4 11:47:41 2013 @@ -305,9 +305,9 @@ under the License. <pluginExecutions> <pluginExecution> <pluginExecutionFilter> - <groupId>org.sonatype.plugins</groupId> - <artifactId>port-allocator-maven-plugin</artifactId> - <versionRange>[1.1,)</versionRange> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <versionRange>[1.7,)</versionRange> <goals> <goal>allocate-ports</goal> </goals>