pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.gmail.nossr50.mcMMO</groupId>
  4. <artifactId>mcMMO</artifactId>
  5. <version>1.5.00</version>
  6. <name>mcMMO</name>
  7. <url>https://github.com/mcMMO-Dev/mcMMO</url>
  8. <issueManagement>
  9. <url>https://github.com/mcMMO-Dev/mcMMO/issues</url>
  10. <system>GitHub</system>
  11. </issueManagement>
  12. <build>
  13. <finalName>mcMMO</finalName>
  14. <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  15. <resources>
  16. <resource>
  17. <targetPath>.</targetPath>
  18. <filtering>true</filtering>
  19. <directory>${basedir}/src/main/resources/</directory>
  20. <includes>
  21. <include>*.yml</include>
  22. <include>.jenkins</include>
  23. </includes>
  24. </resource>
  25. <resource>
  26. <targetPath>com/gmail/nossr50/locale</targetPath>
  27. <filtering>true</filtering>
  28. <directory>${basedir}/src/main/resources/locale/</directory>
  29. <includes>
  30. <include>locale*.properties</include>
  31. </includes>
  32. </resource>
  33. <resource>
  34. <targetPath>mods</targetPath>
  35. <filtering>true</filtering>
  36. <directory>${basedir}/src/main/resources/mods</directory>
  37. <includes>
  38. <include>*.yml</include>
  39. </includes>
  40. </resource>
  41. </resources>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-compiler-plugin</artifactId>
  46. <version>2.3.2</version>
  47. <configuration>
  48. <source>1.6</source>
  49. <target>1.6</target>
  50. <excludes>
  51. </excludes>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-assembly-plugin</artifactId>
  56. <configuration>
  57. <descriptors>
  58. <descriptor>src/main/assembly/package.xml</descriptor>
  59. </descriptors>
  60. </configuration>
  61. <executions>
  62. <execution>
  63. <id>build</id>
  64. <phase>package</phase>
  65. <goals>
  66. <goal>single</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-shade-plugin</artifactId>
  74. <version>1.5</version>
  75. <configuration>
  76. <artifactSet>
  77. <includes>
  78. <include>com.turt2live.metrics:MetricsExtension</include>
  79. </includes>
  80. </artifactSet>
  81. <relocations>
  82. <relocation>
  83. <pattern>com.turt2live.metrics</pattern>
  84. <shadedPattern>com.gmail.nossr50.metrics.mcstats</shadedPattern>
  85. </relocation>
  86. </relocations>
  87. </configuration>
  88. <executions>
  89. <execution>
  90. <phase>package</phase>
  91. <goals>
  92. <goal>shade</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. </plugins>
  98. <extensions>
  99. <extension>
  100. <groupId>org.apache.maven.wagon</groupId>
  101. <artifactId>wagon-file</artifactId>
  102. <version>2.2</version>
  103. </extension>
  104. </extensions>
  105. </build>
  106. <repositories>
  107. <repository>
  108. <id>bukkit-repo</id>
  109. <url>http://repo.bukkit.org/content/groups/public/</url>
  110. </repository>
  111. <repository>
  112. <id>md_5-releases</id>
  113. <url>http://repo.md-5.net/content/repositories/releases/</url>
  114. </repository>
  115. <repository>
  116. <id>Plugin MetricsExtension</id>
  117. <url>http://repo.turt2live.com</url>
  118. </repository>
  119. </repositories>
  120. <dependencies>
  121. <dependency>
  122. <groupId>org.bukkit</groupId>
  123. <artifactId>bukkit</artifactId>
  124. <version>LATEST</version>
  125. <type>jar</type>
  126. <scope>compile</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>junit</groupId>
  130. <artifactId>junit-dep</artifactId>
  131. <version>4.10</version>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.turt2live.metrics</groupId>
  136. <artifactId>MetricsExtension</artifactId>
  137. <version>0.0.5-SNAPSHOT</version>
  138. </dependency>
  139. </dependencies>
  140. <distributionManagement>
  141. <repository>
  142. <id>md_5-releases</id>
  143. <url>http://repo.md-5.net/content/repositories/releases/</url>
  144. </repository>
  145. <snapshotRepository>
  146. <id>md_5-snapshots</id>
  147. <url>http://repo.md-5.net/content/repositories/snapshots/</url>
  148. </snapshotRepository>
  149. </distributionManagement>
  150. <properties>
  151. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  152. </properties>
  153. <ciManagement>
  154. <system>Jenkins</system>
  155. <url>http://ci.ecocitycraft.com/job/mcMMO</url>
  156. </ciManagement>
  157. </project>