|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ivy.plugins.resolver.URLResolver org.codehaus.groovy.grails.resolve.GrailsRepoResolver
public class GrailsRepoResolver extends URLResolver
Overrides the default Ivy resolver to substitute the release tag in Grails' repository format prior to a resolve
Field Summary | |
---|---|
protected java.net.URL |
repositoryRoot
|
Constructor Summary | |
GrailsRepoResolver(java.lang.String name, java.net.URL repositoryRoot)
|
Method Summary | |
---|---|
protected ResolvedResource
|
findResourceUsingPattern(ModuleRevisionId mrid, java.lang.String pattern, Artifact artifact, ResourceMDParser rmdparser, java.util.Date date)
|
groovy.util.slurpersupport.GPathResult
|
getPluginList(java.io.File localFile)
Obtains the XML representation of the plugin-list.xml held in a Grails compatible repository |
java.net.URL
|
getRepositoryRoot()
|
java.lang.String
|
transformGrailsRepositoryPattern(ModuleRevisionId mrid, java.lang.String pattern)
|
Field Detail |
---|
protected java.net.URL repositoryRoot
Constructor Detail |
---|
public GrailsRepoResolver(java.lang.String name, java.net.URL repositoryRoot)
Method Detail |
---|
@Override protected ResolvedResource findResourceUsingPattern(ModuleRevisionId mrid, java.lang.String pattern, Artifact artifact, ResourceMDParser rmdparser, java.util.Date date)
@SuppressWarnings("rawtypes") public groovy.util.slurpersupport.GPathResult getPluginList(java.io.File localFile)
localFile
- The local file to save to XML too
public java.net.URL getRepositoryRoot()
public java.lang.String transformGrailsRepositoryPattern(ModuleRevisionId mrid, java.lang.String pattern)
Groovy Documentation