org.codehaus.mojo.buildhelper
Class LocalIpMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.LocalIpMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="local-ip",
defaultPhase=PROCESS_TEST_CLASSES,
threadSafe=true)
public class LocalIpMojo- extends AbstractDefinePropertyMojo
Retrieve current host IP address and place it under a configurable project property
- Since:
- 1.8
- Author:
- Dan T. Tran
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalIpMojo
public LocalIpMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2005-2013 Codehaus. All Rights Reserved.