Add default MANIFEST.MF Spec/Impl entries 60/111260/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Apr 2024 07:00:08 +0000 (09:00 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Apr 2024 07:02:20 +0000 (09:02 +0200)
We can auto-generate the following manifest entries:

Specification-Title: ODL :: odlparent :: bundles-test-lib
Specification-Version: 13.1
Specification-Vendor: OpenDaylight
Implementation-Title: ODL :: odlparent :: bundles-test-lib
Implementation-Version: 13.1.0-SNAPSHOT
Implementation-Vendor: OpenDaylight

Flip that particular switch on.

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

index 39b500506609c402ddd9fa252cbb1424332cc068..e776de8a573652a7ab16290228a4cd63d0a4642e 100644 (file)
                 <artifactId>maven-jar-plugin</artifactId>
                 <configuration>
                     <archive>
+                        <manifest>
+                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                        </manifest>
                         <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
                     </archive>
                 </configuration>