sellersj opened a new issue, #11503:
URL: https://github.com/apache/maven/issues/11503
### Affected version
4.0.0-rc-5
### Bug description
For years we've had variables for where artifacts should deploy contained in
the settings.xml file. Has worked until rc-5. It worked in rc-4.
Sample command that shows the issue is just the help:effective-pom
~/Downloads/apache-maven-4.0.0-rc-5/bin/mvn -V -s settings.xml
help:effective-pom
Attached are an example pom and settings that shows it. TOOLS_HOST is an env
variable that's properly set. For the test you can set it to something like
"example.com"
```
[ERROR] Some problems were encountered while processing the POMs
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.example:Zminimal:0.0.1-SNAPSHOT
(/mnt/c/users/sellersj/git/zminimal/pom.xml) has 4 errors
[ERROR]
'distributionManagement.repository.[${distributionManagement-internal-released-id}].id'
contains an uninterpolated expression. @ line 22, column 7
[ERROR]
'distributionManagement.snapshotRepository.[${distributionManagement-internal-snapshots-id}].id'
contains an uninterpolated expression. @ line 26, column 7
[ERROR]
'distributionManagement.repository.[${distributionManagement-internal-released-id}].id'
contains an uninterpolated expression. @ line 22, column 7
[ERROR]
'distributionManagement.snapshotRepository.[${distributionManagement-internal-snapshots-id}].id'
contains an uninterpolated expression. @ line 26, column 7
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
'-e' switch
[ERROR] Re-run Maven using the '-X' switch to enable verbose output
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
```
[pom.xml](https://github.com/user-attachments/files/23829563/pom.xml)
[settings.xml](https://github.com/user-attachments/files/23829564/settings.xml)
--
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]