We do this with the tycho-packaging-plugin, which takes the same archive [1] configuration parameter
[1] https://eclipse.org/tycho/sitedocs/tycho-packaging-plugin/package-plugin-mojo.html#archive
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Jim Klo
Sent: Thursday, June 23, 2016 3:34 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: [EXTERNAL] [tycho-user] Adding additional manifest entries with Tycho
I’d like to add a custom metadata section into my MANIFEST.MF files during our CI build process. When building standard JAR libraries, I just add the following profile and it just works:
<property><name>scm-revision</name></property>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<scm-url>${project.scm.url}</scm-url>
<scm-revision>${scm-revision}</scm-revision>
Now I want to add the same information into the bundle manifest. And not sure how to do this as the tycho-packaging:package-plugin goal seems to be what handle this step.
Center for Software Engineering
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
|