maven-jar-plugin doesn't add Class-Path with archiver
posted 2 years ago
I am using maven-jar-plugin and maven archiver to specify manifest entries.
However it will not add neither classpath nor implementation entries.
In order for the jar file to have Class-Path within its manifest file I had to override it. Would hate to do the same with implementation entries.Seems waste to add extra configuration when archiver could do it.
Edit: The problem with the missing classpath has to do with the fact that I am using system scope dependencies.
When it comes to adding default implementation entries. This doesn't work , but this does .