Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for CSession (0.16 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Creates a derived session using the given local repository.
         *
         * @param localRepository the new local repository
         * @return the derived session
         * @throws NullPointerException if {@code localRepository} is null
         */
        @Nonnull
        Session withLocalRepository(@Nonnull LocalRepository localRepository);
    
        /**
         * Creates a derived session using the given remote repositories.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            }
    
            InternalSession iSession = InternalSession.from(configuration.getRepositorySession());
            InternalMavenSession mSession = InternalMavenSession.from(iSession);
            MavenSession session = mSession.getMavenSession();
    
            session.setProjects(projects);
            session.setAllProjects(session.getProjects());
    
            return session;
        }
    
        protected void initRepoSession(
    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-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            DefaultSession iSession = new DefaultSession(
                    msession, resolverRepositorySystem, null, mavenRepositorySystem, new DefaultLookup(container), null);
            InternalSession.associate(session, iSession);
    
            SessionScope sessionScope = container.lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, msession);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    .build()) {
                MavenSession mSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult());
                InternalSession iSession = new SimpleSession(mSession, repoSystem, null);
                InternalSession.associate(repoSession, iSession);
    
                List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            injector.discover(ProtoSession.class.getClassLoader());
            Session session = injector.getInstance(Session.class);
            SessionScope scope = new SessionScope();
            scope.enter();
            scope.seed(Session.class, session);
            injector.bindScope(SessionScoped.class, scope);
            return session;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            InternalSession iSession = InternalSession.from(session);
            ModelBuilderRequest.ModelBuilderRequestBuilder request = ModelBuilderRequest.builder();
            request.requestType(ModelBuilderRequest.RequestType.CONSUMER_POM);
            request.session(iSession);
            // in order to resolve parents, we need to fake being at the correct location
            request.source(new PomConsumerModelSource(project.getModel().getPomPath(), src));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    .setLocalRepository(getLocalRepository());
    
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession();
            LocalRepository localRepo =
                    new LocalRepository(request.getLocalRepository().getBasedir());
            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            LegacySupport legacySupport = container.lookup(LegacySupport.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

            session.setDependencyTraverser(getDependencyTraverser());
            session.setDependencyManager(getDependencyManager());
            session.setDependencySelector(getDependencySelector());
            session.setDependencyGraphTransformer(getDependencyGraphTransformer());
            session.setArtifactTypeRegistry(getArtifactTypeRegistry());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

            session.withLocalRepositories(new LocalRepository(new File("target/local-repo"), "simple"));
            session.setTransferListener(new ConsoleTransferListener());
            session.setRepositoryListener(new ConsoleRepositoryListener());
    
            return session.build();
        }
    
        public static RemoteRepository newTestRepository() throws MalformedURLException {
            return new RemoteRepository.Builder(
                            "repo",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

        }
    
        class ArtifactDeployerRequestBuilder {
            Session session;
            RemoteRepository repository;
            Collection<ProducedArtifact> artifacts;
            int retryFailedDeploymentCount;
    
            ArtifactDeployerRequestBuilder() {}
    
            @Nonnull
            public ArtifactDeployerRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top