File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 230
230
<groupId >org.apache.maven.plugins</groupId >
231
231
<artifactId >maven-shade-plugin</artifactId >
232
232
<version >3.6.0</version >
233
+ <dependencies >
234
+ <dependency > <!-- correctly shade multiple log4j2 depencneis -->
235
+ <groupId >org.apache.logging.log4j</groupId >
236
+ <artifactId >log4j-transform-maven-shade-plugin-extensions</artifactId >
237
+ <version >0.2.0</version >
238
+ </dependency >
239
+ </dependencies >
233
240
<executions >
234
241
<execution >
235
242
<phase >package</phase >
238
245
</goals >
239
246
<configuration >
240
247
<transformers >
248
+ <transformer implementation =" org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer" />
249
+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
241
250
<transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
242
251
<manifestEntries >
243
252
<Name >rascal-lsp</Name >
253
+ <Multi-Release >true</Multi-Release >
244
254
<Main-Class >org.rascalmpl.vscode.lsp.RascalLanguageServer</Main-Class >
245
255
<Specification-Version >${project.version} </Specification-Version >
246
256
<Specification-Vendor >http://www.usethesource.io</Specification-Vendor >
You can’t perform that action at this time.
0 commit comments