Advertisement
A248

Modified pom.xml for JetsAntiAFKPro

Jul 29th, 2022 (edited)
1,224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.94 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. <repositories>
  8.     <repository>
  9.         <id>placeholderapi</id>
  10.         <url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
  11.     </repository>
  12.     <repository>
  13.         <id>spigot-repo</id>
  14.         <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  15.     </repository>
  16.     <repository>
  17.         <id>jitpack.io</id>
  18.         <url>https://jitpack.io</url>
  19.     </repository>
  20. </repositories>
  21.  
  22.     <dependencies>
  23.         <!--Spigot API-->
  24.         <dependency>
  25.             <groupId>org.spigotmc</groupId>
  26.             <artifactId>spigot-api</artifactId>
  27.             <version>1.14-R0.1-SNAPSHOT</version>
  28.             <scope>provided</scope>
  29.         </dependency>
  30.         <!--MySQL API-->
  31.         <dependency>
  32.             <groupId>com.zaxxer</groupId>
  33.             <artifactId>HikariCP</artifactId>
  34.             <version>4.0.2</version>
  35.         </dependency>
  36.         <!-- Placeholders -->
  37.     <dependency>
  38.         <groupId>me.clip</groupId>
  39.         <artifactId>placeholderapi</artifactId>
  40.         <version>2.9.2</version>
  41.         <scope>provided</scope>
  42.     </dependency>
  43.         <dependency>
  44.             <groupId>com.github.ConnorLinfoot</groupId>
  45.             <artifactId>TitleAPI</artifactId>
  46.             <version>1.7.6</version>
  47.         </dependency>
  48. </dependencies>
  49.  
  50.     <build>
  51.         <plugins>
  52.             <plugin>
  53.                 <groupId>org.apache.maven.plugins</groupId>
  54.                 <artifactId>maven-shade-plugin</artifactId>
  55.                 <version>3.3.0</version>
  56.                 <executions>
  57.                     <execution>
  58.                         <phase>package</phase>
  59.                         <goals>
  60.                             <goal>shade</goal>
  61.                         </goals>
  62.                         <configuration>
  63.                             <filters>
  64.                                 <filter>
  65.                                     <artifact>*:*</artifact>
  66.                                     <excludes>
  67.                                         <exclude>META-INF/*.SF</exclude>
  68.                                         <exclude>META-INF/*.DSA</exclude>
  69.                                         <exclude>META-INF/*.RSA</exclude>
  70.                                     </excludes>
  71.                                 </filter>
  72.                             </filters>
  73.                             <relocations>
  74.                                 <relocation>
  75.                                     <pattern>com.zaxxer</pattern>
  76.                                     <shadedPattern>me.jet315.antiafkpro.libs.com.zaxxer</shadedPattern>
  77.                                 </relocation>
  78.                                 <relocation>
  79.                                     <pattern>org.slf4j</pattern>
  80.                                     <shadedPattern>me.jet315.antiafkpro.libs.org.slf4j</shadedPattern>
  81.                                 </relocation>
  82.                                 <relocation>
  83.                                     <pattern>com.connorlinfoot</pattern>
  84.                                     <shadedPattern>me.jet315.antiafkpro.libs.com.connorlinfoot</shadedPattern>
  85.                                 </relocation>
  86.                             </relocations>
  87.                         </configuration>
  88.                     </execution>
  89.                 </executions>
  90.             </plugin>
  91.         </plugins>
  92.     </build>
  93.     <properties>
  94.         <maven.compiler.source>1.8</maven.compiler.source>
  95.         <maven.compiler.target>1.8</maven.compiler.target>
  96.     </properties>
  97.     <groupId>AntiAFKPro</groupId>
  98.     <artifactId>AntiAFKPro</artifactId>
  99.     <version>1.0-SNAPSHOT</version>
  100.  
  101.    
  102. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement