Skip to content

Commit

Permalink
Fix exclude Manifest file to solve problem with the last JMeter (#48)
Browse files Browse the repository at this point in the history
* Fix exclude Manifest file option in Maven Shade plugin config to solve problem with the last (5.6.2) version of JMeter.
* Specify custom manifest instead of overlapping ones.

Fixes #49.

---------

Co-authored-by: Silvio MS <silvio@uptgrp.com>
Co-authored-by: Aliaksandr Belik <alies.belik@gmail.com>
  • Loading branch information
3 people authored Sep 19, 2023
1 parent e0d93fb commit 71240e1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,18 @@
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
<Implementation-Title>${project.description}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
<Implementation-URL>${project.url}</Implementation-URL>
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
</manifestEntries>
</transformer>
</transformers>
<artifactSet>
<excludes>
<exclude>org.apache.jmeter:*</exclude>
Expand Down

0 comments on commit 71240e1

Please # to comment.