Guest User

Untitled

a guest
Jul 12th, 2023
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>com.mcpractice</groupId>
  8. <artifactId>MCPracticeProxy</artifactId>
  9. <version>1.0</version>
  10. <packaging>jar</packaging>
  11.  
  12. <name>MCPracticeProxy</name>
  13.  
  14. <properties>
  15. <java.version>11</java.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18.  
  19. <build>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-compiler-plugin</artifactId>
  24. <version>3.10.1</version>
  25. <configuration>
  26. <source>${java.version}</source>
  27. <target>${java.version}</target>
  28. </configuration>
  29. </plugin>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-shade-plugin</artifactId>
  33. <version>3.3.0</version>
  34. <configuration>
  35. <minimizeJar>true</minimizeJar>
  36. <relocations>
  37. <relocation>
  38. <pattern>org.bstats</pattern>
  39. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.bstats</shadedPattern>
  40. </relocation>
  41. <relocation>
  42. <pattern>org.apache</pattern>
  43. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.apache</shadedPattern>
  44. </relocation>
  45. <relocation>
  46. <pattern>org.intellij</pattern>
  47. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.intellij</shadedPattern>
  48. </relocation>
  49. <relocation>
  50. <pattern>org.jetbrains</pattern>
  51. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.jetbrains</shadedPattern>
  52. </relocation>
  53. <relocation>
  54. <pattern>net.dv8tion</pattern>
  55. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.dv8tion</shadedPattern>
  56. </relocation>
  57. <relocation>
  58. <pattern>net.kyori</pattern>
  59. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori</shadedPattern>
  60. </relocation>
  61. <relocation>
  62. <pattern>kotlin</pattern>
  63. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.kotlin</shadedPattern>
  64. </relocation>
  65. <relocation>
  66. <pattern>com.fasterxml</pattern>
  67. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.fasterxml</shadedPattern>
  68. </relocation>
  69. <relocation>
  70. <pattern>com.iwebpp</pattern>
  71. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.iwebpp</shadedPattern>
  72. </relocation>
  73. <relocation>
  74. <pattern>com.neovisionaries</pattern>
  75. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.neovisionaries</shadedPattern>
  76. </relocation>
  77. <relocation>
  78. <pattern>gnu.trove</pattern>
  79. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.gnu.trove</shadedPattern>
  80. </relocation>
  81. <relocation>
  82. <pattern>okhttp3</pattern>
  83. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.okhttp3</shadedPattern>
  84. </relocation>
  85. <relocation>
  86. <pattern>okio</pattern>
  87. <shadedPattern>${project.groupId}.${project.artifactId}.libraries.okio</shadedPattern>
  88. </relocation>
  89. </relocations>
  90. <filters>
  91. <filter>
  92. <artifact>*:*</artifact>
  93. <excludes>
  94. <exclude>META-INF/*.SF</exclude>
  95. <exclude>META-INF/*.DSA</exclude>
  96. <exclude>META-INF/*.RSA</exclude>
  97. <exclude>META-INF/MANIFEST.MF</exclude>
  98. <exclude>META-INF/versions/*/module-info.class</exclude>
  99. <exclude>META-INF/maven/**</exclude>
  100. <exclude>META-INF/proguard/**</exclude>
  101. <exclude>**/*.kotlin_module</exclude>
  102. <exclude>module-info.class</exclude>
  103. </excludes>
  104. </filter>
  105. </filters>
  106. <transformers>
  107. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
  108. <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
  109. <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
  110. </transformers>
  111. </configuration>
  112. <executions>
  113. <execution>
  114. <phase>package</phase>
  115. <goals>
  116. <goal>shade</goal>
  117. </goals>
  118. <configuration>
  119. <createDependencyReducedPom>false</createDependencyReducedPom>
  120. <finalName>Skoice</finalName>
  121. </configuration>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. </plugins>
  126. <resources>
  127. <resource>
  128. <directory>src/main/resources</directory>
  129. <filtering>true</filtering>
  130. </resource>
  131. </resources>
  132. </build>
  133.  
  134. <repositories>
  135. <repository>
  136. <id>papermc-repo</id>
  137. <url>https://repo.papermc.io/repository/maven-public/</url>
  138. </repository>
  139. </repositories>
  140.  
  141. <dependencies>
  142. <dependency>
  143. <groupId>com.velocitypowered</groupId>
  144. <artifactId>velocity-api</artifactId>
  145. <version>3.2.0-SNAPSHOT</version>
  146. <scope>provided</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.projectlombok</groupId>
  150. <artifactId>lombok</artifactId>
  151. <version>1.18.28</version>
  152. <scope>provided</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.zaxxer</groupId>
  156. <artifactId>HikariCP</artifactId>
  157. <version>5.0.0</version>
  158. <scope>compile</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>mysql</groupId>
  162. <artifactId>mysql-connector-java</artifactId>
  163. <version>8.0.27</version>
  164. <scope>compile</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>redis.clients</groupId>
  168. <artifactId>jedis</artifactId>
  169. <version>4.3.1</version>
  170. </dependency>
  171. </dependencies>
  172. </project>
  173.  
Add Comment
Please, Sign In to add comment