001    package org.apache.maven.artifact.resolver;
002    
003    /*
004     * Licensed to the Apache Software Foundation (ASF) under one
005     * or more contributor license agreements.  See the NOTICE file
006     * distributed with this work for additional information
007     * regarding copyright ownership.  The ASF licenses this file
008     * to you under the Apache License, Version 2.0 (the
009     * "License"); you may not use this file except in compliance
010     * with the License.  You may obtain a copy of the License at
011     *
012     *  http://www.apache.org/licenses/LICENSE-2.0
013     *
014     * Unless required by applicable law or agreed to in writing,
015     * software distributed under the License is distributed on an
016     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017     * KIND, either express or implied.  See the License for the
018     * specific language governing permissions and limitations
019     * under the License.
020     */
021    
022    import org.apache.maven.artifact.Artifact;
023    import org.apache.maven.artifact.versioning.VersionRange;
024    import org.codehaus.plexus.logging.Logger;
025    
026    /**
027     * Send resolution warning events to the warning log.
028     *
029     * @author <a href="mailto:brett@apache.org">Brett Porter</a>
030     */
031    public class WarningResolutionListener
032        implements ResolutionListener
033    {
034        private Logger logger;
035    
036        public WarningResolutionListener( Logger logger )
037        {
038            this.logger = logger;
039        }
040    
041        public void testArtifact( Artifact node )
042        {
043        }
044    
045        public void startProcessChildren( Artifact artifact )
046        {
047        }
048    
049        public void endProcessChildren( Artifact artifact )
050        {
051        }
052    
053        public void includeArtifact( Artifact artifact )
054        {
055        }
056    
057        public void omitForNearer( Artifact omitted,
058                                   Artifact kept )
059        {
060        }
061    
062        public void omitForCycle( Artifact omitted )
063        {
064        }
065    
066        public void updateScopeCurrentPom( Artifact artifact,
067                                           String scope )
068        {
069        }
070    
071        public void updateScope( Artifact artifact,
072                                 String scope )
073        {
074        }
075    
076        public void manageArtifact( Artifact artifact,
077                                    Artifact replacement )
078        {
079        }
080    
081        public void selectVersionFromRange( Artifact artifact )
082        {
083        }
084    
085        public void restrictRange( Artifact artifact,
086                                   Artifact replacement,
087                                   VersionRange newRange )
088        {
089        }
090    }