Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.mcpractice</groupId>
- <artifactId>MCPracticeProxy</artifactId>
- <version>1.0</version>
- <packaging>jar</packaging>
- <name>MCPracticeProxy</name>
- <properties>
- <java.version>11</java.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.10.1</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.3.0</version>
- <configuration>
- <minimizeJar>true</minimizeJar>
- <relocations>
- <relocation>
- <pattern>org.bstats</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.bstats</shadedPattern>
- </relocation>
- <relocation>
- <pattern>org.apache</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.apache</shadedPattern>
- </relocation>
- <relocation>
- <pattern>org.intellij</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.intellij</shadedPattern>
- </relocation>
- <relocation>
- <pattern>org.jetbrains</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.jetbrains</shadedPattern>
- </relocation>
- <relocation>
- <pattern>net.dv8tion</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.dv8tion</shadedPattern>
- </relocation>
- <relocation>
- <pattern>net.kyori</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori</shadedPattern>
- </relocation>
- <relocation>
- <pattern>kotlin</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.kotlin</shadedPattern>
- </relocation>
- <relocation>
- <pattern>com.fasterxml</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.fasterxml</shadedPattern>
- </relocation>
- <relocation>
- <pattern>com.iwebpp</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.iwebpp</shadedPattern>
- </relocation>
- <relocation>
- <pattern>com.neovisionaries</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.neovisionaries</shadedPattern>
- </relocation>
- <relocation>
- <pattern>gnu.trove</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.gnu.trove</shadedPattern>
- </relocation>
- <relocation>
- <pattern>okhttp3</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.okhttp3</shadedPattern>
- </relocation>
- <relocation>
- <pattern>okio</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.libraries.okio</shadedPattern>
- </relocation>
- </relocations>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>META-INF/versions/*/module-info.class</exclude>
- <exclude>META-INF/maven/**</exclude>
- <exclude>META-INF/proguard/**</exclude>
- <exclude>**/*.kotlin_module</exclude>
- <exclude>module-info.class</exclude>
- </excludes>
- </filter>
- </filters>
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
- </transformers>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <finalName>Skoice</finalName>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </build>
- <repositories>
- <repository>
- <id>papermc-repo</id>
- <url>https://repo.papermc.io/repository/maven-public/</url>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>com.velocitypowered</groupId>
- <artifactId>velocity-api</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.18.28</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- <version>5.0.0</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>8.0.27</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <version>4.3.1</version>
- </dependency>
- </dependencies>
- </project>
Add Comment
Please, Sign In to add comment