Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createOptionsWithModelVersion (1.08 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                Files.writeString(pomFile, originalPom);
    
                // Create context with --model 4.1.0 option
                UpgradeContext context =
                        TestUtils.createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0"));
    
                // Execute apply goal
                int result = applyGoal.execute(context);
    
                // Verify success
                assertEquals(0, result, "Apply should succeed");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

         *
         * @param modelVersion the --model-version option value
         * @return configured upgrade options
         */
        public static UpgradeOptions createOptionsWithModelVersion(String modelVersion) {
            return createOptions(null, null, null, null, modelVersion);
        }
    
        /**
         * Creates upgrade options with only the --plugins option set.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top