org.codehaus.mojo.properties
Class TranslatePropertiesMojo

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

public class TranslatePropertiesMojo
extends org.apache.maven.plugin.AbstractMojo

Translate the indicated properties into classpath friendly form. eg Transform org.kuali.rice into org/kuali/rice A new project property with ".path" added as a suffix gets set with the transformed value


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TranslatePropertiesMojo()
           
 
Method Summary
 void execute()
           
 String[] getProperties()
           
protected  String getProperty(String key)
           
 void setProperties(String[] properties)
           
 
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

TranslatePropertiesMojo

public TranslatePropertiesMojo()
Method Detail

getProperty

protected String getProperty(String key)

execute

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

getProperties

public String[] getProperties()

setProperties

public void setProperties(String[] properties)


Copyright © 2009-2012 The Kuali Foundation. All Rights Reserved.