Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for detectModelVersion (0.06 sec)

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

         * Uses both the modelVersion element and namespace URI for detection.
         *
         * @param pomDocument the POM document (domtrip Document)
         * @return the detected model version
         */
        public static String detectModelVersion(Document pomDocument) {
            Editor editor = new Editor(pomDocument);
            Element root = editor.root();
            if (root == null) {
                return MODEL_VERSION_4_0_0;
            }
    
    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