public class MavenUtils extends Object
| Constructor and Description |
|---|
MavenUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.maven.artifact.Artifact |
getResolvedArtifact(CarbonArtifact carbonArtifact,
org.apache.maven.repository.RepositorySystem repositorySystem,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Returns an artifact which represented by a the given CarbonArtifact.
|
public static org.apache.maven.artifact.Artifact getResolvedArtifact(CarbonArtifact carbonArtifact, org.apache.maven.repository.RepositorySystem repositorySystem, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, org.apache.maven.artifact.repository.ArtifactRepository localRepository)
carbonArtifact - carbon artifact whose maven artifact needs to be resolvedrepositorySystem - RepositorySystem objectremoteRepositories - collection of remote repositorieslocalRepository - local repository representationCopyright © 2015 WSO2. All rights reserved.