pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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.11</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>3.5.2</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. <include>com.github.Euphillya:Energie</include>
  47. </includes>
  48. </artifactSet>
  49. <relocations>
  50. <relocation>
  51. <pattern>xyz.spaceio</pattern>
  52. <shadedPattern>de.Linus122.net.xyz.spaceio</shadedPattern>
  53. </relocation>
  54. <relocation>
  55. <pattern>fr.euphyllia</pattern>
  56. <shadedPattern>de.Linus122.fr.euphyllia</shadedPattern>
  57. </relocation>
  58. </relocations>
  59. </configuration>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-jar-plugin</artifactId>
  66. <configuration>
  67. <outputDirectory>${dir}</outputDirectory>
  68. <finalName>${project.parent.name}-${project.parent.version}</finalName>
  69. <archive>
  70. <addMavenDescriptor>false</addMavenDescriptor>
  71. </archive>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. <dependencies>
  77. <dependency>
  78. <groupId>org.spigotmc</groupId>
  79. <artifactId>spigot-api</artifactId>
  80. <version>1.13.2-R0.1-SNAPSHOT</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.github.MilkBowl</groupId>
  85. <artifactId>VaultAPI</artifactId>
  86. <version>1.7</version>
  87. <scope>provided</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.github.Euphillya</groupId>
  91. <artifactId>Energie</artifactId>
  92. <version>1.2.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>net.ess3</groupId>
  96. <artifactId>EssentialsX</artifactId>
  97. <version>2.17.0</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>me.clip</groupId>
  101. <artifactId>placeholderapi</artifactId>
  102. <version>2.10.6</version>
  103. <scope>provided</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>xyz.spaceio</groupId>
  107. <artifactId>SpaceGUI</artifactId>
  108. <version>0.0.8-SNAPSHOT</version>
  109. <scope>compile</scope>
  110. </dependency>
  111. <!--SpaceIO Metrics -->
  112. <dependency>
  113. <groupId>xyz.spaceio</groupId>
  114. <artifactId>Metrics</artifactId>
  115. <version>0.08-SNAPSHOT</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>de.Linus122.TimeIsMoney</groupId>
  119. <artifactId>Tools</artifactId>
  120. <version>1.9.11</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.jetbrains</groupId>
  124. <artifactId>annotations</artifactId>
  125. <version>RELEASE</version>
  126. <scope>compile</scope>
  127. </dependency>
  128. </dependencies>
  129. </project>