Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for RepositorySystem (0.12 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

        }
    
        private RepositorySystem repositorySystem;
    
        public final RepositorySystem getRepositorySystem() {
            checkClosed();
            if (repositorySystem == null) {
                repositorySystem = createRepositorySystem();
            }
            return repositorySystem;
        }
    
        protected RepositorySystem createRepositorySystem() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                        try {
                            ArtifactRepository repo = repositorySystem.buildArtifactRepository((Repository) repository);
                            repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectProxy(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectAuthentication(request.getRepositorySession(), Arrays.asList(repo));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

        }
    
        private RepositorySystem repositorySystem;
    
        public final RepositorySystem getRepositorySystem() {
            checkClosed();
            if (repositorySystem == null) {
                repositorySystem = createRepositorySystem();
            }
            return repositorySystem;
        }
    
        protected RepositorySystem createRepositorySystem() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

        ProtoSession(RepositorySystemSession session, RepositorySystem repositorySystem, Lookup lookup) {
            this(session, repositorySystem, Collections.emptyList(), null, lookup, new Context(Map.of(), Map.of()));
        }
    
        protected ProtoSession(
                RepositorySystemSession session,
                RepositorySystem repositorySystem,
                List<RemoteRepository> repositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

        }
    
        static class SimpleSession extends DefaultSession {
            SimpleSession(
                    MavenSession session,
                    RepositorySystem repositorySystem,
                    List<org.apache.maven.api.RemoteRepository> repositories) {
                super(session, repositorySystem, repositories, null, null, null);
            }
    
            @Override
            protected Session newSession(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

    @PlexusTest
    @Deprecated
    public abstract class AbstractCoreMavenComponentTestCase {
    
        @Inject
        protected PlexusContainer container;
    
        @Inject
        protected org.eclipse.aether.RepositorySystem repositorySystem;
    
        @Inject
        protected RepositorySystem mavenRepositorySystem;
    
        @Inject
        protected org.apache.maven.project.ProjectBuilder projectBuilder;
    
        protected abstract String getProjectsDirectory();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    RepositorySystem repoSystem = container.lookup(RepositorySystem.class);
                    result = repoSystem.resolveArtifact(session, artifactRequest);
                } catch (ComponentLookupException e) {
                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

    import org.codehaus.plexus.configuration.PlexusConfiguration;
    import org.eclipse.aether.ConfigurationProperties;
    import org.eclipse.aether.RepositoryListener;
    import org.eclipse.aether.RepositorySystem;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.RepositorySystemSession.SessionBuilder;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.DefaultArtifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            return createLocalRepository(RepositorySystem.defaultUserLocalRepository);
        }
    
        public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException {
            return createRepository(
                    "file://" + localRepository.toURI().getRawPath(),
                    RepositorySystem.DEFAULT_LOCAL_REPO_ID,
                    true,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException;
    import org.apache.maven.repository.Proxy;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.eclipse.aether.RepositorySystem;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.metadata.Metadata;
    import org.eclipse.aether.repository.LocalArtifactRegistration;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top