Interface MavenDependenciesResolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.io.File getRepositoryRoot()  
      java.util.Collection<?> resolve​(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.String packaging, java.lang.String classifier, java.lang.String dependencyScope)
      Resolves the given artifact, optionally with the given dependency scope
    • Method Detail

      • resolve

        java.util.Collection<?> resolve​(java.lang.String groupId,
                                        java.lang.String artifactId,
                                        java.lang.String version,
                                        java.lang.String packaging,
                                        java.lang.String classifier,
                                        java.lang.String dependencyScope)
        Resolves the given artifact, optionally with the given dependency scope
        Parameters:
        groupId - group id of the artifact, required
        artifactId - artifact id of the artifact, required
        version - version of the artifact, required
        packaging - the packaging type, might me null in witch case "jar" is assumed
        classifier - the classifier or null if no classifier is desired
        dependencyScope - optional dependency scope, if given it tries to resolve transitive dependencies of the given artifact as well
        Returns:
      • getRepositoryRoot

        java.io.File getRepositoryRoot()