Advertisement
Guest User

Untitled

a guest
Feb 20th, 2021
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.06 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <groupId>com.pixelsplus.skyblock</groupId>
  6.     <artifactId>PixelSkyblock</artifactId>
  7.     <version>0.1.2</version>
  8.     <packaging>jar</packaging>
  9.  
  10.     <dependencies>
  11.         <dependency>
  12.             <groupId>org.projectlombok</groupId>
  13.             <artifactId>lombok</artifactId>
  14.             <version>1.18.16</version>
  15.         </dependency>
  16.         <dependency>
  17.             <groupId>org.spigotmc</groupId>
  18.             <artifactId>spigot-api</artifactId>
  19.             <version>1.16.5-R0.1-SNAPSHOT</version>
  20.             <scope>provided</scope>
  21.             <type>jar</type>
  22.         </dependency>
  23.         <dependency>
  24.             <groupId>org.spigotmc</groupId>
  25.             <artifactId>spigot-api</artifactId>
  26.             <version>1.16.5-R0.1-SNAPSHOT</version>
  27.             <type>java-source</type>
  28.         </dependency>
  29.         <dependency>
  30.             <groupId>org.spigotmc</groupId>
  31.             <artifactId>spigot</artifactId>
  32.             <version>1.16.5-R0.1-SNAPSHOT</version>
  33.             <scope>provided</scope>
  34.             <type>jar</type>
  35.         </dependency>
  36.         <dependency>
  37.             <groupId>org.spigotmc</groupId>
  38.             <artifactId>spigot</artifactId>
  39.             <version>1.16.5-R0.1-SNAPSHOT</version>
  40.             <type>java-source</type>
  41.         </dependency>
  42.         <dependency>
  43.             <groupId>com.mchange</groupId>
  44.             <artifactId>c3p0</artifactId>
  45.             <version>0.9.5.5</version>
  46.         </dependency>
  47.     </dependencies>
  48.  
  49.     <build>
  50.         <finalName>Skyblock-v${project.version}</finalName>
  51.         <!-- Define filtering for the inclusion of plugin.yml, so we can utilize
  52.             the pom.xml version in it -->
  53.         <resources>
  54.             <resource>
  55.                 <targetPath>.</targetPath>
  56.                 <filtering>true</filtering>
  57.                 <directory>src/main/resources</directory>
  58.                 <includes>
  59.                     <include>plugin.yml</include>
  60.                 </includes>
  61.             </resource>
  62.         </resources>
  63.         <plugins>
  64.             <plugin>
  65.                 <artifactId>maven-compiler-plugin</artifactId>
  66.                 <version>3.8.1</version>
  67.                 <configuration>
  68.                     <source>1.8</source>
  69.                     <target>1.8</target>
  70.                 </configuration>
  71.             </plugin>
  72.             <plugin>
  73.                 <groupId>org.apache.maven.plugins</groupId>
  74.                 <artifactId>maven-jar-plugin</artifactId>
  75.                 <version>2.3.1</version>
  76.                 <configuration>
  77.                     <outputDirectory>C:\Users\XenoPyax\Desktop\PixelsPlusSkyblock\plugins</outputDirectory>
  78.                 </configuration>
  79.             </plugin>
  80.             <plugin>
  81.                 <groupId>org.apache.maven.plugins</groupId>
  82.                 <artifactId>maven-shade-plugin</artifactId>
  83.                 <version>1.4</version>
  84.                 <executions>
  85.                     <execution>
  86.                         <phase>package</phase>
  87.                         <goals>
  88.                             <goal>shade</goal>
  89.                         </goals>
  90.                     </execution>
  91.                 </executions>
  92.                 <configuration>
  93.                     <artifactSet>
  94.                         <excludes>
  95.                             <exclude>com.destroystokyo:*</exclude>
  96.                             <exclude>org.projectlombok:*</exclude>
  97.                             <exclude>commons-lang:commons-lang</exclude>
  98.                             <exclude>com.google.*:*</exclude>
  99.                             <exclude>net.md-5:*</exclude>
  100.                             <exclude>org.yaml:snakeyaml</exclude>
  101.                         </excludes>
  102.                     </artifactSet>
  103.                 </configuration>
  104.             </plugin>
  105.         </plugins>
  106.     </build>
  107. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement