Maven will set manifest values to illegal multiline values. This module's POM has this multiline attribute, which if included directly in the manifest will make a corrupt manifest. To use this test, package this POM and then inspect the manifest: Maven will use this value literally as the Jar's "Specification Title", and the Jar will be corrupt. Attempt to lauch the Jar, and the launcher should raise an exception also.