Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setTextContent (0.06 sec)

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

            if (root == null) {
                return;
            }
    
            Element modelVersionElement = root.child(MODEL_VERSION).orElse(null);
            if (modelVersionElement != null) {
                editor.setTextContent(modelVersionElement, newVersion);
            } else {
                // Create new modelVersion element if it doesn't exist
                // domtrip will automatically handle proper positioning and formatting
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

            } else {
                // Direct version comparison and upgrade
                if (isVersionBelow(currentVersion, upgrade.minVersion)) {
                    Editor editor = new Editor(pomDocument);
                    editor.setTextContent(versionElement, upgrade.minVersion);
                    context.detail("Upgraded " + upgrade.groupId + ":" + upgrade.artifactId + " from " + currentVersion
                            + " to " + upgrade.minVersion + " in " + sectionName);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            // Update model version element
            Element root = editor.root();
            Element modelVersionElement = root.child(MODEL_VERSION).orElse(null);
            if (modelVersionElement != null) {
                editor.setTextContent(modelVersionElement, targetModelVersion);
                context.detail("Updated modelVersion to " + targetModelVersion);
            } else {
                // Create new modelVersion element if it doesn't exist
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top