Visitar URL original
Maven 4 compatibility: build fails due to SNAPSHOT dependency on apache-incubator-disclaimer-resource-bundle · Issue #2752 · apache/uniffle · GitHub
Skip to content

Maven 4 compatibility: build fails due to SNAPSHOT dependency on apache-incubator-disclaimer-resource-bundle #2752

Description

@gnodet

Description

Building Apache Uniffle with Maven 4.x fails because the project depends on org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:1.2-SNAPSHOT, which is not available in release repositories.

Error

[ERROR] Failed to execute goal
  org.apache.maven.plugins:maven-remote-resources-plugin:3.0.0:process
  (process-resource-bundles) on project uniffle-parent:
  Error processing remote resources:
  Failed to read artifact descriptor for
  org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:jar:1.2-SNAPSHOT:
  The following artifacts could not be resolved:
  org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:pom:1.2-SNAPSHOT (absent)

Context

This was found during Maven 4 compatibility testing of Apache projects. The Maven 3.x build succeeded because it handled the missing SNAPSHOT differently (likely the resource bundle was optional or skipped).

Maven 4 enforces stricter artifact resolution. Since the project has graduated from the incubator, the incubator disclaimer resource bundle reference can likely be removed.

Suggested fix

Remove the reference to apache-incubator-disclaimer-resource-bundle from the maven-remote-resources-plugin configuration, since the project has graduated from the Apache Incubator.

Claude Code on behalf of Guillaume Nodet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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