Maven jar with classpath in manifest
问题 I am making an extra jar containing the project jar and all dependencies, as part of my maven build (with maven-assembly-plugin): In assembly XML file: <dependencySet> <unpack>false</unpack> <scope>runtime</scope> <useProjectArtifact>false</useProjectArtifact> <outputDirectory>lib</outputDirectory> </dependencySet> In POM: <archive> <manifest> <mainClass>dk.intelligentsystems.platform.deploy.Deployer</mainClass> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>