pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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.7</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. </includes>
  46. </artifactSet>
  47. <relocations>
  48. <relocation>
  49. <pattern>xyz.spaceio</pattern>
  50. <shadedPattern>de.Linus122.net.xyz.spaceio</shadedPattern>
  51. </relocation>
  52. </relocations>
  53. </configuration>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-jar-plugin</artifactId>
  60. <configuration>
  61. <outputDirectory>${dir}</outputDirectory>
  62. <finalName>${project.parent.name}-${project.parent.version}</finalName>
  63. <archive>
  64. <addMavenDescriptor>false</addMavenDescriptor>
  65. </archive>
  66. </configuration>
  67. </plugin>
  68. </plugins>
  69. </build>
  70. <dependencies>
  71. <dependency>
  72. <groupId>org.spigotmc</groupId>
  73. <artifactId>spigot-api</artifactId>
  74. <version>1.18-R0.1-SNAPSHOT</version>
  75. <scope>provided</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.github.MilkBowl</groupId>
  79. <artifactId>VaultAPI</artifactId>
  80. <version>1.7</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>net.ess3</groupId>
  85. <artifactId>EssentialsX</artifactId>
  86. <version>2.17.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>me.clip</groupId>
  90. <artifactId>placeholderapi</artifactId>
  91. <version>2.10.6</version>
  92. <scope>provided</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>xyz.spaceio</groupId>
  96. <artifactId>SpaceGUI</artifactId>
  97. <version>0.0.4-SNAPSHOT</version>
  98. <scope>compile</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>de.Linus122.TimeIsMoney</groupId>
  102. <artifactId>Tools</artifactId>
  103. <version>1.9.7</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.jetbrains</groupId>
  107. <artifactId>annotations</artifactId>
  108. <version>RELEASE</version>
  109. <scope>compile</scope>
  110. </dependency>
  111. </dependencies>
  112. </project>