1 package org.apache.maven.artifact.resolver;
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 org.apache.maven.artifact.Artifact;
23 import org.apache.maven.artifact.versioning.VersionRange;
24 import org.codehaus.plexus.logging.Logger;
25
26 /**
27 * Send resolution warning events to the warning log.
28 *
29 * @author <a href="mailto:brett@apache.org">Brett Porter</a>
30 * @version $Id: WarningResolutionListener.java 770390 2009-04-30 18:49:42Z jvanzyl $
31 */
32 public class WarningResolutionListener
33 implements ResolutionListener
34 {
35 private Logger logger;
36
37 public WarningResolutionListener( Logger logger )
38 {
39 this.logger = logger;
40 }
41
42 public void testArtifact( Artifact node )
43 {
44 }
45
46 public void startProcessChildren( Artifact artifact )
47 {
48 }
49
50 public void endProcessChildren( Artifact artifact )
51 {
52 }
53
54 public void includeArtifact( Artifact artifact )
55 {
56 }
57
58 public void omitForNearer( Artifact omitted,
59 Artifact kept )
60 {
61 }
62
63 public void omitForCycle( Artifact omitted )
64 {
65 }
66
67 public void updateScopeCurrentPom( Artifact artifact,
68 String scope )
69 {
70 }
71
72 public void updateScope( Artifact artifact,
73 String scope )
74 {
75 }
76
77 public void manageArtifact( Artifact artifact,
78 Artifact replacement )
79 {
80 }
81
82 public void selectVersionFromRange( Artifact artifact )
83 {
84 }
85
86 public void restrictRange( Artifact artifact,
87 Artifact replacement,
88 VersionRange newRange )
89 {
90 }
91 }