Voigon

Untitled

Sep 30th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <groupId>me.yuval270.custom_enchants</groupId>
  6.     <artifactId>CustomEnchantsPvP</artifactId>
  7.     <version>0.0.1-SNAPSHOT</version>
  8.     <name>CustomEnchantsPvP</name>
  9.     <description>PvP CustomEnchants</description>
  10.     <repositories>
  11.         <repository>
  12.             <id>spigot-repo</id>
  13.             <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  14.         </repository>
  15.     </repositories>
  16.  
  17.     <dependencies>
  18.         <dependency>
  19.             <groupId>me.mattstudios.utils</groupId>
  20.             <artifactId>matt-framework-gui</artifactId>
  21.             <version>2.0.2</version> <!-- replace version here -->
  22.         </dependency>
  23.         <dependency>
  24.             <groupId>org.projectlombok</groupId>
  25.             <artifactId>lombok</artifactId>
  26.             <version>1.18.12</version>
  27.             <scope>provided</scope>
  28.         </dependency>
  29.         <!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
  30.         <dependency>
  31.             <groupId>org.jetbrains</groupId>
  32.             <artifactId>annotations</artifactId>
  33.             <version>16.0.1</version>
  34.         </dependency>
  35.  
  36.         <dependency>
  37.             <groupId>org.spigotmc</groupId>
  38.             <artifactId>spigot</artifactId>
  39.             <version>1.8.8-R0.1-SNAPSHOT</version>
  40.             <scope>provided</scope>
  41.         </dependency>
  42.     </dependencies>
  43.     <build>
  44.         <finalName>CustomEnchantsPvP</finalName>
  45.         <sourceDirectory>src/main/java</sourceDirectory>
  46.         <resources>
  47.             <resource>
  48.                 <targetPath>.</targetPath>
  49.                 <filtering>true</filtering>
  50.                 <directory>${basedir}/src/main/resources/</directory>
  51.                 <includes>
  52.                     <include>plugin.yml</include>
  53.                 </includes>
  54.             </resource>
  55.         </resources>
  56.         <plugins>
  57.             <plugin>
  58.                 <artifactId>maven-compiler-plugin</artifactId>
  59.                 <version>3.1.1</version>
  60.                 <configuration>
  61.                     <source>1.8</source>
  62.                     <target>1.8</target>
  63.                 </configuration>
  64.                 <executions>
  65.                     <execution>
  66.                         <phase>me.yuval270.treasure_miner</phase>
  67.                         <goals>
  68.                             <goal>TreasureMiner</goal>
  69.                         </goals>
  70.                     </execution>
  71.                 </executions>
  72.             </plugin>
  73.       <plugin>
  74.         <groupId>org.apache.maven.plugins</groupId>
  75.         <artifactId>maven-shade-plugin</artifactId>
  76.         <version>3.2.4</version>
  77.         <executions>
  78.           <execution>
  79.             <phase>package</phase>
  80.             <goals>
  81.               <goal>shade</goal>
  82.             </goals>
  83.             <configuration>
  84.                     <relocations>
  85.                         <relocation>
  86.                             <pattern>me.mattstudios.mfgui</pattern>
  87.                             <shadedPattern>me.yuval270.treasure_miner.mfgui</shadedPattern> <!-- Replace package here here -->
  88.                         </relocation>
  89.                     </relocations>
  90.             </configuration>
  91.           </execution>
  92.         </executions>
  93.       </plugin>
  94.         </plugins>
  95.     </build>
  96. </project>
Add Comment
Please, Sign In to add comment