Class MavenDependenciesResolverConfigurer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.maven.plugin.LegacySupport context  
      private org.codehaus.plexus.logging.Logger logger  
      private org.apache.maven.repository.RepositorySystem repositorySystem  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterFrameworkStarted​(EmbeddedEquinox framework)  
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        @Requirement
        private org.codehaus.plexus.logging.Logger logger
      • context

        @Requirement
        private org.apache.maven.plugin.LegacySupport context
      • repositorySystem

        @Requirement
        private org.apache.maven.repository.RepositorySystem repositorySystem
    • Constructor Detail

      • MavenDependenciesResolverConfigurer

        public MavenDependenciesResolverConfigurer()
    • Method Detail

      • resolve

        public 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)
        Description copied from interface: MavenDependenciesResolver
        Resolves the given artifact, optionally with the given dependency scope
        Specified by:
        resolve in interface MavenDependenciesResolver
        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: