Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSchemaLocationForModelVersion (0.17 sec)

  1. 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),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. 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)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Namespaces.MAVEN_4_1_0_NAMESPACE;
    import static org.apache.maven.cling.invoker.mvnup.goals.ModelVersionUtils.getSchemaLocationForModelVersion;
    
    /**
     * Strategy for upgrading Maven model versions (e.g., 4.0.0 → 4.1.0).
     * Handles namespace updates, schema location changes, and element conversions.
     */
    @Named
    @Singleton
    @Priority(40)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top