org.apache.maven.project.artifact
Class ProjectArtifact

java.lang.Object
  extended by org.apache.maven.artifact.DefaultArtifact
      extended by org.apache.maven.project.artifact.ProjectArtifact
All Implemented Interfaces:
Comparable<Artifact>, Artifact, ArtifactWithDependencies

public class ProjectArtifact
extends DefaultArtifact
implements ArtifactWithDependencies


Field Summary
 
Fields inherited from interface org.apache.maven.artifact.Artifact
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 Summary
ProjectArtifact(MavenProject project)
           
 
Method Summary
 List<Dependency> getDependencies()
           
 List<Dependency> getManagedDependencies()
           
 MavenProject getProject()
           
 
Methods inherited from class org.apache.maven.artifact.DefaultArtifact
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectArtifact

public ProjectArtifact(MavenProject project)
Method Detail

getProject

public MavenProject getProject()

getDependencies

public List<Dependency> getDependencies()
Specified by:
getDependencies in interface ArtifactWithDependencies

getManagedDependencies

public List<Dependency> getManagedDependencies()
Specified by:
getManagedDependencies in interface ArtifactWithDependencies


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.