|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.resolve.AbstractIvyDependencyManager org.codehaus.groovy.grails.resolve.IvyDependencyManager
class IvyDependencyManager extends AbstractIvyDependencyManager
Implementation that uses Apache Ivy under the hood.
Field Summary |
---|
Property Summary | |
---|---|
boolean |
defaultDependenciesProvided
|
boolean |
inheritRepositories
|
boolean |
inheritsAll
|
org.apache.ivy.util.MessageLogger |
logger
|
java.util.Collection |
moduleExcludes
|
boolean |
pluginsOnly
|
java.util.Collection |
repositoryData
|
org.apache.ivy.core.resolve.ResolveEngine |
resolveEngine
|
boolean |
resolveErrors
|
org.apache.ivy.plugins.repository.TransferListener |
transferListener
|
Constructor Summary | |
IvyDependencyManager(java.lang.String applicationName, java.lang.String applicationVersion, BuildSettings settings = null, Metadata metadata = null, org.apache.ivy.core.settings.IvySettings ivySettings = new IvySettings()
Creates a new IvyDependencyManager instance |
Method Summary | |
---|---|
IvyDependencyManager
|
createCopy(BuildSettings buildSettings)
|
java.util.Set
|
getApplicationDependencyDescriptors(java.lang.String scope = null)
Returns all of the dependency descriptors for dependencies of the application and not those inherited from frameworks or plugins |
java.util.Set
|
getApplicationPluginDependencyDescriptors(java.lang.String scope = null)
Returns all of the dependency descriptors for dependencies of the application and not those inherited from frameworks or plugins |
java.util.Set
|
getEffectivePluginDependencyDescriptors()
The plugin dependencies excluding non-exported transitive deps and collapsed to the highest version of each dependency. |
java.util.Set
|
getExportedDependencyDescriptors(java.lang.String scope = null)
Returns all the dependency descriptors for dependencies of a plugin that have been exported for use in the application |
org.apache.ivy.util.MessageLogger
|
getLogger()
|
java.util.Set
|
getModuleRevisionIds(java.lang.String org)
|
boolean
|
isExcluded(java.lang.String name)
|
boolean
|
isPluginConfiguredByApplication(java.lang.String name)
|
org.apache.ivy.core.resolve.IvyNode[]
|
listDependencies(java.lang.String conf = null)
Lists all known dependencies for the given configuration name (defaults to all dependencies) |
org.apache.ivy.core.report.ResolveReport
|
loadDependencies(java.lang.String conf = '')
Similar to resolveDependencies, but will load the resolved dependencies into the application RootLoader if it exists |
void
|
resetGrailsPluginsResolver()
Resets the Grails plugin resolver if it is used |
org.apache.ivy.core.report.ResolveReport
|
resolveAllDependencies()
Resolves all dependencies for all known configurations |
java.util.List
|
resolveApplicationDependencies(java.lang.String conf = '')
Resolves only application dependencies and returns a list of the resolves JAR files |
org.apache.ivy.core.report.ResolveReport
|
resolveDependencies(org.apache.ivy.core.module.descriptor.Configuration conf)
|
org.apache.ivy.core.report.ResolveReport
|
resolveDependencies(java.lang.String conf)
Performs a resolve of all dependencies for the given configuration, potentially going out to the internet to download jars if they are not found locally |
org.apache.ivy.core.report.ResolveReport
|
resolveDependencies(java.lang.String conf, java.util.Map args)
Performs a resolve of all dependencies for the given configuration, potentially going out to the internet to download jars if they are not found locally |
org.apache.ivy.core.report.ResolveReport
|
resolveDependencies()
Performs a resolve of all dependencies, potentially going out to the internet to download jars if they are not found locally |
java.util.List
|
resolveExportedDependencies(java.lang.String conf = '')
Resolves only plugin dependencies that should be exported to the application |
org.apache.ivy.core.report.ResolveReport
|
resolvePluginDependencies(java.lang.String conf = '', java.util.Map args = [:])
Performs a resolve of declared plugin dependencies (zip files containing plugin distributions) |
void
|
serialize(java.lang.Object builder, boolean createRoot = true)
Serializes the parsed dependencies using the given builder. |
void
|
setChainResolver(org.apache.ivy.plugins.resolver.ChainResolver resolver)
Allows settings an alternative chain resolver to be used |
void
|
setLogger(org.apache.ivy.util.MessageLogger logger)
Sets the default message logger used by Ivy |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
boolean defaultDependenciesProvided
boolean inheritRepositories
boolean inheritsAll
org.apache.ivy.util.MessageLogger logger
java.util.Collection moduleExcludes
boolean pluginsOnly
java.util.Collection repositoryData
org.apache.ivy.core.resolve.ResolveEngine resolveEngine
boolean resolveErrors
org.apache.ivy.plugins.repository.TransferListener transferListener
Constructor Detail |
---|
IvyDependencyManager(java.lang.String applicationName, java.lang.String applicationVersion, BuildSettings settings = null, Metadata metadata = null, org.apache.ivy.core.settings.IvySettings ivySettings = new IvySettings()
Method Detail |
---|
IvyDependencyManager createCopy(BuildSettings buildSettings)
java.util.Set getApplicationDependencyDescriptors(java.lang.String scope = null)
java.util.Set getApplicationPluginDependencyDescriptors(java.lang.String scope = null)
java.util.Set getEffectivePluginDependencyDescriptors()
java.util.Set getExportedDependencyDescriptors(java.lang.String scope = null)
org.apache.ivy.util.MessageLogger getLogger()
java.util.Set getModuleRevisionIds(java.lang.String org)
boolean isExcluded(java.lang.String name)
boolean isPluginConfiguredByApplication(java.lang.String name)
org.apache.ivy.core.resolve.IvyNode[] listDependencies(java.lang.String conf = null)
org.apache.ivy.core.report.ResolveReport loadDependencies(java.lang.String conf = '')
void resetGrailsPluginsResolver()
org.apache.ivy.core.report.ResolveReport resolveAllDependencies()
java.util.List resolveApplicationDependencies(java.lang.String conf = '')
org.apache.ivy.core.report.ResolveReport resolveDependencies(org.apache.ivy.core.module.descriptor.Configuration conf)
org.apache.ivy.core.report.ResolveReport resolveDependencies(java.lang.String conf)
org.apache.ivy.core.report.ResolveReport resolveDependencies(java.lang.String conf, java.util.Map args)
org.apache.ivy.core.report.ResolveReport resolveDependencies()
java.util.List resolveExportedDependencies(java.lang.String conf = '')
org.apache.ivy.core.report.ResolveReport resolvePluginDependencies(java.lang.String conf = '', java.util.Map args = [:])
void serialize(java.lang.Object builder, boolean createRoot = true)
builder
- A builder such as groovy.xml.MarkupBuilder
void setChainResolver(org.apache.ivy.plugins.resolver.ChainResolver resolver)
resolver
- The resolver to be used
void setLogger(org.apache.ivy.util.MessageLogger logger)
Groovy Documentation