mirror of https://github.com/apache/maven.git
PR: MNG-644
remove unused method git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293348 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f328ad0f63
commit
7aa60e32d4
|
@ -23,21 +23,9 @@ public interface ArtifactFactory
|
|||
{
|
||||
String ROLE = ArtifactFactory.class.getName();
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type,
|
||||
String inheritedScope );
|
||||
|
||||
// TODO: deprecate and chase down (probably used for copying only)
|
||||
Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type );
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String scope, String type,
|
||||
String classifier );
|
||||
|
||||
Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type,
|
||||
String classifier );
|
||||
|
||||
|
|
|
@ -37,12 +37,6 @@ public class DefaultArtifactFactory
|
|||
return createArtifact( groupId, artifactId, version, scope, type, null, null );
|
||||
}
|
||||
|
||||
public Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String scope,
|
||||
String type, String classifier )
|
||||
{
|
||||
return createArtifact( groupId, artifactId, version, scope, type, classifier, null );
|
||||
}
|
||||
|
||||
public Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type,
|
||||
String classifier )
|
||||
{
|
||||
|
@ -97,12 +91,6 @@ public class DefaultArtifactFactory
|
|||
return createArtifact( groupId, artifactId, versionRange, "jar", null, Artifact.SCOPE_RUNTIME, null );
|
||||
}
|
||||
|
||||
public Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type,
|
||||
String inheritedScope )
|
||||
{
|
||||
return createArtifact( groupId, artifactId, version, scope, type, null, inheritedScope );
|
||||
}
|
||||
|
||||
private Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type,
|
||||
String classifier, String inheritedScope )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue