Advertisement
GospelBG

Untitled

Feb 5th, 2025
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3.   <modelVersion>4.0.0</modelVersion>
  4.   <groupId>me.gosdev</groupId>
  5.   <artifactId>chatpointsttv</artifactId>
  6.   <version>${revision}</version>
  7.   <packaging>pom</packaging>
  8.   <name>ChatPointsTTV</name>
  9.   <url>https://github.com/GospelBG/ChatPointsTTV</url>
  10.   <modules>
  11.     <module>core</module>
  12.     <!-- <module>craftbukkit_1_12_R1</module>
  13.    <module>craftbukkit_1_9_R1</module> -->
  14.     <module>dist</module>
  15.   </modules>
  16.   <build>
  17.     <plugins>
  18.       <plugin>
  19.         <groupId>org.apache.maven.plugins</groupId>
  20.         <artifactId>maven-shade-plugin</artifactId>
  21.         <version>3.6.0</version>
  22.         <configuration>
  23.           <createDependencyReducedPom>false</createDependencyReducedPom>
  24.           <relocations>
  25.             <relocation>
  26.               <pattern>org.bstats</pattern>
  27.               <shadedPattern>me.gosdev.chatpointsttv.libraries.bstats</shadedPattern>
  28.             </relocation>
  29.             <relocation>
  30.               <pattern>com.alessiodp.libby</pattern>
  31.               <shadedPattern>me.gosdev.chatpointsttv.libraries.libby</shadedPattern>
  32.             </relocation>
  33.           </relocations>
  34.         </configuration>
  35.         <executions>
  36.           <execution>
  37.             <phase>package</phase>
  38.             <goals>
  39.               <goal>shade</goal>
  40.             </goals>
  41.           </execution>
  42.         </executions>
  43.       </plugin>
  44.     </plugins>
  45.     <resources>
  46.         <resource>
  47.             <directory>src/main/resources</directory>
  48.             <filtering>true</filtering>
  49.          </resource>
  50.       </resources>
  51.   </build>
  52.  
  53.   <properties>
  54.       <revision>2.4</revision>
  55.   </properties>
  56.  
  57.   <repositories>
  58.       <!-- <repository>
  59.        <id>spigot-repo</id>
  60.        <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  61.      </repository> -->
  62.       <repository>
  63.         <id>maven-snapshots</id>
  64.         <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
  65.       </repository>
  66.       <repository>
  67.         <id>maven-central</id>
  68.         <url>https://repo.maven.apache.org/maven2</url>
  69.       </repository>
  70.       <repository>
  71.             <id>jitpack.io</id>
  72.             <url>https://jitpack.io</url>
  73.       </repository>
  74.       <repository>
  75.         <id>papermc</id>
  76.         <url>https://repo.papermc.io/repository/maven-public/</url>
  77.     </repository>
  78.   </repositories>
  79.  
  80.   <dependencies>
  81.     <dependency>
  82.       <groupId>io.papermc.paper</groupId>
  83.       <artifactId>paper-api</artifactId>
  84.       <version>1.21.4-R0.1-SNAPSHOT</version>
  85.       <scope>provided</scope>
  86.     </dependency>
  87.     <dependency>
  88.       <groupId>org.bstats</groupId>
  89.       <artifactId>bstats-bukkit</artifactId>
  90.       <version>3.0.2</version>
  91.       <scope>compile</scope>
  92.     </dependency>
  93.     <dependency>
  94.       <groupId>com.github.philippheuer.events4j</groupId>
  95.       <artifactId>events4j-handler-simple</artifactId>
  96.       <version>0.12.2</version>
  97.       <scope>provided</scope>
  98.     </dependency>
  99.     <dependency>
  100.       <groupId>com.github.twitch4j</groupId>
  101.       <artifactId>twitch4j</artifactId>
  102.       <version>1.23.0</version>
  103.       <scope>provided</scope>
  104.     </dependency>
  105.     <dependency>
  106.       <groupId>org.json</groupId>
  107.       <artifactId>json</artifactId>
  108.       <version>20240303</version>
  109.       <scope>provided</scope>
  110.     </dependency>
  111.     <dependency>
  112.       <groupId>com.alessiodp.libby</groupId>
  113.       <artifactId>libby-bukkit</artifactId>
  114.       <version>2.0.0-SNAPSHOT</version>
  115.       <scope>compile</scope>
  116.   </dependency>
  117.  
  118.   <!-- UNIT TESTING -->
  119.   <dependency>
  120.       <groupId>org.mockbukkit.mockbukkit</groupId>
  121.       <artifactId>mockbukkit-v1.21</artifactId>
  122.       <version>4.31.1</version>
  123.       <scope>test</scope>
  124.     </dependency>
  125.   </dependencies>
  126. </project>
  127.  
  128.  
  129. <!-- CORE POM.XML -->
  130. <?xml version="1.0" encoding="UTF-8"?>
  131. <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">
  132.   <modelVersion>4.0.0</modelVersion>
  133.   <groupId>me.gosdev</groupId>
  134.   <artifactId>chatpointsttv-core</artifactId>
  135.   <packaging>jar</packaging>
  136.   <parent>
  137.     <groupId>me.gosdev</groupId>
  138.     <artifactId>chatpointsttv</artifactId>
  139.     <version>${revision}</version>
  140.   </parent>
  141.     <build>
  142.         <plugins>
  143.             <plugin>
  144.                 <groupId>org.apache.maven.plugins</groupId>
  145.                 <artifactId>maven-surefire-plugin</artifactId>
  146.                 <version>2.22.0</version>
  147.             </plugin>
  148.         </plugins>
  149.     </build>
  150. </project>
  151.  
  152.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement