1 package org.apache.maven.repository.reporting;
4 * Copyright 2005-2006 The Apache Software Foundation.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 import org.apache.maven.artifact.Artifact;
20 import org.apache.maven.artifact.factory.ArtifactFactory;
21 import org.apache.maven.artifact.versioning.VersionRange;
24 * @noinspection ReturnOfNull
26 public class MockArtifactFactory
27 implements ArtifactFactory
29 public Artifact createArtifact( String s, String s1, String s2, String s3, String s4 )
34 public Artifact createArtifactWithClassifier( String s, String s1, String s2, String s3, String s4 )
39 public Artifact createDependencyArtifact( String s, String s1, VersionRange versionRange, String s2, String s3,
45 public Artifact createDependencyArtifact( String s, String s1, VersionRange versionRange, String s2, String s3,
46 String s4, String s5 )
51 public Artifact createDependencyArtifact( String s, String s1, VersionRange versionRange, String s2, String s3,
52 String s4, String s5, boolean b )
57 public Artifact createBuildArtifact( String s, String s1, String s2, String s3 )
62 public Artifact createProjectArtifact( String s, String s1, String s2 )
67 public Artifact createParentArtifact( String s, String s1, String s2 )
72 public Artifact createPluginArtifact( String s, String s1, VersionRange versionRange )
77 public Artifact createProjectArtifact( String s, String s1, String s2, String s3 )
82 public Artifact createExtensionArtifact( String s, String s1, VersionRange versionRange )
87 public Artifact createDependencyArtifact( String string, String string1, VersionRange versionRange, String string2,
88 String string3, String string4, boolean b )