Advertisement
Guest User

Untitled

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