- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setTextContent (0.04 sec)
-
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) -
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) -
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 existRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 16.6K bytes - Viewed (0)