Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for setRepository (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

        }
    
        public int getNature() {
            return isSnapshot() ? SNAPSHOT : RELEASE;
        }
    
        public ArtifactRepository getRepository() {
            return artifact.getRepository();
        }
    
        public void setRepository(ArtifactRepository remoteRepository) {
            artifact.setRepository(remoteRepository);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                if (obj instanceof Record) {
                    Record record = (Record) obj;
                    result.setVersion(record.version);
                    result.setRepository(
                            getRepository(session, request.getRepositories(), record.repoClass, record.repoId));
                    return result;
                }
            }
    
            Metadata metadata;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                    metadata.setRepository(repository);
                    selected = repository;
                }
            }
            if (loadMetadata(metadata, localRepository, localRepository, previousMetadata)) {
                metadata.setRepository(null);
                selected = localRepository;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                for (String version : versions) {
                    versionIndex.put(version, workspace.getRepository());
                }
            }
    
            for (MetadataResult metadataResult : metadataResults) {
                result.addException(metadataResult.getException());
    
                ArtifactRepository repository = metadataResult.getRequest().getRepository();
                if (repository == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            return artifact.getMetadataList();
        }
    
        /** {@inheritDoc} */
        public void setRepository(ArtifactRepository remoteRepository) {
            artifact.setRepository(remoteRepository);
        }
    
        /** {@inheritDoc} */
        public ArtifactRepository getRepository() {
            return artifact.getRepository();
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

        /**
         * Get the repository the metadata was located in.
         *
         * @return the repository
         */
        ArtifactRepository getRepository();
    
        /**
         * Set the repository the metadata was located in.
         *
         * @param remoteRepository the repository
         */
        void setRepository(ArtifactRepository remoteRepository);
    
        /**
         * Get the repository metadata associated with this marker.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

        }
    
        public Object getKey() {
            return groupId;
        }
    
        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)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        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/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        private boolean isSnapshot(ArtifactVersion version) {
            return version != null && ArtifactUtils.isSnapshot(version.getQualifier());
        }
    
        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)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                builder.setProxy(session.getProxySelector().getProxy(remoteRepo));
                remoteRepo = builder.build();
            }
            request.setRepository(remoteRepo);
    
            DeployResult result;
            try {
                result = repoSystem.deploy(session, request);
            } catch (DeploymentException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top