Package org.codehaus.groovy.tools

# Class GrapeUtil

java.lang.Object
org.codehaus.groovy.tools.GrapeUtil

public class GrapeUtil extends Object
Utility methods for parsing compact Grape dependency coordinates.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GrapeUtil()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Map<String,Object>`
  `getIvyParts(String allstr)`
  Parses a dependency coordinate in Maven or Ivy shorthand form into its component parts.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GrapeUtil

    public GrapeUtil()

- ## Method Details

  - ### getIvyParts

    public static Map<String,Object> getIvyParts(String allstr)
    Parses a dependency coordinate in Maven or Ivy shorthand form into its component parts.

    Recognized forms:

    - Maven: `group:module:version[:classifier][@ext]`
    - Ivy: `group#module;version` (translated internally to the Maven form before parsing)
    Parameters:
      `allstr` - the dependency coordinate to parse
    Returns:
      a map containing any parsed `group`, `module`, `version`, `classifier`, and `ext` entries