-
We have a Quarkus multi module build where one module is:
It makes sense for us to build those together since they share some logic/code. When we publish the client-SDK jar, it has a lot of dependencies. Extract of a
Point 1) probably we can improve the publication process of our library. It is probably wrong that this one is based on quarkus. This is probably a "dependency leak", due to the current project setup. Point 2) right now when we start a small jbang script that is using this single library, it doesn't work. We get:
The Any idea how I can prevent the Or what can I do to investigate what is going on? If there is some interest, I could try to share a reproducer. Maybe the problem is more in the quarkus project setup than in Jbang itself... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
The --verbose flag has to be put before the filename, anything after the filename is considered arguments for the application. |
Beta Was this translation helpful? Give feedback.
-
You are not pointing to a quarkus app jar afaics. You are pointing to a jar with lots of quarkus Dev deps. Not sure what to suggest as not sure what app you have but as long as the pom says it has those deps jbang Will honor that. And as we don't have exclude option yet it will cosntinue happen. Possible solutions as of today is to point to a Uber jar or make a pom.xml with the true dependencies. |
Beta Was this translation helpful? Give feedback.
-
kind of. not sure what we can do to fix it as its really a maven limiitation. |
Beta Was this translation helpful? Give feedback.
-
This is solved with version ///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS <client SDK based on quarkus>
//JAVA 17
//NOINTEGRATIONS
import static java.lang.System.out;
public class MyScript {
public static void main(String... args) {
out.println("start");
// usage of the client SDK containing the dependency to quarkus
out.println("end");
}
} |
Beta Was this translation helpful? Give feedback.
This is solved with version
0.122.0
and usage of the//NOINTEGRATIONS
flag: