Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ModelVersionUtils (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     *
     * <p>This class uses domtrip internally for superior formatting preservation
     * and simplified API while maintaining the same external interface.
     */
    public final class ModelVersionUtils {
    
        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
         * Detects the model version from a POM document.
         * Uses both the modelVersion element and namespace URI for detection.
         *
    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)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            void shouldHandleNewerThan410Versions() {
                assertTrue(ModelVersionUtils.isNewerThan410("4.2.0"));
                assertTrue(ModelVersionUtils.isNewerThan410("5.0.0"));
                assertFalse(ModelVersionUtils.isNewerThan410("4.1.0"));
                assertFalse(ModelVersionUtils.isNewerThan410("4.0.0"));
            }
    
            @Test
            @DisplayName("should handle null versions in comparison")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
Back to Top