@Mojo(name="reserve-network-port",
defaultPhase=PROCESS_TEST_CLASSES,
threadSafe=true)
public class ReserveListenerPortMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
ReserveListenerPortMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
ServerSocket |
reservePort(int port) |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic ServerSocket reservePort(int port) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2005–2017 MojoHaus. All rights reserved.