build-helper:reserve-network-port

Full name:

org.codehaus.mojo:build-helper-maven-plugin:1.7:reserve-network-port

Description:

Reserve a list of random and not in used network ports and place them in a configurable project properties.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.2.
  • Binds by default to the lifecycle phase: process-test-classes.

Required Parameters

Name Type Since Description
portNames String[] 1.2 A List to property names to be placed in maven project

Optional Parameters

Name Type Since Description
outputFile File 1.2 Output file to write the generated properties to. if not given, they are written to maven project

Parameter Details

outputFile:

Output file to write the generated properties to. if not given, they are written to maven project
  • Type: java.io.File
  • Since: 1.2
  • Required: No

portNames:

A List to property names to be placed in maven project
  • Type: java.lang.String[]
  • Since: 1.2
  • Required: Yes