kerimovkhikmet commented on issue #11242:
URL: https://github.com/apache/maven/issues/11242#issuecomment-3389095375

   > Btw, you can achieve similar thing using 
[Toolbox](https://maveniverse.eu/docs/toolbox/):
   > 
   > ```
   > mvn toolbox:gav-resolve-transitive 
-Dgav=org.slf4j:slf4j-api:1.7.36,org.slf4j:slf4j-simple:1.7.36
   > ```
   > 
   > or even using JBang
   > 
   > ```
   > jbang toolbox@maveniverse resolve-transitive 
org.slf4j:slf4j-api:1.7.36,org.slf4j:slf4j-simple:1.7.36
   > ```
   > 
   > or if you have a Maven project (from within project):
   > 
   > ```
   > mvn toolbox:resolve-transitive -DfailOnLogicalFailure=false
   > ```
   
   So, I have a subcomponent built via Maven, and then it is used to build the 
main project via sbt. I have tried to run the suggested command in my Maven 
project as
   ```
   mvn eu.maveniverse.maven.plugins:toolbox:0.13.5:resolve-transitive 
-DfailOnLogicalFailure=false
   ```
   and it didn't result in a local repository containing all JARs. As a result, 
my main project's build via sbt still fails when encountering dependencies that 
have only POMs locally.


-- 
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]

Reply via email to