1
0

pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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>net.ess3</groupId>
  86. <artifactId>EssentialsX</artifactId>
  87. <version>2.17.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>me.clip</groupId>
  91. <artifactId>placeholderapi</artifactId>
  92. <version>2.10.6</version>
  93. <scope>provided</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>xyz.spaceio</groupId>
  97. <artifactId>SpaceGUI</artifactId>
  98. <version>0.0.6-SNAPSHOT</version>
  99. <scope>compile</scope>
  100. </dependency>
  101. <!--SpaceIO Metrics -->
  102. <dependency>
  103. <groupId>xyz.spaceio</groupId>
  104. <artifactId>Metrics</artifactId>
  105. <version>0.08-SNAPSHOT</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>de.Linus122.TimeIsMoney</groupId>
  109. <artifactId>Tools</artifactId>
  110. <version>1.9.10</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.jetbrains</groupId>
  114. <artifactId>annotations</artifactId>
  115. <version>RELEASE</version>
  116. <scope>compile</scope>
  117. </dependency>
  118. </dependencies>
  119. </project>