@Singleton
public class DependenciesResolver
extends org.codehaus.plexus.logging.AbstractLogEnabled
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_PATTERN_MESSAGE
Message used when an invalid expression pattern is found.
|
| Constructor and Description |
|---|
DependenciesResolver() |
| Modifier and Type | Method and Description |
|---|---|
<R> SortedMap<String,R> |
loadDependenciesAndConvertThem(org.apache.maven.project.MavenProject project,
MavenProjectDependenciesConfiguration configuration,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
SortedMap<String,org.apache.maven.project.MavenProject> cache,
Function<org.apache.maven.project.MavenProject,R> convertFunction) |
protected boolean |
matchesExcluded(org.apache.maven.artifact.Artifact project,
Pattern excludedGroupPattern,
Pattern excludedArtifactPattern)
Tests if the given project can be excluded against a groupdId pattern and a artifact pattern.
|
public static final String INVALID_PATTERN_MESSAGE
public <R> SortedMap<String,R> loadDependenciesAndConvertThem(org.apache.maven.project.MavenProject project, MavenProjectDependenciesConfiguration configuration, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, SortedMap<String,org.apache.maven.project.MavenProject> cache, Function<org.apache.maven.project.MavenProject,R> convertFunction)
protected boolean matchesExcluded(org.apache.maven.artifact.Artifact project,
Pattern excludedGroupPattern,
Pattern excludedArtifactPattern)
project - the project to testexcludedGroupPattern - the exlcude group patternexcludedArtifactPattern - the exclude artifact pattenrtrue if the project is excludable, false otherwiseCopyright © 2017 JBoss by Red Hat. All rights reserved.