1 package org.apache.maven.artifact.factory; 2 3 18 19 import org.apache.maven.artifact.Artifact; 20 import org.apache.maven.artifact.versioning.VersionRange; 21 22 public interface ArtifactFactory 23 { 24 String ROLE = ArtifactFactory.class.getName(); 25 26 Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type ); 28 29 Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type, 30 String classifier ); 31 32 Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, 33 String classifier, String scope ); 34 35 Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, 36 String classifier, String scope, boolean optional ); 37 38 Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, 39 String classifier, String scope, String inheritedScope ); 40 41 Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, 42 String classifier, String scope, String inheritedScope, boolean optional ); 43 44 Artifact createBuildArtifact( String groupId, String artifactId, String version, String packaging ); 45 46 Artifact createProjectArtifact( String groupId, String artifactId, String version ); 47 48 Artifact createParentArtifact( String groupId, String artifactId, String version ); 49 50 Artifact createPluginArtifact( String groupId, String artifactId, VersionRange versionRange ); 51 52 Artifact createProjectArtifact( String groupId, String artifactId, String version, String scope ); 53 54 Artifact createExtensionArtifact( String groupId, String artifactId, VersionRange versionRange ); 55 } 56 | Popular Tags |