Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 6,307 for session (0.06 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
                    Record record = (Record) obj;
                    result.setVersion(record.version);
                    result.setRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         */
        @Nonnull
        default ProjectBuilderResult build(@Nonnull Session session, @Nonnull Source source) {
            return build(ProjectBuilderRequest.build(session, source));
        }
    
        /**
         * Creates a {@link org.apache.maven.api.Project} from a POM file.
         *
         * @param session the {@link Session}, must not be {@code null}
         * @param path the {@link Path}, must not be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py

    def test_websocket_with_cookie(app: FastAPI):
        client = TestClient(app, cookies={"session": "fakesession"})
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws") as websocket:
                message = "Message one"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: fakesession"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(rootProject.getBasedir()).thenReturn(basedir);
            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
            executionEventLogger.projectStarted(event);
    
            // verify
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            try {
                Result<ProjectDependencyGraph> result = sessionDependencyGraph(session);
    
                if (result == null) {
                    final List<MavenProject> projects = getProjectsForMavenReactor(session);
                    validateProjects(projects, session.getRequest());
                    processPackagingAttribute(projects, session.getRequest());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

                MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) {
            this.session = session;
            this.project = project;
            this.mojoExecution = mojoExecution;
            this.mojo = mojo;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

        }
    
        public InternalSession newSession(MavenSession mavenSession) {
            InternalSession session = new DefaultSession(
                    mavenSession, repositorySystem, null, mavenRepositorySystem, lookup, runtimeInformation);
            InternalSession.associate(mavenSession.getRepositorySession(), session);
            return session;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            request.systemProperties(session.getSystemProperties());
            request.userProperties(session.getUserProperties());
            request.lifecycleBindingsInjector(lifecycleBindingsInjector::injectLifecycleBindings);
            ModelBuilder.ModelBuilderSession mbSession =
                    iSession.getData().get(SessionData.key(ModelBuilder.ModelBuilderSession.class));
            return mbSession.build(request.build());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

    @Typed
    @SessionScoped
    public class DefaultProjectManager implements ProjectManager {
    
        private final InternalMavenSession session;
        private final ArtifactManager artifactManager;
    
        @Inject
        public DefaultProjectManager(InternalMavenSession session, ArtifactManager artifactManager) {
            this.session = session;
            this.artifactManager = artifactManager;
        }
    
        @Nonnull
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

         * the artifact would eventually be stored.
         *
         * @param session The session to use, must not be {@code null}.
         * @param artifact The artifact for which to determine the path, must not be {@code null}.
         * @return The path, resolved against the local repository's base directory.
         */
        @Nonnull
        Path getPathForLocalArtifact(@Nonnull Session session, @Nonnull LocalRepository local, @Nonnull Artifact artifact);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Dec 08 09:10:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top