Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,21 @@ class GrapeMain implements Runnable {
}

@Command(name = 'resolve', header = 'Enumerates the jars used by a grape',
description = 'Prints the file locations of the jars representing the artifcats for the specified module(s) and the respective transitive dependencies.')
customSynopsis = "grape resolve [-adhisv] (<groupId> <artifactId> <version>)+",
description = [
'Prints the file locations of the jars representing the artifcats for the specified module(s) and the respective transitive dependencies.',
'',
'Parameters:',
' <group> Which module group the module comes from. Translates directly',
' to a Maven groupId or an Ivy Organization. Any group',
' matching /groovy[x][\\..*]^/ is reserved and may have',
' special meaning to the groovy endorsed modules.',
' <module> The name of the module to load. Translated directly to a',
' Maven artifactId or an Ivy artifact.',
' <version> The version of the module to use. Either a literal version `1.',
' 1-RC3` or an Ivy Range `[2.2.1,)` meaning 2.2.1 or any',
' greater version).'
])
private static class Resolve implements Runnable {

@Option(names = ['-a', '--ant'], description = 'Express dependencies in a format applicable for an ant script')
Expand Down