Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 199 for Upgraded (0.06 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/PluginUpgrade.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    /**
     * Plugin upgrade configuration for Maven 4 compatibility.
     * This record holds information about plugins that need to be upgraded
     * to specific minimum versions to work properly with Maven 4.
     *
     * @param groupId the Maven groupId of the plugin
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules;
    
    import gradlebuild.binarycompatibility.upgrades.UpgradedProperty.BinaryCompatibility;
    import gradlebuild.binarycompatibility.upgrades.UpgradedProperty.ReplacedAccessor;
    import gradlebuild.binarycompatibility.upgrades.UpgradedProperty.AccessorKey;
    import me.champeau.gradle.japicmp.report.PostProcessViolationsRule;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top