squakez opened a new issue, #1465:
URL: https://github.com/apache/maven-mvnd/issues/1465
### Affected version
1.0.3
### Bug description
Hello team.
If I run:
```
mvn help:evaluate -Dexpression=project.artifactId
...
[WARNING] This build will only read from the build cache, since the clean
lifecycle is not part of the build invocation.
[WARNING] The POM for
org.apache.camel:camel-package-maven-plugin:jar:4.17.0-SNAPSHOT is missing, no
dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.apache.camel:camel-package-maven-plugin:4.17.0-SNAPSHOT: Plugin
org.apache.camel:camel-package-maven-plugin:4.17.0-SNAPSHOT or one of its
dependencies could not be resolved: The following artifacts could not be
resolved: org.apache.camel:camel-package-maven-plugin:jar:4.17.0-SNAPSHOT
(absent): Could not find artifact
org.apache.camel:camel-package-maven-plugin:jar:4.17.0-SNAPSHOT
```
the warning is shown in a single line. However, when running in `mvnd`, the
log is splitted:
```
mvnd help:evaluate -Dexpression=project.artifactId
...
[WARNING] The POM for
org.apache.camel:camel-package-maven-plugin:jar:4.17.0-SNAPSHOT is missing, no
dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.apache.camel:camel-package-maven-plugin:4.17.0-SNAPSHOT: Plugin
org.apache.camel:camel-package-maven-plugin:4.17.0-SNAPSHOT or one of its
dependencies could not be resolved:
Could not find artifact
org.apache.camel:camel-package-maven-plugin:jar:4.17.0-SNAPSHOT
[WARNING] The POM for
org.apache.camel:camel-repackager-maven-plugin:jar:4.17.0-SNAPSHOT is missing,
no dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.apache.camel:camel-repackager-maven-plugin:4.17.0-SNAPSHOT: Plugin
org.apache.camel:camel-repackager-maven-plugin:4.17.0-SNAPSHOT or one of its
dependencies could not be resolved:
Could not find artifact
org.apache.camel:camel-repackager-maven-plugin:jar:4.17.0-SNAPSHOT
```
Considering the the tool can be used by script and CI, it would be
convenient to keep the log output as expected, above all maintaining the same
line or at least adding the line header (in this case, `[WARNING]`).
--
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]