@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.MojoExecutionException
public ServerSocket reservePort(int port) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2005–2020 MojoHaus. All rights reserved.