Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for KSession (0.15 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.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

            return cast(InternalSession.class, session.getData().get(InternalSession.class), "session");
        }
    
        static void associate(org.eclipse.aether.RepositorySystemSession rsession, Session session) {
            if (!rsession.getData().set(InternalSession.class, null, from(session))) {
                throw new IllegalStateException("A maven session is already associated with the repository session");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinateFactoryRequest.java

            return ArtifactCoordinateFactoryRequest.builder()
                    .session(nonNull(session, "session"))
                    .coordinateString(nonNull(coordinateString, "coordinateString"))
                    .build();
        }
    
        @Nonnull
        static ArtifactCoordinateFactoryRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinate coordinate) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        public void execute(final MavenSession session, final List<MojoExecution> mojoExecutions)
                throws LifecycleExecutionException {
    
            final DependencyContext dependencyContext = newDependencyContext(session, mojoExecutions);
    
            final PhaseRecorder phaseRecorder = new PhaseRecorder(session.getCurrentProject());
    
            mojosExecutionStrategy.get().execute(mojoExecutions, session, new MojoExecutionRunner() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

        }
    
        @NotThreadSafe
        class ToolchainsBuilderRequestBuilder {
            Session session;
            Source globalToolchainsSource;
            Source userToolchainsSource;
    
            public ToolchainsBuilderRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        }
    
        private Project project(Artifact artifact) {
            return session.getService(ProjectBuilder.class)
                    .build(ProjectBuilderRequest.builder()
                            .session(session)
                            .path(session.getPathForLocalArtifact(artifact))
                            .processPlugins(false)
                            .build())
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  7. maven-core/src/test/java/org/apache/maven/internal/transformation/AbstractRepositoryTestCase.java

            DefaultRepositorySystemSession rsession = new DefaultRepositorySystemSession(h -> false);
    
            LocalRepository localRepo = new LocalRepository("target/local-repo");
            rsession.setLocalRepositoryManager(system.newLocalRepositoryManager(rsession, localRepo));
    
            rsession.setTransferListener(Mockito.mock(TransferListener.class));
            rsession.setRepositoryListener(Mockito.mock(RepositoryListener.class));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

        @Named("scoped")
        @SessionScoped
        @Typed
        static class MySessionScopedBean implements BeanItf {
            @Inject
            Session session;
    
            @Inject
            BeanItf2 anotherBean;
    
            public Session getSession() {
                return session;
            }
    
            public BeanItf2 getAnotherBean() {
                return anotherBean;
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * A container for data that is specific to a session.
     * All components may use this storage to associate arbitrary data with a session.
     * <p>
     * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be
     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCollector.java

                remoteRepositories = session.getRemoteRepositories();
            }
            CollectRequest collectRequest = new CollectRequest()
                    .setRootArtifact(rootArtifact != null ? session.toArtifact(rootArtifact) : null)
                    .setRoot(root != null ? session.toDependency(root, false) : null)
                    .setDependencies(session.toDependencies(dependencies, false))
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:30:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top