i would like to add a line to my .jar that gets created:
but i get:
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2:single (create-executable-jar) on project SoundBox-PlayerEngine: Unable to parse configuration of mojo org.apache.maven.plugins:maven-assembly-plugin:2.2:single for parameter manifest: Cannot find setter, adder nor field in org.apache.maven.archiver.ManifestConfiguration for 'manifestEntries' -> [Help 1]
i googled for the api and found that the class ManifestConfiguration does have the set/get-ManifestEntry method - but the javadoc was for maven 2. Is this method no longer supported? How can i do this?
Try running mvn with the -X option (redirect the output to s file - there is a lot of it) and verify that the SPI-Consumer value is getting passed to the Assembly plugin. Also, post the contents of the resulting MANIFEST.MF file.
Another thought - try adding in at least one of the <manifest> entries, such as addDefaultImplementationEntries. Perhaps the manifest is not created unless you have at least one of those entries.