I'm using Spring Boot with the spring boot maven plugin which creates a JAR with
The JAR created by the plugin puts the classes in subdirectory in the JAR which means that I can't use the JAR as a dependency in maven.
Is there a way to declare a depenency in maven on the original JAR. I see that there is a *.jar.original
file in the target
directory so maybe I can create a dependency on that in the way it's possible to create a dependency on the test classes by declaring a dependency of the kind test-jar
.
Just for clarification: I'm doing this testing/easier debugging, not for production.