Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 20 for newSession (0.09 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                    .recursive(false) // We only want this POM, not its modules
                    .build();
    
            ModelBuilderResult result = modelBuilder.newSession().build(request);
            Model effectiveModel = result.getEffectiveModel();
    
            // Analyze plugins from effective model
            return analyzePluginsFromEffectiveModel(context, effectiveModel, pluginUpgrades);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            File localRepo = new File(request.getLocalRepository().getBasedir());
            DefaultRepositorySystemSession session = MavenRepositorySystemUtils.newSession();
            session.setScopeManager(new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE));
            session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                MavenSession session = new MavenSession(closeableSession, request, result);
                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  4. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    projectBuildingRequest.getRepositorySession(),
                    mavenExecutionRequest,
                    new DefaultMavenExecutionResult());
    
            InternalSession iSession = defaultSessionFactory.newSession(mSession);
            mSession.setSession(iSession);
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

        /**
         * Updates the model version element in a POM document.
         *
         * @param pomDocument the POM document (domtrip Document)
         * @param newVersion the new model version
         */
        public static void updateModelVersion(Document pomDocument, String newVersion) {
            Editor editor = new Editor(pomDocument);
            Element root = editor.root();
            if (root == null) {
                return;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                        version = model.getParent().getVersion();
                    }
                    String newVersion;
                    if (version != null) {
                        HashSet<String> usedProperties = new HashSet<>();
                        newVersion = interpolator.interpolate(version.trim(), property -> {
                            if (!session.getConfigProperties().containsKey(property)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

                keyVersions.put(sessionId, newVersion);
                keyCreationTimes.put(sessionId, System.currentTimeMillis());
    
                log.info("Rotated key for session {} from version {} to {}", sessionId, currentVersion, newVersion);
    
                // Securely wipe the old key copy
                secureWipe(currentKey);
                secureWipe(newKey);
    
                return newVersion;
    
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            if (snapshot != null) {
                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber();
                    version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
                } else {
                    version = baseVersion;
                }
            }
            return version;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. RELEASE.md

            list of configs for the underlying layers.
    
    ## Bug Fixes and Other Changes
    
    *   C++:
        *   Changed the signature of SessionFactory::NewSession so that it can
            return a meaningful error message on failure.
    *   tf.data:
        *   Remove `num_parallel_parser_calls` argument from
            `tf.contrib.data.make_csv_dataset()`. [tf.data] Remove
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  10. src/test/java/jcifs/util/SecureKeyManagerTest.java

            // Initial version should be 0
            assertEquals(0, keyManager.getKeyVersion(sessionId), "Initial version should be 0");
    
            // Rotate key
            int newVersion = keyManager.rotateSessionKey(sessionId);
            assertEquals(1, newVersion, "New version should be 1");
            assertEquals(1, keyManager.getKeyVersion(sessionId), "Key version should be updated");
    
            // Verify old key is archived
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top