Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for insertContentElement (0.07 sec)

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

         */
        public static void addGAVElements(Element parent, String groupId, String artifactId, String version) {
            insertContentElement(parent, GROUP_ID, groupId);
            insertContentElement(parent, ARTIFACT_ID, artifactId);
            if (version != null && !version.isEmpty()) {
                insertContentElement(parent, VERSION, version);
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            } else {
                // Create new modelVersion element if it doesn't exist
                // domtrip will automatically handle proper positioning and formatting
                DomUtils.insertContentElement(root, MODEL_VERSION, newVersion);
            }
        }
    
        /**
         * Removes the model version element from a POM editor.
         * This is used during inference when the model version can be inferred.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top