Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 72 for remoteRepository (0.51 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            Artifact l = createRemoteArtifact("l", "1.0-SNAPSHOT");
            deleteLocalArtifact(l);
    
            List<ArtifactRepository> repositories = new ArrayList<>();
            repositories.add(remoteRepository());
            repositories.add(badRemoteRepository());
    
            artifactResolver.resolve(l, repositories, localRepository());
    
            assertLocalArtifactPresent(l);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
        @Override
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
        private ArtifactMetadata createMetadata(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws ArtifactMetadataRetrievalException {
            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataManager.java

                throws RepositoryMetadataResolutionException;
    
        void resolveAlways(
                RepositoryMetadata metadata, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataResolutionException;
    
        /**
         * Deploy metadata to the remote repository.
         *
         * @param metadata             the metadata to deploy
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) {
            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        public ResolutionGroup retrieve(MetadataResolutionRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

        }
    
        public boolean isSnapshot() {
            return false;
        }
    
        public ArtifactRepository getRepository() {
            return null;
        }
    
        public void setRepository(ArtifactRepository remoteRepository) {
            // intentionally blank
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        }
    
        public ArtifactRepository getRepository() {
            return null;
        }
    
        public void setRepository(ArtifactRepository remoteRepository) {
            /*
             * NOTE: Metadata at the g:a level contains a collection of available versions. After merging, we can't tell
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String getId();
    
        String getDependencyConflictId();
    
        void addMetadata(ArtifactMetadata metadata);
    
        Collection<ArtifactMetadata> getMetadataList();
    
        void setRepository(ArtifactRepository remoteRepository);
    
        ArtifactRepository getRepository();
    
        void updateVersion(String version, ArtifactRepository localRepository);
    
        String getDownloadUrl();
    
        void setDownloadUrl(String downloadUrl);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws ArtifactMetadataRetrievalException {
            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
                    request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(
                            new org.apache.maven.settings.Repository(remoteRepository)));
                } catch (InvalidRepositoryException e) {
                    // do nothing for now
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top