Maven 4 compatibility: build fails due to SNAPSHOT dependency on apache-incubator-disclaimer-resource-bundle
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- java
- Domain
- build-system
Research direction
Start in the project POM at the maven-remote-resources-plugin configuration and locate the apache-incubator-disclaimer-resource-bundle reference. Remove that reference as described, then run the Maven 4 build to confirm the resource-processing failure is resolved and the project still builds successfully.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Java
- Stars
- 454
- Forks
- 174
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/uniffle
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100