We’re using the built-in support for generating Eclipse-SourceReferences manifest header
http://www.eclipse.org/tycho/sitedocs/tycho-packaging-plugin/package-plugin-mojo.html#sourceReferences
https://wiki.eclipse.org/Tycho/FAQ#How_to_generate_Eclipse-SourceReferences_MANIFEST_header.3F
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Jim Klo
Sent: Thursday, June 23, 2016 4:04 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: [EXTERNAL] Re: [tycho-user] Adding additional manifest entries with Tycho
That seems to “mostly” work. Only “mostly” because each module's artifactId get appended the $scm.url defined in the parent pom when doing this - and maybe a solution on how to prevent it?
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
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.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
|