Advertisement
Guest User

Untitled

a guest
Jan 29th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. 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.TVG</groupId>
  5. <artifactId>GlobalHub</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <dependencies>
  8. <!-- BukkitAPI -->
  9. <dependency>
  10. <groupId>org.bukkit</groupId>
  11. <artifactId>bukkit</artifactId>
  12. <version>1.8.8-R0.1-SNAPSHOT</version>
  13. <scope>provided</scope>
  14. </dependency>
  15. <!-- HikariCP -->
  16. <dependency>
  17. <groupId>com.zaxxer</groupId>
  18. <artifactId>HikariCP</artifactId>
  19. <version>2.4.1</version>
  20. <scope>compile</scope>
  21. </dependency>
  22. <!-- Javassist Library -->
  23. <dependency>
  24. <groupId>org.javassist</groupId>
  25. <artifactId>javassist</artifactId>
  26. <version>3.18.1-GA</version>
  27. <scope>compile</scope>
  28. </dependency>
  29. <!-- SLF4J Library -->
  30. <dependency>
  31. <groupId>org.slf4j</groupId>
  32. <artifactId>slf4j-simple</artifactId>
  33. <version>1.7.5</version>
  34. <scope>compile</scope>
  35. </dependency>
  36. <!-- Lombok -->
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <version>1.14.8</version>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>j0ach1mmall3</groupId>
  45. <artifactId>j0ach1mmall3.ultimatecosmetics</artifactId>
  46. <version>1.0</version>
  47. <scope>system</scope>
  48. <systemPath>${project.basedir}/src/main/resources/UltimateCosmetics.jar</systemPath>
  49. </dependency>
  50. <dependency>
  51. <groupId>TVGGlobal</groupId>
  52. <artifactId>tvg.global</artifactId>
  53. <version>1.0</version>
  54. <scope>system</scope>
  55. <systemPath>${project.basedir}/src/main/resources/TVGGlobal.jar</systemPath>
  56. </dependency>
  57. </dependencies>
  58. <repositories>
  59. <repository>
  60. <id>spigot-repo</id>
  61. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
  62. </repository>
  63. </repositories>
  64. <build>
  65. <defaultGoal>clean package</defaultGoal>
  66. <finalName>${project.name}</finalName>
  67. <plugins>
  68. <!-- Shade the necessary libs -->
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-shade-plugin</artifactId>
  72. <version>2.4.2</version>
  73. <executions>
  74. <execution>
  75. <phase>package</phase>
  76. <goals>
  77. <goal>shade</goal>
  78. </goals>
  79. <configuration>
  80. <finalName>TVGGlobalHub</finalName>
  81. <relocations>
  82. <relocation>
  83. <pattern>com.zaxxer.hikari</pattern>
  84. <shadedPattern>me.tvgglobalhub.libs.hikari</shadedPattern>
  85. </relocation>
  86. <relocation>
  87. <pattern>javassist</pattern>
  88. <shadedPattern>me.tvgglobalhub.libs.hikari.javassist</shadedPattern>
  89. </relocation>
  90. <relocation>
  91. <pattern>org.slf4j</pattern>
  92. <shadedPattern>me.tvgglobalhub.libs.hikari.slf4j</shadedPattern>
  93. </relocation>
  94. </relocations>
  95. </configuration>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. <!-- Compile -->
  100. <plugin>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>2.3.2</version>
  103. <configuration>
  104. <source>1.8</source>
  105. <target>1.8</target>
  106. <encoding>UTF-8</encoding>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement