gnodet opened a new issue, #12303:
URL: https://github.com/apache/maven/issues/12303
## 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
```bash
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](https://github.com/gnodet/maven4-testing/issues/20595).
_Claude Code on behalf of Guillaume Nodet_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]