public final class MavenDependencyInjector extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.maven.artifact.Artifact> |
filterInjectedDependencies(Collection<? extends org.apache.maven.artifact.Artifact> artifacts)
Filters out the system scope artifacts added through this class.
|
static void |
injectMavenDependencies(org.apache.maven.project.MavenProject project,
DependencyArtifacts dependencies,
BundleReader bundleReader,
org.codehaus.plexus.logging.Logger logger)
Injects the dependencies of a project (as determined by the p2 dependency resolver) back into
the Maven model.
|
public static void injectMavenDependencies(org.apache.maven.project.MavenProject project,
DependencyArtifacts dependencies,
BundleReader bundleReader,
org.codehaus.plexus.logging.Logger logger)
project - A projectdependencies - The p2-resolved dependencies of the project.public static List<org.apache.maven.artifact.Artifact> filterInjectedDependencies(Collection<? extends org.apache.maven.artifact.Artifact> artifacts)
artifacts - the list of the resolved artifacts of a project which may have dependencies
injected by this classCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.