Package org.apache.karaf.tooling.utils
Class DependencyHelperFactory
- java.lang.Object
-
- org.apache.karaf.tooling.utils.DependencyHelperFactory
-
public class DependencyHelperFactory extends Object
Service-locator based factory for available Aether system.Supports the Eclipse implementation for Maven 3.1.x+
-
-
Constructor Summary
Constructors Constructor Description DependencyHelperFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DependencyHelpercreateDependencyHelper(org.codehaus.plexus.PlexusContainer container, org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, int cacheSize, org.apache.maven.plugin.logging.Log log)Create a newDependencyHelperbased on what has been found inPlexusContainer.
-
-
-
Method Detail
-
createDependencyHelper
public static DependencyHelper createDependencyHelper(org.codehaus.plexus.PlexusContainer container, org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, int cacheSize, org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException
Create a newDependencyHelperbased on what has been found inPlexusContainer.- Parameters:
container- The Maven Plexus container to use.mavenProject- The Maven project to use.mavenSession- The Maven session.cacheSize- Size of the artifact/file LRU cachelog- The log to use for the messages.- Returns:
- The
DependencyHelperdepending of the Maven version used. - Throws:
org.apache.maven.plugin.MojoExecutionException- If the plugin execution fails.
-
-