Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for remoteRepository (0.19 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        public String getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context) {
            return getPathForLocalArtifact(artifact);
        }
    
        public String getPathForLocalMetadata(Metadata metadata) {
            return getPath(metadata, "local");
        }
    
        public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

            session.setRepositoryListener(new ConsoleRepositoryListener());
    
            return session.build();
        }
    
        public static RemoteRepository newTestRepository() throws MalformedURLException {
            return new RemoteRepository.Builder(
                            "repo",
                            "default",
                            getTestFile("target/test-classes/repo").toURI().toURL().toString())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        subRequest.setArtifact(artifact.setVersion(result.getVersion()));
                        if (result.getRepository() instanceof RemoteRepository) {
                            RemoteRepository r = (RemoteRepository) result.getRepository();
                            subRequest.setRepositories(Collections.singletonList(r));
                        } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

            if (selector != null) {
                RemoteRepository repo = RepositoryUtils.toRepo(repository);
                org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                if (auth != null) {
                    repo = new RemoteRepository.Builder(repo)
                            .setAuthentication(auth)
                            .build();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

             */
            if (deploymentRepository instanceof DefaultArtifactRepository
                    && deploymentRepository.getAuthentication() == null) {
                RemoteRepository.Builder builder = new RemoteRepository.Builder(remoteRepo);
                builder.setAuthentication(session.getAuthenticationSelector().getAuthentication(remoteRepo));
                builder.setProxy(session.getProxySelector().getProxy(remoteRepo));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.nio.file.Path;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    
    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: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        }
    
        public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataStoreException {
            try {
                updateRepositoryMetadata(localRepository, remoteRepository);
            } catch (IOException | XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

         *
         * @param localRepository  the local repository
         * @param remoteRepository the remote repository it came from
         * @throws RepositoryMetadataStoreException in case of issue
         */
        void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataStoreException;
    
        String extendedToString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                    throws RepositoryMetadataStoreException {
                // not used
            }
    
            public String extendedToString() {
                return metadata.toString();
            }
        }
    
        static class ArtifactRepositoryAdapter implements ArtifactRepository {
    
            private final RemoteRepository repository;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    RepositorySystem repositorySystem,
                    List<org.apache.maven.api.RemoteRepository> repositories) {
                super(session, repositorySystem, repositories, null, null, null);
            }
    
            @Override
            protected Session newSession(
                    MavenSession mavenSession, List<org.apache.maven.api.RemoteRepository> repositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top