Skip to content

Commit a734365

Browse files
committed
Make benchmark JAR executable again
1 parent f72c843 commit a734365

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

log4j-perf-test/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,21 @@
196196
<plugin>
197197
<groupId>org.apache.maven.plugins</groupId>
198198
<artifactId>maven-shade-plugin</artifactId>
199+
<executions>
200+
<execution>
201+
<id>generate-uber-jar</id>
202+
<configuration>
203+
<transformers combine.children="append">
204+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
205+
<manifestEntries>
206+
<Main-Class>org.openjdk.jmh.Main</Main-Class>
207+
<Multi-Release>true</Multi-Release>
208+
</manifestEntries>
209+
</transformer>
210+
</transformers>
211+
</configuration>
212+
</execution>
213+
</executions>
199214
</plugin>
200215

201216
</plugins>

0 commit comments

Comments
 (0)