Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for wagon (0.03 sec)

  1. compat/maven-compat/src/test/resources/org/apache/maven/artifact/resolver/ArtifactUpdatePolicyTest.xml

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <plexus>
      <components>
        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>testfile</role-hint>
          <implementation>org.apache.maven.artifact.resolver.TestFileWagon</implementation>
          <instantiation-strategy>per-lookup</instantiation-strategy>
        </component>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import org.apache.maven.repository.ArtifactTransferResource;
    import org.apache.maven.wagon.resource.Resource;
    
    @Deprecated
    class MavenArtifact implements ArtifactTransferResource {
    
        private String repositoryUrl;
    
        private Resource resource;
    
        private long transferStartTime;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
            return "localhost".equals(host) || "127.0.0.1".equals(host);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/ChecksumFailedException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import org.apache.maven.wagon.TransferFailedException;
    
    /**
     * Occurs when a download checksum fails.
     *
     */
    @Deprecated
    public class ChecksumFailedException extends TransferFailedException {
        public ChecksumFailedException(String s) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestTransferListener.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.wagon.observers.AbstractTransferListener;
    
    public class TestTransferListener extends AbstractTransferListener {
    
        private final List<String> transfers = new ArrayList<>();
    
        public List<String> getTransfers() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import javax.inject.Named;
    
    /**
     * Wagon with per-lookup instantiation strategy.
     */
    @Named("perlookup")
    public class PerLookupWagon extends WagonMock {
    
        public String[] getSupportedProtocols() {
            return new String[] {"perlookup"};
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java

    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.wagon.events.TransferListener;
    
    /**
     */
    // Just hide the one method we want behind the RepositorySystem interface.
    @Deprecated
    public interface ArtifactResolver {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    copyright notices and license terms. Your use of those components are
    subject to the terms and conditions of the following licenses:
    ##
    #set ( $apacheMavenGroupIds = [ "org.apache.maven", "org.apache.maven.wagon", "org.apache.maven.resolver",
                                    "org.apache.maven.shared" ] )
    #set ( $MITLicenseNames = [ "MIT License", "MIT license", "The MIT License" ] )
    #foreach ( $project in $projects )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.profiles.ProfileManager;
    import org.apache.maven.wagon.events.TransferListener;
    
    /**
     * @deprecated use {@link ProjectBuilder} instead
     */
    @Deprecated
    public interface MavenProjectBuilder {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    import org.apache.maven.repository.legacy.UpdateCheckManager;
    import org.apache.maven.repository.legacy.WagonManager;
    import org.apache.maven.wagon.ResourceDoesNotExistException;
    import org.apache.maven.wagon.TransferFailedException;
    import org.codehaus.plexus.logging.AbstractLogEnabled;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top