@Component(role=ArtifactFactory.class) public class DefaultArtifactFactory extends Object implements ArtifactFactory
ROLE
Constructor and Description |
---|
DefaultArtifactFactory() |
public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type)
createArtifact
in interface ArtifactFactory
public Artifact createArtifactWithClassifier(String groupId, String artifactId, String version, String type, String classifier)
createArtifactWithClassifier
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createBuildArtifact(String groupId, String artifactId, String version, String packaging)
createBuildArtifact
in interface ArtifactFactory
public Artifact createProjectArtifact(String groupId, String artifactId, String version)
createProjectArtifact
in interface ArtifactFactory
public Artifact createParentArtifact(String groupId, String artifactId, String version)
createParentArtifact
in interface ArtifactFactory
public Artifact createPluginArtifact(String groupId, String artifactId, VersionRange versionRange)
createPluginArtifact
in interface ArtifactFactory
public Artifact createProjectArtifact(String groupId, String artifactId, String version, String scope)
createProjectArtifact
in interface ArtifactFactory
public Artifact createExtensionArtifact(String groupId, String artifactId, VersionRange versionRange)
createExtensionArtifact
in interface ArtifactFactory
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.