write developers contributors into Jar

2015-03-01 Thread Philipp Kraus
Hello, I use Maven 3.0 with the developers and contributors inside the pom.xml. I use also the manifestEntries with the maven-assembly-plugin to add some flags to the Jar manifest file. I would like to add the developer and contributors list to the Jar, but I don’t know in which way I can add

Re: write developers contributors into Jar

2015-03-01 Thread Manfred Moser
If you want to just have the information in the jar somewhere, the pom file will already be in the jar by default. This is due to the archiver config addMavenDescriptor set to true. See http://maven.apache.org/shared/maven-archiver/index.html for the location of the pom file and further

Re: write developers contributors into Jar

2015-03-01 Thread Curtis Rueden
Hi Phillipp, If you want to just have the information in the jar somewhere, the pom file will already be in the jar by default. I second Manfred's suggestion, if using the POM works for your use case. I'm sure other projects have invented their own version of this, but just in case it's

Re: write developers contributors into Jar

2015-03-01 Thread Ron Wheeler
http://maven.apache.org/shared/maven-archiver/index.html This plug-in seems to allow yo a way to add key/value pairs to the Manifest. manifestEntries A list of key/value pairs to add to the manifest. On 01/03/2015 6:41 AM, Philipp Kraus wrote: Hello, I use Maven 3.0 with the

Re: write developers contributors into Jar

2015-03-01 Thread Baptiste Mathus
Actually, maven-archiver is a shared component, somehow low-level hence used by many plugins. In your case, just configure the maven-jar-plugin http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html Cheers 2015-03-01 20:21 GMT+01:00 Ron Wheeler