Advertisement
Guest User

Untitled

a guest
Dec 10th, 2021
819
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.71 KB | None | 0 0
  1. <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  2.   <modelVersion>4.0.0</modelVersion>
  3.   <groupId>MyPlugin</groupId>
  4.   <artifactId>MyPlugin</artifactId>
  5.   <version>0.0.1-SNAPSHOT</version>
  6.   <build>
  7.     <sourceDirectory>src</sourceDirectory>
  8.     <plugins>
  9.       <plugin>
  10.         <groupId>org.apache.maven.plugins</groupId>
  11.         <artifactId>maven-shade-plugin</artifactId>
  12.         <version>3.2.4</version>
  13.         <configuration>
  14.           <outputDirectory>compile</outputDirectory>
  15.         </configuration>
  16.         <executions>
  17.           <execution>
  18.             <phase>package</phase>
  19.             <goals>
  20.               <goal>shade</goal>
  21.             </goals>
  22.           </execution>
  23.         </executions>
  24.       </plugin>
  25.     </plugins>
  26.     <resources>
  27.       <resource>
  28.         <directory>.</directory>
  29.         <includes>
  30.           <include>plugin.yml</include>
  31.         </includes>
  32.       </resource>
  33.     </resources>
  34.   </build>
  35.   <distributionManagement>
  36.     <repository>
  37.          <id>internal.repo</id>
  38.          <name>Internal repo</name>
  39.          <url>file://repo/plugins</url>
  40.     </repository>
  41.    </distributionManagement>
  42.   <repositories>
  43.     <repository>
  44.       <id>spigotmc.org</id>
  45.       <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  46.     </repository>
  47.   </repositories>
  48.   <dependencies>
  49.     <dependency>
  50.       <groupId>org.spigotmc</groupId>
  51.       <artifactId>spigot-api</artifactId>
  52.       <version>1.17.1-R0.1-SNAPSHOT</version>
  53.       <scope>provided</scope>
  54.     </dependency>
  55.   </dependencies>
  56. </project>
  57.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement