org.codehaus.mojo.buildhelper
Class BeanshellPropertyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
          extended by org.codehaus.mojo.buildhelper.BeanshellPropertyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="bsh-property",
      defaultPhase=VALIDATE,
      threadSafe=true)
public class BeanshellPropertyMojo
extends AbstractDefinePropertyMojo

Define one or many properties as a result of a Beanshell script invocation. Like gmaven-plugin, some variables are defined:

Since:
1.8
Author:
Hervé Boutemy

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BeanshellPropertyMojo()
           
 
Method Summary
 void execute()
          Main plugin execution
 
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
 
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

BeanshellPropertyMojo

public BeanshellPropertyMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoFailureException
Main plugin execution

Throws:
org.apache.maven.plugin.MojoFailureException


Copyright © 2005-2013 Codehaus. All Rights Reserved.