org.apache.maven.artifact.factory
Interface ArtifactFactory

All Known Implementing Classes:
DefaultArtifactFactory, ProjectArtifactFactory

public interface ArtifactFactory


Field Summary
static String ROLE
           
 
Method Summary
 Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type)
           
 Artifact createArtifactWithClassifier(String groupId, String artifactId, String version, String type, String classifier)
           
 Artifact createBuildArtifact(String groupId, String artifactId, String version, String packaging)
           
 Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope)
           
 Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional)
           
 Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope)
           
 Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional)
           
 Artifact createExtensionArtifact(String groupId, String artifactId, VersionRange versionRange)
           
 Artifact createParentArtifact(String groupId, String artifactId, String version)
           
 Artifact createPluginArtifact(String groupId, String artifactId, VersionRange versionRange)
           
 Artifact createProjectArtifact(String groupId, String artifactId, String version)
           
 Artifact createProjectArtifact(String groupId, String artifactId, String version, String scope)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

createArtifact

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

createArtifactWithClassifier

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

createDependencyArtifact

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

createDependencyArtifact

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

createDependencyArtifact

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

createDependencyArtifact

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

createBuildArtifact

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

createProjectArtifact

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

createParentArtifact

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

createPluginArtifact

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

createProjectArtifact

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

createExtensionArtifact

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


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