Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getSchemaLocationForModelVersion (0.23 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

        }
    
        /**
         * Gets the schema location for a model version.
         *
         * @param modelVersion the model version
         * @return the schema location
         */
        public static String getSchemaLocationForModelVersion(String modelVersion) {
            if (MODEL_VERSION_4_2_0.equals(modelVersion)) {
                return MAVEN_4_2_0_SCHEMA_LOCATION;
            } else if (MODEL_VERSION_4_1_0.equals(modelVersion)) {
    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

            @DisplayName("should get schema location for model version")
            void shouldGetSchemaLocationForModelVersion(String targetVersion) {
                String schemaLocation = ModelVersionUtils.getSchemaLocationForModelVersion(targetVersion);
                assertNotNull(schemaLocation);
                assertTrue(
                        schemaLocation.contains(targetVersion),
    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