public class ProjectArtifact extends DefaultArtifact implements ArtifactWithDependencies
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_COMPILE_PLUS_RUNTIME, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_RUNTIME_PLUS_SYSTEM, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
Constructor and Description |
---|
ProjectArtifact(MavenProject project) |
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
getDependencies() |
List<Dependency> |
getManagedDependencies() |
MavenProject |
getProject() |
addMetadata, compareTo, equals, getArtifactHandler, getArtifactId, getAvailableVersions, getBaseVersion, getBaseVersionInternal, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getFile, getGroupId, getId, getMetadataList, getRepository, getScope, getSelectedVersion, getType, getVersion, getVersionRange, hasClassifier, hashCode, isOptional, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setArtifactId, setAvailableVersions, setBaseVersion, setBaseVersionInternal, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFile, setGroupId, setOptional, setRelease, setRepository, setResolved, setResolvedVersion, setScope, setVersion, setVersionRange, toString, updateVersion
public ProjectArtifact(MavenProject project)
public MavenProject getProject()
public List<Dependency> getDependencies()
getDependencies
in interface ArtifactWithDependencies
public List<Dependency> getManagedDependencies()
getManagedDependencies
in interface ArtifactWithDependencies
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.