Skip to content

Computing breakages with Maven 4 #267

@algomaster99

Description

@algomaster99

Fix Summary by Category

All logs live here.

Category Count Fix
PARENT_POM_UNRESOLVABLE 54 - ❓
ENFORCER_SESSION_CAST 48 Upgrade maven-enforcer-plugin to 3.4.0+ ✔️
NETWORK_REPO_ERROR 23 -
PLUGIN_EXPRESSION_EVALUATOR_API 22 Upgrade maven-enforcer-plugin to 3.4.0+ (removes use of the deleted PluginParameterExpressionEvaluator constructor) ✔️
PLUGIN_GETGOALS_API 18 Upgrade maven-shade-plugin to 3.5.0+ (removes call to deleted Plugin.getGoals()) ✔️
DEPENDENCY_LOCK_MISMATCH 13 -
DUPLICATE_DEPENDENCY 10 Remove the duplicate entry from <dependencyManagement> in pom.xml, keeping only one version ✔️
PARENT_POM_CYCLE 9 -
SESSION_CONTAINER_NULL 7 -
JGITVER_EXTENSION 6 -
TAKARI_LIFECYCLE 4 Replace takari-lifecycle-plugin with standard maven-compiler-plugin + maven-jar-plugin (Takari is abandoned and incompatible with Maven 4) ✔️

This is the preliminary result when upgraded to maven 4 and Java 17 for all the datapoints in the dataset.
✔️ : indicates that the fix indeed is working.
I will verify the rest of them and propose it to the apache community.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions