org.jboss.shrinkwrap.resolver.plugin
Class PropagateExecutionContextMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.shrinkwrap.resolver.plugin.PropagateExecutionContextMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class PropagateExecutionContextMojo
- extends org.apache.maven.plugin.AbstractMojo
Propagates current Maven Execution properties to mimic they were specified on the command line by user himself.
Following properties are propagated:
- pom-file
- offline
- user-settings
- global-settings
- active-profiles
| 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 |
PropagateExecutionContextMojo
public PropagateExecutionContextMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getNamespace
public String getNamespace()
- Gets current value of name space
- Returns:
setNamespace
public void setNamespace(String namespace)
- Sets the value of name space
- Parameters:
namespace -
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.