org.apache.maven.artifact.factory

Interface ArtifactFactory

public interface ArtifactFactory

Field Summary
StringROLE
Method Summary
ArtifactcreateArtifact(String groupId, String artifactId, String version, String scope, String type)
ArtifactcreateArtifactWithClassifier(String groupId, String artifactId, String version, String type, String classifier)
ArtifactcreateBuildArtifact(String groupId, String artifactId, String version, String packaging)
ArtifactcreateDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope)
ArtifactcreateDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional)
ArtifactcreateDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope)
ArtifactcreateDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional)
ArtifactcreateExtensionArtifact(String groupId, String artifactId, VersionRange versionRange)
ArtifactcreateParentArtifact(String groupId, String artifactId, String version)
ArtifactcreatePluginArtifact(String groupId, String artifactId, VersionRange versionRange)
ArtifactcreateProjectArtifact(String groupId, String artifactId, String version)
ArtifactcreateProjectArtifact(String groupId, String artifactId, String version, String scope)

Field Detail

ROLE

public String ROLE

Method Detail

createArtifact

public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type)

createArtifactWithClassifier

public Artifact createArtifactWithClassifier(String groupId, String artifactId, String version, String type, String classifier)

createBuildArtifact

public Artifact createBuildArtifact(String groupId, String artifactId, String version, String packaging)

createDependencyArtifact

public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope)

createDependencyArtifact

public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional)

createDependencyArtifact

public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope)

createDependencyArtifact

public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional)

createExtensionArtifact

public Artifact createExtensionArtifact(String groupId, String artifactId, VersionRange versionRange)

createParentArtifact

public Artifact createParentArtifact(String groupId, String artifactId, String version)

createPluginArtifact

public Artifact createPluginArtifact(String groupId, String artifactId, VersionRange versionRange)

createProjectArtifact

public Artifact createProjectArtifact(String groupId, String artifactId, String version)

createProjectArtifact

public Artifact createProjectArtifact(String groupId, String artifactId, String version, String scope)
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.