Class 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
    • Constructor Detail

      • ReserveListenerPortMojo

        public ReserveListenerPortMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException