Hello, Everybody,
All the examples I’ve seen so far to build ear files with war components AND avoid duplicate jar files (like this one, for instance) assumes that the war artifacts are in a subproject, i.e., they are in the same directory tree, inside a given folder. But in my case, I have a war file that is a completely separated project (another git entry) which I am incorporating in the ear as as deploy dependency (obtained via nexus). The problem is that I have duplicate jars (I would like them to be in the ear’s lib directory). Can anybody give me an example on how to do it? (I can change the war published in nexus so that it will not contain the duplicate jars)
I am using gradle 4.10.2.
Thanks and regards.
Leonardo