Rio Project 4.2 API Documentation



org.rioproject.resolver.maven2
Class PomUtils

java.lang.Object
  extended by org.rioproject.resolver.maven2.PomUtils
All Implemented Interfaces:
groovy.lang.GroovyObject

public class PomUtils
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
PomUtils()
           
 
Method Summary
protected  groovy.lang.MetaClass $getStaticMetaClass()
           
 groovy.lang.MetaClass getMetaClass()
           
static URL getParentPomFromProject(File pomFile, String parentGroupId, String parentArtifactId)
           
static String getPomGAV(File pomFile, String parentVersion)
           
static Map<String,File> getProjectModuleMap(File pomFile, String version)
           
 Object getProperty(String property)
           
static Object getXmlSlurper()
           
 Object invokeMethod(String method, Object arguments)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PomUtils

public PomUtils()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getParentPomFromProject

public static URL getParentPomFromProject(File pomFile,
                                          String parentGroupId,
                                          String parentArtifactId)

getProjectModuleMap

public static Map<String,File> getProjectModuleMap(File pomFile,
                                                   String version)

getPomGAV

public static String getPomGAV(File pomFile,
                               String parentVersion)

getXmlSlurper

public static Object getXmlSlurper()

$getStaticMetaClass

protected groovy.lang.MetaClass $getStaticMetaClass()

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.