Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 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. <properties>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. <maven.compiler.source>1.8</maven.compiler.source>
  10. <maven.compiler.target>1.8</maven.compiler.target>
  11. </properties>
  12.  
  13. <groupId>me.drmarky</groupId>
  14.  
  15. <artifactId>rustmc</artifactId>
  16.  
  17. <version>1.0-SNAPSHOT</version>
  18.  
  19. <repositories>
  20.  
  21. <!-- Spigot can be found at the following repositories -->
  22. <repository>
  23. <id>md_5-releases</id>
  24. <url>http://repo.md-5.net/content/repositories/releases/</url>
  25. <releases>
  26. <enabled>true</enabled>
  27. </releases>
  28. <snapshots>
  29. <enabled>false</enabled>
  30. </snapshots>
  31. </repository>
  32.  
  33. <repository>
  34. <id>md_5-snapshots</id>
  35. <url>http://repo.md-5.net/content/repositories/snapshots/</url>
  36. <releases>
  37. <enabled>false</enabled>
  38. </releases>
  39. <snapshots>
  40. <enabled>true</enabled>
  41. </snapshots>
  42. </repository>
  43.  
  44. <repository>
  45. <id>spigot-repo</id>
  46. <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
  47. </repository>
  48.  
  49. <repository>
  50. <id>beam-snapshots</id>
  51. <url>https://maven.beam.pro/content/repositories/snapshots/</url>
  52. </repository>
  53.  
  54.  
  55. <repository> <!-- This repo fixes issues with transitive dependencies -->
  56. <id>jcenter</id>
  57. <url>http://jcenter.bintray.com</url>
  58. </repository>
  59.  
  60. <repository>
  61. <id>jitpack.io</id>
  62. <url>https://jitpack.io</url>
  63. </repository>
  64.  
  65. </repositories>
  66.  
  67.  
  68. <!-- Dependencies -->
  69. <dependencies>
  70. <!--Spigot-API-->
  71. <dependency>
  72. <groupId>org.spigotmc</groupId>
  73. <artifactId>spigot-api</artifactId>
  74. <version>1.11.2-R0.1-SNAPSHOT</version>
  75. <type>jar</type>
  76. <scope>provided</scope>
  77.  
  78.  
  79. </dependency>
  80. <!--Bukkit API-->
  81. <dependency>
  82. <groupId>org.bukkit</groupId>
  83. <artifactId>bukkit</artifactId>
  84. <version>1.11.2-R0.1-SNAPSHOT</version>
  85. <type>jar</type>
  86. <scope>provided</scope>
  87.  
  88. </dependency>
  89. <dependency>
  90. <groupId>org.bukkit</groupId>
  91. <artifactId>craftbukkit</artifactId>
  92. <version>1.11.2-R0.1-SNAPSHOT</version>
  93. <type>jar</type>
  94. <scope>provided</scope>
  95.  
  96. </dependency>
  97.  
  98. <dependency>
  99. <groupId>com.github.austinv11</groupId>
  100. <artifactId>Discord4j</artifactId>
  101. <version>2.7.0</version>
  102. <!-- <classifier>shaded</classifier> <!- Include this line if you want a shaded jar (all the Discord4J dependencies bundled into one jar)-->
  103. </dependency>
  104.  
  105. </dependencies>
  106. <!-- Build settings -->
  107. <build>
  108. <!-- Build plugins -->
  109. <plugins>
  110. <plugin>
  111. <artifactId>maven-antrun-plugin</artifactId>
  112. <configuration>
  113. <tasks>
  114. <copy file="target/rustmc-1.0-SNAPSHOT.jar"
  115. tofile="D:\Development\Server\plugins\rustmc-1.0-SNAPSHOT.jar"/>
  116. </tasks>
  117. </configuration>
  118. <executions>
  119. <execution>
  120. <phase>install</phase>
  121. <goals>
  122. <goal>run</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-shade-plugin</artifactId>
  130. <version>2.4.3</version>
  131. <executions>
  132. <execution>
  133. <phase>package</phase>
  134. <goals>
  135. <goal>shade</goal>
  136. </goals>
  137. <configuration>
  138. <artifactSet>
  139. <includes>
  140. <include>com.github.austinv11:Discord4j</include>
  141. <include>ch.qos.logback:logback-core</include>
  142. <include>ch.qos.logback:logback-classic</include>
  143. <include>gnu.trove:trove4j</include>
  144. </includes>
  145. </artifactSet>
  146. </configuration>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement