-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Feature Request
When generating a lockfile, debug/info messages from the Lockfile generation code do not print to the stdout that Maven uses when executing a MoJo goal.
Current Behavior
When the generator runs, developers will often see several "Downloading..." messages in mvn's output, without any context:
[INFO] --- configurator:5.10.1-SNAPSHOT:generate (default) @ simple-project ---
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/10.0.26/jetty-bom-10.0.26.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/10.0.26/jetty-bom-10.0.26.pom (19 kB at 140 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.13.4/junit-bom-5.13.4.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.13.4/junit-bom-5.13.4.pom (5.7 kB at 66 kB/s)
...
Desired Behavior
Provide additional context prior to any actions that resolve dependencies (which can result in content being downloaded). Some of this already exists through the LOGGER currently used.
[INFO] --- configurator:5.10.1-SNAPSHOT:generate (default) @ simple-project ---
[INFO] Generating lockfile for project pluginProject
[INFO] Resolving dependencies for plugin org.apache.maven.plugins:maven-artifact-plugin:3.6.1
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/10.0.26/jetty-bom-10.0.26.pom
...
Metadata
Metadata
Assignees
Labels
No labels