Do not leak tooling into MANIFEST.MF 07/111907/2 master
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 31 May 2024 07:15:30 +0000 (09:15 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 31 May 2024 08:37:34 +0000 (10:37 +0200)
Do not add Created-By and Build-Jdk-Spec headers as they depend on the
build environment.

Change-Id: I28f51e90203222d3ad7125652986291520850045
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bnd-parent/pom.xml

index 6b3209bb457e3dc7c2e82646047a60a73448bdf0..b704082b53e172ac4af57b7850c7fdc96bdd3f45 100644 (file)
@@ -93,7 +93,7 @@
                 </executions>
             </plugin>
             <!--
-                See https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin#important-note-about-maven-jarwar-plugin
+                See https://github.com/bndtools/bnd/tree/master/maven-plugins/bnd-maven-plugin#important-note-about-maven-jarwar-plugin
                 and https://issues.apache.org/jira/browse/MJAR-193
             -->
             <plugin>
                 <configuration>
                     <archive>
                         <manifest>
+                            <!-- Do not leak tooling versions -->
+                            <addDefaultEntries>false</addDefaultEntries>
+
                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                         </manifest>