public class DependencyResolver extends Object
| Constructor and Description |
|---|
DependencyResolver() |
| Modifier and Type | Method and Description |
|---|---|
static List<HashMap<String,CarbonArtifact>> |
getDependenciesForProject(org.apache.maven.project.MavenProject project,
org.apache.maven.repository.RepositorySystem repositorySystem,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Resolve the given project dependencies into CarbonArtifact objects.
|
public static List<HashMap<String,CarbonArtifact>> getDependenciesForProject(org.apache.maven.project.MavenProject project, org.apache.maven.repository.RepositorySystem repositorySystem, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, org.apache.maven.artifact.repository.ArtifactRepository localRepository) throws IOException
project - MavenProject Maven ProjectrepositorySystem - RepositorySystem objectremoteRepositories - collection of remote repositorieslocalRepository - local repository representationList<HashMap<String, CarbonArtifact>>, 1st item being HashMap<String,
CarbonArtifact> containing osgi bundles specified as dependencies and 2nd item being HashMap<String,
CarbonArtifact> containing carbon features specified as dependencies.IOException - throws when unable to retrieve a given maven artifactCopyright © 2015 WSO2. All rights reserved.