|
284 | 284 | <!-- Embedded SSH Client --> |
285 | 285 | <dependency> |
286 | 286 | <!-- BSD --> |
287 | | - <groupId>com.jcraft</groupId> |
| 287 | + <groupId>com.github.mwiede</groupId> |
288 | 288 | <artifactId>jsch</artifactId> |
289 | | - <version>0.1.55</version> |
| 289 | + <version>2.28.8</version> |
290 | 290 | </dependency> |
291 | 291 |
|
292 | 292 | <!-- Charset detection library --> |
|
513 | 513 | <!--<mainClass>com.laytonsmith.core.MainSandbox</mainClass>--> |
514 | 514 | </manifest> |
515 | 515 | <manifestEntries> |
| 516 | + <Multi-Release>true</Multi-Release> |
516 | 517 | <paperweight-mappings-namespace>mojang</paperweight-mappings-namespace> |
517 | 518 | <Class-Path>../bukkit.jar CommandHelper/bukkit.jar</Class-Path> |
518 | 519 | </manifestEntries> |
|
524 | 525 | <plugin> |
525 | 526 | <groupId>org.apache.maven.plugins</groupId> |
526 | 527 | <artifactId>maven-shade-plugin</artifactId> |
527 | | - <version>3.5.2</version> |
| 528 | + <version>3.6.2</version> |
528 | 529 | <executions> |
529 | 530 | <execution> |
530 | 531 | <id>ShadedBundle</id> |
|
550 | 551 | <include>org.yaml:snakeyaml:jar:*</include> |
551 | 552 | <include>com.googlecode.json-simple:json-simple:jar:*</include> |
552 | 553 | <include>org.mindrot:jBCrypt:jar:*</include> |
553 | | - <include>com.jcraft:jsch:jar:*</include> |
| 554 | + <include>com.github.mwiede:jsch:jar:*</include> |
554 | 555 | <include>org.apache.commons:commons-io:jar:*</include> |
555 | 556 | <include>org.xerial:sqlite-jdbc:jar:*</include> |
556 | 557 | <include>net.sourceforge.jchardet:jchardet:jar:*</include> |
|
611 | 612 | <pattern>com.jcraft.jsch</pattern> |
612 | 613 | <shadedPattern>com.laytonsmith.libs.com.jcraft.jsch</shadedPattern> |
613 | 614 | </relocation> |
| 615 | + <!-- Versioned classes must remain overrides of their relocated base classes. --> |
| 616 | + <relocation> |
| 617 | + <pattern>^META-INF/versions/([0-9]+)/com/jcraft/jsch/</pattern> |
| 618 | + <shadedPattern>META-INF/versions/$1/com/laytonsmith/libs/com/jcraft/jsch/</shadedPattern> |
| 619 | + <rawString>true</rawString> |
| 620 | + </relocation> |
614 | 621 | <relocation> |
615 | 622 | <pattern>org.apache.commons.io</pattern> |
616 | 623 | <shadedPattern>com.laytonsmith.libs.org.apache.commons.io</shadedPattern> |
|
0 commit comments