Coverage Report - org.apache.maven.plugin.testing.stubs.StubArtifactCollector
 
Classes in this File Line Coverage Branch Coverage Complexity
StubArtifactCollector
0%
0/6
N/A
1
 
 1  
 package org.apache.maven.plugin.testing.stubs;
 2  
 
 3  
 /*
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "License"); you may not use this file except in compliance
 10  
  * with the License.  You may obtain a copy of the License at
 11  
  *
 12  
  * http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 14  
  * Unless required by applicable law or agreed to in writing,
 15  
  * software distributed under the License is distributed on an
 16  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  * KIND, either express or implied.  See the License for the
 18  
  * specific language governing permissions and limitations
 19  
  * under the License.
 20  
  */
 21  
 
 22  
 import java.util.List;
 23  
 import java.util.Map;
 24  
 import java.util.Set;
 25  
 
 26  
 import org.apache.maven.artifact.Artifact;
 27  
 import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
 28  
 import org.apache.maven.artifact.repository.ArtifactRepository;
 29  
 import org.apache.maven.artifact.repository.RepositoryRequest;
 30  
 import org.apache.maven.artifact.resolver.ArtifactCollector;
 31  
 import org.apache.maven.artifact.resolver.ArtifactResolutionException;
 32  
 import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
 33  
 import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
 34  
 import org.apache.maven.artifact.resolver.ResolutionListener;
 35  
 import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
 36  
 import org.apache.maven.repository.legacy.resolver.conflict.ConflictResolver;
 37  
 
 38  
 /**
 39  
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
 40  
  * @version $Id: StubArtifactCollector.java 834917 2009-11-11 15:40:37Z olamy $
 41  
  */
 42  
 public class StubArtifactCollector
 43  
     implements ArtifactCollector
 44  
 {
 45  
     /**
 46  
      * Default constructor
 47  
      */
 48  
     public StubArtifactCollector()
 49  
     {
 50  0
         super();
 51  0
     }
 52  
 
 53  
     public ArtifactResolutionResult collect( Set<Artifact> artifacts, Artifact originatingArtifact,
 54  
                                              Map managedVersions, ArtifactResolutionRequest repositoryRequest,
 55  
                                              ArtifactMetadataSource source, ArtifactFilter filter,
 56  
                                              List<ResolutionListener> listeners,
 57  
                                              List<ConflictResolver> conflictResolvers )
 58  
     {
 59  0
         return new ArtifactResolutionResult();
 60  
     }
 61  
 
 62  
     public ArtifactResolutionResult collect( Set<Artifact> artifacts, Artifact originatingArtifact,
 63  
                                              Map managedVersions, ArtifactRepository localRepository,
 64  
                                              List<ArtifactRepository> remoteRepositories,
 65  
                                              ArtifactMetadataSource source, ArtifactFilter filter,
 66  
                                              List<ResolutionListener> listeners,
 67  
                                              List<ConflictResolver> conflictResolvers )
 68  
     {
 69  0
         return new ArtifactResolutionResult();
 70  
     }
 71  
 
 72  
     public ArtifactResolutionResult collect( Set<Artifact> artifacts, Artifact originatingArtifact,
 73  
                                              Map managedVersions, ArtifactRepository localRepository,
 74  
                                              List<ArtifactRepository> remoteRepositories,
 75  
                                              ArtifactMetadataSource source, ArtifactFilter filter,
 76  
                                              List<ResolutionListener> listeners )
 77  
     {
 78  0
         return new ArtifactResolutionResult();
 79  
     }
 80  
 
 81  
     public ArtifactResolutionResult collect( Set<Artifact> artifacts, Artifact originatingArtifact,
 82  
                                              ArtifactRepository localRepository,
 83  
                                              List<ArtifactRepository> remoteRepositories,
 84  
                                              ArtifactMetadataSource source, ArtifactFilter filter,
 85  
                                              List<ResolutionListener> listeners )
 86  
         throws ArtifactResolutionException
 87  
     {
 88  0
         return new ArtifactResolutionResult();
 89  
     }
 90  
 
 91  
 }