Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 102 for Upgraded (0.07 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.TaskInterface.setSourceCompatibility(java.lang.String): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed")
                )
            }
        }
    
        @Test
        fun `should automatically accept binary incompatibilities for boolean upgraded properties`() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            }
    
            @Test
            @DisplayName("should have valid plugin upgrade definitions")
            void shouldHaveValidPluginUpgradeDefinitions() throws Exception {
                List<PluginUpgrade> upgrades = PluginUpgradeStrategy.getPluginUpgrades();
    
                for (PluginUpgrade upgrade : upgrades) {
                    assertNotNull(upgrade.groupId(), "Plugin upgrade should have groupId");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
         * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded property
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                                phaseElement.textContent(newPhase);
                                context.detail("Upgraded phase: " + currentPhase + " → " + newPhase);
                                upgrades++;
                            }
                        }
                    }
                }
            }
    
            return upgrades;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                if (isVersionBelow(currentVersion, upgrade.minVersion)) {
                    Editor editor = new Editor(pomDocument);
                    editor.setTextContent(versionElement, upgrade.minVersion);
                    context.detail("Upgraded " + upgrade.groupId + ":" + upgrade.artifactId + " from " + currentVersion
                            + " to " + upgrade.minVersion + " in " + sectionName);
                    return true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * </ul>
     *
     * <h3>Plugin Upgrades</h3>
     * When {@code --plugins} option is enabled (or by default), upgrades plugins known to fail with Maven 4:
     * <ul>
     *   <li><strong>maven-exec-plugin</strong>: Upgrades to version 3.2.0 or higher</li>
     *   <li><strong>maven-enforcer-plugin</strong>: Upgrades to version 3.0.0 or higher</li>
     *   <li><strong>flatten-maven-plugin</strong>: Upgrades to version 1.2.7 or higher</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            to.attribute(ARTIFACT_TYPE, 'gradle-baseline-jars')
        }
    }
    
    def currentUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/current-upgraded-properties.json")
    def baselineUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/baseline-upgraded-properties.json")
    def extractGradleApiInfo = tasks.register("extractGradleApiInfo", gradlebuild.binarycompatibility.ExtractGradleApiInfoTask) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                // Verify success
                assertEquals(0, result, "Apply should succeed");
    
                // Verify POM was upgraded
                String upgradedPom = Files.readString(pomFile);
                assertTrue(
                        upgradedPom.contains("http://maven.apache.org/POM/4.1.0"),
                        "POM should be upgraded to 4.1.0 namespace");
            }
    
            @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                                || description.toLowerCase().contains("upgrade"),
                        "Description should mention model or upgrade");
            }
        }
    
        @Nested
        @DisplayName("Phase Upgrades")
        class PhaseUpgradeTests {
    
            @Test
            @DisplayName("should upgrade deprecated phases to Maven 4 equivalents in 4.1.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        val v2Jar = v2.tasks.named("jar")
                        val newUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/new-upgraded-properties.json")
                        val oldUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/old-upgraded-properties.json")
                        val extractGradleApiInfo = tasks.register<ExtractGradleApiInfoTask>("extractGradleApiInfo") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
Back to Top