Description
When building bigtop-manager with Maven from the maven-4.0.x branch, the maven-remote-resources-plugin:3.0.0 attempts to resolve the project's own artifact using the literal string ${revision} instead of the interpolated version value.
Error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:3.0.0:process
(process-resource-bundles) on project bigtop-manager-stack-bigtop:
Execution process-resource-bundles of goal
org.apache.maven.plugins:maven-remote-resources-plugin:3.0.0:process failed:
Invalid Version Range Request: org.apache.bigtop:bigtop-manager:pom:${revision}
The ${revision} placeholder should have been interpolated to the actual version before the plugin tried to resolve it.
Context
The project uses CI-friendly versions (${revision}) as documented in Maven's CI-friendly documentation. This works correctly with Maven 3.x but fails with Maven 4.x.
Reproducer
git clone https://github.com/apache/bigtop-manager.git
cd bigtop-manager
mvn -B -e clean package -DskipTests
Environment
- Maven: built from
maven-4.0.x branch (bootstrapped with 4.0.0-rc-5)
- JDK: 17 (Temurin)
Context
Found during Maven 4 compatibility testing.
Claude Code on behalf of Guillaume Nodet
Description
When building
bigtop-managerwith Maven from themaven-4.0.xbranch, themaven-remote-resources-plugin:3.0.0attempts to resolve the project's own artifact using the literal string${revision}instead of the interpolated version value.Error
The
${revision}placeholder should have been interpolated to the actual version before the plugin tried to resolve it.Context
The project uses CI-friendly versions (
${revision}) as documented in Maven's CI-friendly documentation. This works correctly with Maven 3.x but fails with Maven 4.x.Reproducer
git clone https://github.com/apache/bigtop-manager.git cd bigtop-manager mvn -B -e clean package -DskipTestsEnvironment
maven-4.0.xbranch (bootstrapped with 4.0.0-rc-5)Context
Found during Maven 4 compatibility testing.
Claude Code on behalf of Guillaume Nodet