Skip to content

🚨 Maven Compatibility Test Failed #847

@github-actions

Description

@github-actions

Maven Compatibility Test Failure

The automated Maven compatibility test has detected a failure with one or more Maven versions.

Details:

Possible Causes:

  1. A new Maven version has been released with breaking changes
  2. New required fields have been added to DefaultMavenPluginManager
  3. Method signatures have changed in Maven core classes
  4. New dependencies or requirements were introduced
  5. Our Plexus components.xml is missing field declarations

Action Required:

  1. Check the "Check for new Maven versions" job output to see if new versions were detected
  2. Check the workflow logs for specific error messages
  3. Download the failure logs artifact from the workflow run
  4. Look for error patterns:
    • NullPointerException → Missing field in components.xml
    • NoSuchMethodError → Method signature changed
    • NoClassDefFoundError → Missing dependency
  5. If NullPointerException on a field:
    • Identify the missing field name from the error
    • Download Maven source for that version
    • Use CHECK-MAVEN-FIELDS.sh <maven-version> to compare fields
    • Update build-info-extractor-maven3/src/main/resources/META-INF/plexus/components.xml
    • Add missing field requirements to the ArtifactoryEclipsePluginManager component
  6. If a new Maven version was detected, update the workflow matrix to include it

Helpful Commands:

# Check for missing fields in a specific Maven version
./CHECK-MAVEN-FIELDS.sh <maven-version>

# Compare Maven's DefaultMavenPluginManager with our components.xml
# Look for new fields that need to be added

Resources:

  • Maven release notes: https://maven.apache.org/docs/history.html
  • Our components.xml: build-info-extractor-maven3/src/main/resources/META-INF/plexus/components.xml
  • DefaultMavenPluginManager source: Search in Maven's GitHub repository

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions