pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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.01-SNAPSHOT</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>commons-logging:commons-logging</include>
  79. <include>org.apache.tomcat:tomcat-jdbc</include>
  80. <include>org.apache.tomcat:tomcat-juli</include>
  81. </includes>
  82. </artifactSet>
  83. <relocations>
  84. <relocation>
  85. <pattern>org.apache.commons.logging</pattern>
  86. <shadedPattern>com.gmail.nossr50.commons.logging</shadedPattern>
  87. </relocation>
  88. <relocation>
  89. <pattern>org.apache.juli</pattern>
  90. <shadedPattern>com.gmail.nossr50.database.tomcat.juli</shadedPattern>
  91. </relocation>
  92. <relocation>
  93. <pattern>org.apache.tomcat</pattern>
  94. <shadedPattern>com.gmail.nossr50.database.tomcat</shadedPattern>
  95. </relocation>
  96. </relocations>
  97. </configuration>
  98. <executions>
  99. <execution>
  100. <phase>package</phase>
  101. <goals>
  102. <goal>shade</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. </plugins>
  108. <extensions>
  109. <extension>
  110. <groupId>org.apache.maven.wagon</groupId>
  111. <artifactId>wagon-file</artifactId>
  112. <version>2.2</version>
  113. </extension>
  114. </extensions>
  115. </build>
  116. <repositories>
  117. <repository>
  118. <id>bukkit-repo</id>
  119. <url>http://repo.bukkit.org/content/groups/public/</url>
  120. </repository>
  121. <repository>
  122. <id>md_5-releases</id>
  123. <url>http://repo.md-5.net/content/repositories/releases/</url>
  124. </repository>
  125. <repository>
  126. <id>Plugin MetricsExtension</id>
  127. <url>http://repo.turt2live.com</url>
  128. </repository>
  129. </repositories>
  130. <dependencies>
  131. <dependency>
  132. <groupId>org.bukkit</groupId>
  133. <artifactId>bukkit</artifactId>
  134. <version>1.7.10-R0.1-SNAPSHOT</version>
  135. <type>jar</type>
  136. <scope>provided</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>junit</groupId>
  140. <artifactId>junit-dep</artifactId>
  141. <version>4.10</version>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.tomcat</groupId>
  146. <artifactId>tomcat-jdbc</artifactId>
  147. <version>7.0.52</version>
  148. <scope>compile</scope>
  149. </dependency>
  150. </dependencies>
  151. <distributionManagement>
  152. <repository>
  153. <id>md_5-releases</id>
  154. <url>http://repo.md-5.net/content/repositories/releases/</url>
  155. </repository>
  156. <snapshotRepository>
  157. <id>md_5-snapshots</id>
  158. <url>http://repo.md-5.net/content/repositories/snapshots/</url>
  159. </snapshotRepository>
  160. </distributionManagement>
  161. <properties>
  162. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  163. </properties>
  164. <ciManagement>
  165. <system>Jenkins</system>
  166. <url>http://ci.ecocitycraft.com/job/mcMMO</url>
  167. </ciManagement>
  168. </project>