ShrinkWrap Resolver Maven Plugin 2.0.0-alpha-4

org.jboss.shrinkwrap.resolver.plugin
Class PropagateExecutionContextMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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:


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PropagateExecutionContextMojo()
           
 
Method Summary
 void execute()
           
 String getNamespace()
          Gets current value of name space
 void setNamespace(String namespace)
          Sets the value of name space
 
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
 

Constructor Detail

PropagateExecutionContextMojo

public PropagateExecutionContextMojo()
Method Detail

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 -

ShrinkWrap Resolver Maven Plugin 2.0.0-alpha-4

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.