pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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.4.07-dev2</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. </resources>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-compiler-plugin</artifactId>
  38. <version>2.3.2</version>
  39. <configuration>
  40. <source>1.6</source>
  41. <target>1.6</target>
  42. <excludes>
  43. </excludes>
  44. </configuration>
  45. </plugin>
  46. <plugin>
  47. <artifactId>maven-assembly-plugin</artifactId>
  48. <configuration>
  49. <descriptors>
  50. <descriptor>src/main/assembly/package.xml</descriptor>
  51. </descriptors>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <id>build</id>
  56. <phase>package</phase>
  57. <goals>
  58. <goal>single</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-shade-plugin</artifactId>
  66. <version>1.5</version>
  67. <configuration>
  68. <artifactSet>
  69. <includes>
  70. <include>com.turt2live.metrics:MetricsExtension</include>
  71. </includes>
  72. </artifactSet>
  73. <relocations>
  74. <relocation>
  75. <pattern>com.turt2live.metrics</pattern>
  76. <shadedPattern>com.gmail.nossr50.metrics.mcstats</shadedPattern>
  77. </relocation>
  78. </relocations>
  79. </configuration>
  80. <executions>
  81. <execution>
  82. <phase>package</phase>
  83. <goals>
  84. <goal>shade</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. <extensions>
  91. <extension>
  92. <groupId>org.apache.maven.wagon</groupId>
  93. <artifactId>wagon-file</artifactId>
  94. <version>2.2</version>
  95. </extension>
  96. </extensions>
  97. </build>
  98. <repositories>
  99. <repository>
  100. <id>bukkit-repo</id>
  101. <url>http://repo.bukkit.org/content/groups/public/</url>
  102. </repository>
  103. <repository>
  104. <id>Plugin MetricsExtension</id>
  105. <url>http://repo.turt2live.com</url>
  106. </repository>
  107. </repositories>
  108. <dependencies>
  109. <dependency>
  110. <groupId>org.bukkit</groupId>
  111. <artifactId>bukkit</artifactId>
  112. <version>LATEST</version>
  113. <type>jar</type>
  114. <scope>compile</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>junit</groupId>
  118. <artifactId>junit-dep</artifactId>
  119. <version>4.10</version>
  120. <scope>test</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.turt2live.metrics</groupId>
  124. <artifactId>MetricsExtension</artifactId>
  125. <version>0.0.5-SNAPSHOT</version>
  126. </dependency>
  127. </dependencies>
  128. <distributionManagement>
  129. <repository>
  130. <id>mcmmo-repo</id>
  131. <url>file:///var/lib/jenkins/repo</url>
  132. </repository>
  133. </distributionManagement>
  134. <properties>
  135. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  136. </properties>
  137. <ciManagement>
  138. <system>Jenkins</system>
  139. <url>ci.mcmmo.org</url>
  140. </ciManagement>
  141. </project>