|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ivy.plugins.resolver.AbstractResolver
org.apache.ivy.plugins.resolver.BasicResolver
org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver
org.apache.ivy.plugins.resolver.RepositoryResolver
org.apache.ivy.plugins.resolver.URLResolver
org.codehaus.groovy.grails.resolve.GrailsRepoResolver
public class GrailsRepoResolver
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
|
| Fields inherited from class org.apache.ivy.plugins.resolver.BasicResolver |
|---|
DATE_FORMAT, DESCRIPTOR_OPTIONAL, DESCRIPTOR_REQUIRED |
| Constructor Summary | |
|---|---|
GrailsRepoResolver(java.lang.String name,
java.net.URL repositoryRoot)
|
|
| Method Summary | |
|---|---|
protected org.apache.ivy.plugins.resolver.util.ResolvedResource |
findResourceUsingPattern(org.apache.ivy.core.module.id.ModuleRevisionId mrid,
java.lang.String pattern,
org.apache.ivy.core.module.descriptor.Artifact artifact,
org.apache.ivy.plugins.resolver.util.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(org.apache.ivy.core.module.id.ModuleRevisionId mrid,
java.lang.String pattern)
|
| Methods inherited from class org.apache.ivy.plugins.resolver.URLResolver |
|---|
getTypeName |
| Methods inherited from class org.apache.ivy.plugins.resolver.RepositoryResolver |
|---|
download, dumpSettings, exist, findTokenValues, get, getDestination, getRepository, getResource, isAlwaysCheckExactRevision, listResources, listTokenValues, publish, put, putChecksum, putSignature, setAlwaysCheckExactRevision, setName, setRepository, setSettings, setSigner |
| Methods inherited from class org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver |
|---|
addArtifactPattern, addConfiguredArtifact, addConfiguredIvy, addIvyPattern, convertM2IdForResourceSearch, convertM2OrganizationForResourceSearch, convertM2ResourceSearchIdToNormal, convertM2TokenValuesForResourceSearch, findArtifactNames, findArtifactRef, findIvyFileRef, findIvyNames, findNames, findResource, findResourceUsingPatterns, getArtifactPatterns, getIvyPatterns, getModuleDescriptorExtension, isM2compatible, listTokenValues, setArtifactPatterns, setIvyPatterns, setM2compatible |
| Methods inherited from class org.apache.ivy.plugins.resolver.BasicResolver |
|---|
acceptLatest, checkModuleDescriptorRevision, clearArtifactAttempts, clearIvyAttempts, doFindArtifactRef, download, exists, filterNames, findFirstArtifactRef, getAndCheck, getArtifactRef, getChecksumAlgorithms, getDefaultRMDParser, getDependency, getPublicationDate, getRMDParser, getWorkspaceName, isAllownomd, isCheckconsistency, isEnvDependent, isForce, listModules, listOrganisations, listRevisions, listTokenValues, locate, logArtifactAttempt, logAttempt, logIvyAttempt, parse, reportFailure, reportFailure, setAllownomd, setCheckconsistency, setChecksums, setDescriptor, setEnvDependent, setForce, setWorkspaceName, shouldReturnResolvedModule, toString |
| Methods inherited from class org.apache.ivy.plugins.resolver.AbstractResolver |
|---|
abortPublishTransaction, beginPublishTransaction, checkInterrupted, checkLatest, commitPublishTransaction, doValidate, findModuleInCache, findModuleInCache, fromSystem, fromSystem, getCacheDownloadOptions, getCacheOptions, getChangingMatcherName, getChangingPattern, getDownloadOptions, getEventManager, getLatest, getLatestStrategy, getName, getNamespace, getParserSettings, getRepositoryCacheManager, getSettings, getSystemNode, hidePassword, isAfter, isValidate, saveModuleRevisionIfNeeded, setCache, setChangingMatcher, setChangingPattern, setCheckmodified, setEventManager, setLatest, setLatestStrategy, setNamespace, setRepositoryCacheManager, setValidate, toSystem, toSystem, toSystem, toSystem, toSystem, toSystem, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.net.URL repositoryRoot
| Constructor Detail |
|---|
public GrailsRepoResolver(java.lang.String name,
java.net.URL repositoryRoot)
| Method Detail |
|---|
public java.net.URL getRepositoryRoot()
protected org.apache.ivy.plugins.resolver.util.ResolvedResource findResourceUsingPattern(org.apache.ivy.core.module.id.ModuleRevisionId mrid,
java.lang.String pattern,
org.apache.ivy.core.module.descriptor.Artifact artifact,
org.apache.ivy.plugins.resolver.util.ResourceMDParser rmdparser,
java.util.Date date)
findResourceUsingPattern in class org.apache.ivy.plugins.resolver.RepositoryResolver
public java.lang.String transformGrailsRepositoryPattern(org.apache.ivy.core.module.id.ModuleRevisionId mrid,
java.lang.String pattern)
public groovy.util.slurpersupport.GPathResult getPluginList(java.io.File localFile)
localFile - The local file to save to XML too
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||