Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for RemoteRepository (0.25 sec)

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

                throws TransferFailedException {
            File file =
                    new File(localRepo.getBasedir(), localRepo.pathOfLocalRepositoryMetadata(metadata, remoteRepository));
    
            try {
                wagonManager.getArtifactMetadataFromDeploymentRepository(
                        metadata, remoteRepository, file, ArtifactRepositoryPolicy.CHECKSUM_POLICY_WARN);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

        }
    
        private static void removeMatchingRepository(Iterable<RemoteRepository> repositories, final String id) {
            Iterator<RemoteRepository> iterator = repositories.iterator();
            while (iterator.hasNext()) {
                RemoteRepository remoteRepository = iterator.next();
                if (remoteRepository.getId().equals(id)) {
                    iterator.remove();
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.nio.file.Path;
    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.RemoteRepository;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                throws RepositoryMetadataResolutionException {
            RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata(artifact);
    
            getLogger().info("Retrieving previous build number from " + remoteRepository.getId());
            repositoryMetadataManager.resolveAlways(metadata, localRepository, remoteRepository);
    
            int buildNumber = 0;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        public static List<RemoteRepository> toRepos(List<ArtifactRepository> repos) {
            return Optional.ofNullable(repos).orElse(Collections.emptyList()).stream()
                    .map(RepositoryUtils::toRepo)
                    .collect(Collectors.toList());
        }
    
        public static RemoteRepository toRepo(ArtifactRepository repo) {
            RemoteRepository result = null;
            if (repo != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
                File deployedFile = new File(remoteRepository.getBasedir(), remoteRepository.pathOf(artifact));
                assertTrue(deployedFile.exists());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

            return new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion());
        }
    
        public static RemoteRepository toRemoteRepository(Repository repository) {
            RemoteRepository.Builder builder =
                    new RemoteRepository.Builder(repository.getId(), repository.getLayout(), repository.getUrl());
            builder.setSnapshotPolicy(toRepositoryPolicy(repository.getSnapshots()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                    runtimeInformation);
        }
    
        public ArtifactRepository toArtifactRepository(RemoteRepository repository) {
            if (repository instanceof DefaultRemoteRepository) {
                org.eclipse.aether.repository.RemoteRepository rr = ((DefaultRemoteRepository) repository).getRepository();
    
                try {
                    return mavenRepositorySystem.createRepository(
                            rr.getUrl(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

        }
    
        private Versioning filterVersionsByRepositoryType(Versioning versioning, RemoteRepository remoteRepository) {
            if (remoteRepository == null) {
                return versioning;
            }
    
            Versioning filteredVersions = versioning.clone();
    
            for (String version : versioning.getVersions()) {
                if (!remoteRepository
                        .getPolicy(DefaultModelVersionParser.checkSnapshot(version))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java

    import org.apache.maven.api.RemoteRepository;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Deploys {@link ProducedArtifact}s to a {@link RemoteRepository}.
     *
     * @since 4.0.0
     * @see Session#deployArtifact(RemoteRepository, ProducedArtifact...)
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top