jbang
jbang copied to clipboard
GAV list / dependency tree for a script
Is your feature request related to a problem? Please describe.
JBang offers commands to retrieve a list dependencies; e.g. jbang info tools <appfile.java>
, jbang --verbose
Using these approaches, the full path of dependencies in the file system is exposed. When having to share dependency information for troubleshooting it would be convenient to be able to share such information without revealing details on the host system.
For automated comparison a simple list is a good option. For human understanding a tree structure can be advantageous.
Describe the solution you'd like
jbang info dependencies <appfile.java>
defaults to a tree representing the dependencies (GAV); no path information
E.g.
\--- io.quarkus:quarkus-resteasy:2.8.0.Final
+--- io.quarkus:quarkus-vertx-http:2.8.0.Final
| +--- io.quarkus:quarkus-core:2.8.0.Final
jbang info dependencies --list <appfile.java>
outputs a simple list with each GAV line by line; no path information
E.g.
io.quarkus:quarkus-resteasy:2.8.0.Final
io.quarkus:quarkus-vertx-http:2.8.0.Final
io.quarkus:quarkus-core:2.8.0.Final
Describe alternatives you've considered
- open script in IDE
- launch terminal in IDE
- show dependencies using Gradle
Additional context
see https://github.com/quarkusio/quarkus/issues/24926
open question: compileClasspath, runtimeClasspath, testCompileClasspath, testRuntimeClasspath, all?
Salve chi mi aiuta a fare istallazione per eliminare tutti gli errori mi piacerebbe iniziare senza impazzire non o molta esperienza magari collegadosi insieme vi ringrazierei cerco aiuto
Hi,
My Italian is not Strong. What errors are you having?