Skip to content

Commit 30bfb66

Browse files
committed
GH-494: Enhance jar's MANIFEST.MF content
Fixes: #494 * Add the following properties into the mentioned file: - `Automatic-Module-Name` - `Implementation-Title` - `Implementation-Vendor` - `Implementation-Vendor-Id` - `Implementation-Version`
1 parent c8977dd commit 30bfb66

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,22 @@
273273
</execution>
274274
</executions>
275275
</plugin>
276+
<plugin>
277+
<groupId>org.apache.maven.plugins</groupId>
278+
<artifactId>maven-jar-plugin</artifactId>
279+
<version>3.4.2</version>
280+
<configuration>
281+
<archive>
282+
<manifestEntries>
283+
<Implementation-Title>${project.name}</Implementation-Title>
284+
<Implementation-Vendor>Broadcom Inc.</Implementation-Vendor>
285+
<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
286+
<Implementation-Version>${revision}</Implementation-Version>
287+
<Automatic-Module-Name>spring.retry</Automatic-Module-Name>
288+
</manifestEntries>
289+
</archive>
290+
</configuration>
291+
</plugin>
276292
<plugin>
277293
<artifactId>maven-assembly-plugin</artifactId>
278294
<version>3.7.1</version>

0 commit comments

Comments
 (0)