Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for ArtifactRepository (0.26 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                artifact.addMetadata(metadata);
            }
        }
    
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository)
                throws ArtifactDeploymentException {
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
    
                // TODO Should this be changed for MNG-6754 too?
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

         */
        ArtifactRepository getLocalRepository();
    
        /**
         * Sets the local repository to use for the resolution.
         *
         * @param localRepository The local repository to use for the resolution.
         * @return This request, never {@code null}.
         */
        MetadataResolutionRequest setLocalRepository(ArtifactRepository localRepository);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataSource.java

        List<ArtifactVersion> retrieveAvailableVersions(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException;
    
        List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws ArtifactMetadataRetrievalException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                }
            }
        }
    
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            // metadata is added via addPluginArtifactMetadata
        }
    
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            // metadata is added via addPluginArtifactMetadata
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

    @Deprecated
    public class TestMetadataSource implements ArtifactMetadataSource {
        @Inject
        private ArtifactFactory factory;
    
        public ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

        }
    
        private List<ArtifactRepository> aggregateRepositories(
                List<ArtifactRepository> requestRepositories, List<ArtifactRepository> pomRepositories) {
            List<ArtifactRepository> repositories = requestRepositories;
    
            if (pomRepositories != null && !pomRepositories.isEmpty()) {
                Map<String, ArtifactRepository> repos = new LinkedHashMap<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

         * @since 3.6.1
         */
        public List<ArtifactRepository> getEffectiveRepositories(List<ArtifactRepository> repositories) {
            if (repositories == null) {
                return null;
            }
    
            Map<String, List<ArtifactRepository>> reposByKey = new LinkedHashMap<>();
    
            for (ArtifactRepository repository : repositories) {
                String key = repository.getId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataSource.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * Provides some metadata operations, like querying the remote repository for a list of versions available for an
     * artifact.
     *
     */
    @Deprecated
    public interface MetadataSource {
        String ROLE = MetadataSource.class.getName();
    
        MetadataResolution retrieve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        }
    
        @Override
        public List<ArtifactRepository> getEffectiveRepositories(List<ArtifactRepository> repositories) {
            return repositories;
        }
    
        @Override
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            return null;
        }
    
        @Override
        public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

        }
    
        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
        @Override
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(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)
Back to top