Package org.codehaus.mojo.buildhelper
Class ReserveListenerPortMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.ReserveListenerPortMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="reserve-network-port",
defaultPhase=PROCESS_TEST_CLASSES,
threadSafe=true)
public class ReserveListenerPortMojo
extends org.apache.maven.plugin.AbstractMojo
Reserve a list of random and not in use network ports and place them in a configurable project properties.
- Since:
- 1.2
- Version:
- $Id: ReserveListnerPortMojo.java 6754 2008-04-13 15:14:04Z dantran $
- Author:
- Dan T. Tran
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ReserveListenerPortMojo
public ReserveListenerPortMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
reservePort
- Throws:
org.apache.maven.plugin.MojoExecutionException
-