001    package org.apache.maven.repository.legacy;
002    
003    import org.apache.maven.wagon.Wagon;
004    import org.codehaus.plexus.component.annotations.Component;
005    
006    /*
007     * Licensed to the Apache Software Foundation (ASF) under one
008     * or more contributor license agreements.  See the NOTICE file
009     * distributed with this work for additional information
010     * regarding copyright ownership.  The ASF licenses this file
011     * to you under the Apache License, Version 2.0 (the
012     * "License"); you may not use this file except in compliance
013     * with the License.  You may obtain a copy of the License at
014     *
015     *  http://www.apache.org/licenses/LICENSE-2.0
016     *
017     * Unless required by applicable law or agreed to in writing,
018     * software distributed under the License is distributed on an
019     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
020     * KIND, either express or implied.  See the License for the
021     * specific language governing permissions and limitations
022     * under the License.
023     */
024    
025    /**
026     * Wagon for testing, for protocol <code>a</code>
027     * 
028     * @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
029     * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
030     */
031    @Component(role=Wagon.class,hint="a")
032    public class WagonA
033        extends WagonMock
034    {
035        public String[] getSupportedProtocols()
036        {
037            return new String[]{ "a" };
038        }
039    }