Affects Version/s: None
Fix Version/s: 1.8
Number of attachments :
When running maven console on a JAR where the manifest classpath is set using maven.jar.manifest.classpath.add=true, the classpath string is not reset between runs. So, if running the jar goal multiple times, the Class-Path attribute will be getting longer and longer, containing multiple copies of the classpath.
This patch of plugin.jelly in maven-jar-plugin:
<j:set var="jarClasspath" value="$
+ <j:set var="maven.jar.classpath" value=""/>
fixes the problem but I'm unsure if it will affect something else.