squakez commented on issue #4892:
URL: https://github.com/apache/camel-k/issues/4892#issuecomment-1794506759
Okey. I had a deeper look at this comparing the execution of version 2.0. We
have the following:
```
camel-k-kit-cl4bpbehoqkc73fkocgg-builder builder
{"level":"info","ts":1699265717.6614916,"logger":"camel-k.maven","msg":"executing:
./mvnw -V --no-transfer-progress -Dstyle.color=never package --global-settings
/builder/kit-cl4bpbehoqkc73fkocgg/maven/settings.xml --settings
/builder/kit-cl4bpbehoqkc73fkocgg/maven/user-settings.xml
-Dmaven.artifact.threads=8 -T 8","MAVEN_OPTS":""}
```
where it show the usage of both a `global-settings` and a `user-settings`.
We are probably swallowing the latter during the native build. As an immediate
workaround you probably needs to execute `-t
builder.tasks="workaround;alpine;cp maven/user-settings.xml settings.xml"` to
use the custom settings vs the global ones.
--
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]