mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 09:47:40 +01:00
Add plumbing for automatic library support
By: md_5 <git@md-5.net>
This commit is contained in:
parent
9764b58089
commit
59f6e7fdd8
@ -76,6 +76,38 @@
|
|||||||
<version>5.1.49</version>
|
<version>5.1.49</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- add these back in as they are not exposed by the API -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.maven</groupId>
|
||||||
|
<artifactId>maven-resolver-provider</artifactId>
|
||||||
|
<version>3.8.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.maven.resolver</groupId>
|
||||||
|
<artifactId>maven-resolver-connector-basic</artifactId>
|
||||||
|
<version>1.6.2</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.maven.resolver</groupId>
|
||||||
|
<artifactId>maven-resolver-transport-http</artifactId>
|
||||||
|
<version>1.6.2</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
|
<artifactId>log4j-slf4j-impl</artifactId>
|
||||||
|
<version>2.8.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
<exclusions>
|
||||||
|
<!-- included in minecraft-server -->
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
|
<artifactId>log4j-api</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
<!-- testing -->
|
<!-- testing -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
@ -201,6 +233,26 @@
|
|||||||
<pattern>org.apache.commons.lang3</pattern>
|
<pattern>org.apache.commons.lang3</pattern>
|
||||||
<shadedPattern>org.bukkit.craftbukkit.libs.org.apache.commons.lang3</shadedPattern>
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.apache.commons.lang3</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.apache.http</pattern>
|
||||||
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.apache.http</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.apache.maven</pattern>
|
||||||
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.apache.maven</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.codehaus.plexus</pattern>
|
||||||
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.codehaus.plexus</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.eclipse.aether</pattern>
|
||||||
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.eclipse.aether</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.eclipse.sisu</pattern>
|
||||||
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.eclipse.sisu</shadedPattern>
|
||||||
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>org.objectweb.asm</pattern>
|
<pattern>org.objectweb.asm</pattern>
|
||||||
<shadedPattern>org.bukkit.craftbukkit.libs.org.objectweb.asm</shadedPattern>
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.objectweb.asm</shadedPattern>
|
||||||
|
Loading…
Reference in New Issue
Block a user