Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for repositorySystem (0.08 sec)

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

    /**
     */
    @Deprecated
    class DefaultMavenMetadataCacheTest {
        private RepositorySystem repositorySystem;
    
        @BeforeEach
        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

        @SuppressWarnings("checkstyle:ParameterNumber")
        public DefaultSessionFactory(
                RepositorySystem repositorySystem,
                MavenRepositorySystem mavenRepositorySystem,
                Lookup lookup,
                RuntimeInformation runtimeInformation) {
            this.repositorySystem = repositorySystem;
            this.mavenRepositorySystem = mavenRepositorySystem;
            this.lookup = lookup;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                RepositorySystem repositorySystem;
                try {
                    repositorySystem = container.lookup(RepositorySystem.class);
                } catch (ComponentLookupException e) {
                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                }
    
                if (mirrors) {
                    repositorySystem.injectMirror(session, repositories);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

    @Singleton
    public class DefaultMavenExecutionRequestPopulator implements MavenExecutionRequestPopulator {
    
        private final MavenRepositorySystem repositorySystem;
    
        @Inject
        public DefaultMavenExecutionRequestPopulator(MavenRepositorySystem repositorySystem) {
            this.repositorySystem = repositorySystem;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

    import javax.inject.Inject;
    
    import org.apache.maven.repository.RepositorySystem;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    
    @PlexusTest
    @Deprecated
    class MavenMetadataSourceTest {
        @Inject
        private RepositorySystem repositorySystem;
    
        @Inject
        PlexusContainer container;
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ResolverLifecycle.java

    import javax.inject.Named;
    import javax.inject.Provider;
    
    import org.eclipse.aether.RepositorySystem;
    import org.eclipse.sisu.EagerSingleton;
    import org.eclipse.sisu.PreDestroy;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Maven internal component that bridges container "shut down" to {@link RepositorySystem#shutdown()}.
     *
     * @since 3.9.0
     */
    @Named
    @EagerSingleton
    final class ResolverLifecycle {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.project.artifact.ProjectArtifactMetadata;
    import org.codehaus.plexus.logging.AbstractLogEnabled;
    import org.eclipse.aether.RepositorySystem;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.RequestTrace;
    import org.eclipse.aether.deployment.DeployRequest;
    import org.eclipse.aether.deployment.DeployResult;
    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