1
0

pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <parent>
  7. <groupId>de.Linus122.TimeIsMoney</groupId>
  8. <artifactId>parent</artifactId>
  9. <version>1.9.10</version>
  10. <relativePath>../pom.xml</relativePath>
  11. </parent>
  12. <name>TimeIsMoney Plugin</name>
  13. <packaging>jar</packaging>
  14. <artifactId>Plugin</artifactId>
  15. <build>
  16. <directory>../target</directory>
  17. <finalName>TimeIsMoney</finalName>
  18. <resources>
  19. <resource>
  20. <targetPath>.</targetPath>
  21. <filtering>true</filtering>
  22. <directory>src/main/resources</directory>
  23. <includes>
  24. <include>plugin.yml</include>
  25. <include>config.yml</include>
  26. </includes>
  27. </resource>
  28. </resources>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-shade-plugin</artifactId>
  33. <version>2.4.3</version>
  34. <executions>
  35. <execution>
  36. <phase>package</phase>
  37. <goals>
  38. <goal>shade</goal>
  39. </goals>
  40. <configuration>
  41. <artifactSet>
  42. <includes>
  43. <include>de.Linus122.TimeIsMoney:*</include>
  44. <include>xyz.spaceio:SpaceGUI</include>
  45. <include>xyz.spaceio:Metrics</include>
  46. </includes>
  47. </artifactSet>
  48. <relocations>
  49. <relocation>
  50. <pattern>xyz.spaceio</pattern>
  51. <shadedPattern>de.Linus122.net.xyz.spaceio</shadedPattern>
  52. </relocation>
  53. </relocations>
  54. </configuration>
  55. </execution>
  56. </executions>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-jar-plugin</artifactId>
  61. <configuration>
  62. <outputDirectory>${dir}</outputDirectory>
  63. <finalName>${project.parent.name}-${project.parent.version}</finalName>
  64. <archive>
  65. <addMavenDescriptor>false</addMavenDescriptor>
  66. </archive>
  67. </configuration>
  68. </plugin>
  69. </plugins>
  70. </build>
  71. <dependencies>
  72. <dependency>
  73. <groupId>org.spigotmc</groupId>
  74. <artifactId>spigot-api</artifactId>
  75. <version>1.18-R0.1-SNAPSHOT</version>
  76. <scope>provided</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.github.MilkBowl</groupId>
  80. <artifactId>VaultAPI</artifactId>
  81. <version>1.7</version>
  82. <scope>provided</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.github.Euphillya</groupId>
  86. <artifactId>Energie</artifactId>
  87. <version>5659f25e22</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>net.ess3</groupId>
  91. <artifactId>EssentialsX</artifactId>
  92. <version>2.17.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>me.clip</groupId>
  96. <artifactId>placeholderapi</artifactId>
  97. <version>2.10.6</version>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>xyz.spaceio</groupId>
  102. <artifactId>SpaceGUI</artifactId>
  103. <version>0.0.4-SNAPSHOT</version>
  104. <scope>compile</scope>
  105. </dependency>
  106. <!--SpaceIO Metrics -->
  107. <dependency>
  108. <groupId>xyz.spaceio</groupId>
  109. <artifactId>Metrics</artifactId>
  110. <version>0.08-SNAPSHOT</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>de.Linus122.TimeIsMoney</groupId>
  114. <artifactId>Tools</artifactId>
  115. <version>1.9.10</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.jetbrains</groupId>
  119. <artifactId>annotations</artifactId>
  120. <version>RELEASE</version>
  121. <scope>compile</scope>
  122. </dependency>
  123. </dependencies>
  124. </project>