Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for setSession (0.15 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            MavenSession mavenSession =
                    new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult());
            legacySupport.setSession(mavenSession);
            InternalSession iSession = new DefaultSession(
                    mavenSession,
                    null,
                    null,
                    null,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
                sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession()));
    
                legacySupport.setSession(session);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            public ProjectBuilder setArtifactId(String artifactId) {
                project.setArtifactId(artifactId);
                return this;
            }
    
            public ProjectBuilder setVersion(String version) {
                project.setVersion(version);
                return this;
            }
    
            // Dependencies
            //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            MavenSession session = new MavenSession(
                    getContainer(), repoSession, new DefaultMavenExecutionRequest(), new DefaultMavenExecutionResult());
            session.setSession(new DefaultSessionFactory(
                            getContainer().lookup(RepositorySystem.class),
                            getContainer().lookup(MavenRepositorySystem.class),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        @Deprecated
        public Map<String, Object> lookupMap(String role) throws ComponentLookupException {
            return container.lookupMap(role);
        }
    
        public Session getSession() {
            return session;
        }
    
        public void setSession(Session session) {
            this.session = session;
        }
        /*end[MAVEN4]*/
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            MavenSession session = legacySupport.getSession();
    
            if (plugin.getVersion() == null) {
                PluginVersionRequest versionRequest = new DefaultPluginVersionRequest(
                        plugin, session.getRepositorySession(), project.getRemotePluginRepositories());
                plugin.setVersion(pluginVersionResolver.resolve(versionRequest).getVersion());
            }
    
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            this.resourceLoc = resourceLoc;
            this.treeConnection = treeConnection.acquire();
        }
    
    
        @Override
        public SmbSessionImpl getSession () {
            return this.treeConnection.getSession();
        }
    
    
        @Override
        public void ensureDFSResolved () throws CIFSException {
            this.treeConnection.ensureDFSResolved(this.resourceLoc);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                managedDependencies = dependencyManagement == null ? null : dependencyManagement.getDependencies();
                MavenSession session = legacySupport.getSession();
                if (session != null) {
                    pomRepositories = session.getProjects().stream()
                            .filter(p -> artifact.equals(p.getArtifact()))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute( "NtlmHttpAuth", ntlm );
            } else {
                if (!skipAuthentication) {
                    HttpSession ssn = req.getSession(false);
                    if (ssn == null || (ntlm = (NtlmPasswordAuthentication)
                                ssn.getAttribute("NtlmHttpAuth")) == null) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

                }
            }
        }
    
        //
        // CI friendly versions
        //
        void handleCiFriendlyVersion(TransformerContext context, Model model) {
            String version = model.getVersion();
            String modVersion = replaceCiFriendlyVersion(context, version);
            model.setVersion(modVersion);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top