grgrzybek commented on PR #182:
URL: https://github.com/apache/maven-resolver/pull/182#issuecomment-1150864268

   Dependencies can be tracked as expected. It works different for child→parent 
relationship, because the path is not passed down with `RequestTrace`.
   
   Most of the projects being built on fresh repo starts with:
   ```
   Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
 (3.9 kB at 8.9 kB/s)
   Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom
   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom
 (13 kB at 157 kB/s)
   Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom
   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom
 (26 kB at 277 kB/s)
   Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom
   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom (15 kB 
at 197 kB/s)
   Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar
   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar
 (25 kB at 254 kB/s)
   ```
   
   However for org.apache:apache:pom:10, I could track this information (in 
fresh M2 repo in 
`org/apache/apache/10/.tracking/org.apache.maven.plugins_maven-clean-plugin_2.5.plugin`
 file):
   ```
   org.apache:apache:pom:10
     org.apache.maven.plugins:maven-clean-plugin:2.5
       org.apache.maven:maven-core:3.8.6.1:default-lifecycle-bindings (implicit)
   
   Repository: central (https://repo.maven.apache.org/maven2, default, releases)
   ```
   
   It'd be great to insert these:
   * org/apache/maven/plugins/maven-plugins/22
   * org/apache/maven/maven-parent/21
   
   but for now let's leave as is - parent-child relationship is much less 
relevant than normal dependencies.
   
   What's most important is 
`log4j/log4j/1.2.12/.tracking/org.apache.maven.plugins_maven-compiler-plugin_jar_3.1.dep`
 file with:
   ```
   log4j:log4j:jar:1.2.12 (compile) (plugin)
     org.apache.xbean:xbean-reflect:jar:3.4 (compile) (plugin)
       org.codehaus.plexus:plexus-container-default:jar:1.5.5 (compile) (plugin)
         org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 () (plugin)
   
   Repository: central (https://repo.maven.apache.org/maven2, default, releases)
   ```


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to