Newer
Older
restamp / pom.xml.releaseBackup
@haya4 haya4 on 16 May 2020 6 KB README
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>osm.surveyor</groupId>
  5. <artifactId>ReStamp</artifactId>
  6. <version>3.8.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <scm>
  9. <connection>scm:git:http://surveyor.mydns.jp/gitbucket/git/yuu/Restamp.git</connection>
  10. <url>http://surveyor.mydns.jp/gitbucket/yuu/Restamp/wiki</url>
  11. <developerConnection>scm:git:http://surveyor.mydns.jp/gitbucket/git/yuu/Restamp.git</developerConnection>
  12. <tag>v3.8.1</tag>
  13. </scm>
  14.  
  15. <!-- プロジェクトの名前、ロゴ、URL(右上) -->
  16. <name>ReStamp</name>
  17. <url>http://surveyor.mydns.jp/gitbucket/yuu/Restamp/wiki</url>
  18.  
  19. <licenses>
  20. <license>
  21. <name>MIT License</name>
  22. <url>http://www.opensource.org/licenses/mit-license.php</url>
  23. </license>
  24. </licenses>
  25. <developers>
  26. <developer>
  27. <name>Yuu Hayashi</name>
  28. <email>hayashi.yuu@gmail.com</email>
  29. <organization>surveyor</organization>
  30. <organizationUrl>http://surveyor.mydns.jp/</organizationUrl>
  31. </developer>
  32. </developers>
  33. <properties>
  34. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  35. <java.version>1.8</java.version>
  36. <maven.compiler.source>${java.version}</maven.compiler.source>
  37. <maven.compiler.target>${java.version}</maven.compiler.target>
  38. </properties>
  39. <!-- DEPLOY先の指定 mvn deploy -->
  40. <distributionManagement>
  41. <repository>
  42. <id>surveyor.haya4</id>
  43. <name>Internal Release Repository</name>
  44. <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url>
  45. </repository>
  46. <snapshotRepository>
  47. <id>surveyor.snapshots</id>
  48. <name>Archiva Managed Snapshot Repository</name>
  49. <url>http://surveyor.mydns.jp/archiva/repository/snapshots/</url>
  50. </snapshotRepository>
  51. </distributionManagement>
  52.  
  53. <dependencies>
  54. <!-- for JUnit test -->
  55. <dependency>
  56. <groupId>org.hamcrest</groupId>
  57. <artifactId>hamcrest-core</artifactId>
  58. <version>2.2</version>
  59. <scope>test</scope>
  60. <type>jar</type>
  61. </dependency>
  62. <dependency>
  63. <groupId>junit</groupId>
  64. <artifactId>junit</artifactId>
  65. <version>4.12</version>
  66. <scope>test</scope>
  67. <type>jar</type>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.commons</groupId>
  71. <artifactId>commons-compress</artifactId>
  72. <version>1.14</version>
  73. <scope>test</scope>
  74. <type>jar</type>
  75. </dependency>
  76. <dependency>
  77. <groupId>commons-codec</groupId>
  78. <artifactId>commons-codec</artifactId>
  79. <version>1.14</version>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.jacoco</groupId>
  84. <artifactId>org.jacoco.agent</artifactId>
  85. <version>0.8.1</version>
  86. <scope>test</scope>
  87. <classifier>runtime</classifier>
  88. </dependency>
  89. </dependencies>
  90.  
  91. <build>
  92. <defaultGoal>install</defaultGoal>
  93. <plugins>
  94. <!-- mvn site -->
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-site-plugin</artifactId>
  98. <version>3.7.1</version>
  99. <configuration>
  100. <locales>ja</locales>
  101. <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
  102. <outputEncoding>${site.encoding}</outputEncoding>
  103. </configuration>
  104. </plugin>
  105.  
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-project-info-reports-plugin</artifactId>
  109. <version>3.0.0</version>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-compiler-plugin</artifactId>
  114. <version>3.8.1</version>
  115. <configuration>
  116. <source>${java.version}</source>
  117. <target>${java.version}</target>
  118. </configuration>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-resources-plugin</artifactId>
  123. <version>3.1.0</version>
  124. <configuration>
  125. <encoding>UTF-8</encoding>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-surefire-plugin</artifactId>
  131. <version>3.0.0-M3</version>
  132. <configuration>
  133. <systemPropertyVariables>
  134. <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
  135. </systemPropertyVariables>
  136. <!-- ↓これがないとスタックトレースが出ない -->
  137. <trimStackTrace>false</trimStackTrace>
  138. </configuration>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.jacoco</groupId>
  142. <artifactId>jacoco-maven-plugin</artifactId>
  143. <version>0.8.5</version>
  144. <executions>
  145. <execution>
  146. <goals>
  147. <goal>prepare-agent</goal>
  148. </goals>
  149. </execution>
  150. <execution>
  151. <id>default-report</id>
  152. <goals>
  153. <goal>report</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. <!-- mvn release:prepare -->
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-release-plugin</artifactId>
  162. <version>2.5.3</version>
  163. <configuration>
  164. <releaseProfiles>install</releaseProfiles>
  165. <tagNameFormat>v@{project.version}</tagNameFormat>
  166. </configuration>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. <reporting>
  171. <plugins>
  172. <!-- UnitTest report to site -->
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-surefire-report-plugin</artifactId>
  176. </plugin>
  177. <!-- Javadoc report to site -->
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-javadoc-plugin</artifactId>
  181. <configuration>
  182. <source>1.8</source>
  183. <show>protected</show>
  184. <encoding>UTF-8</encoding>
  185. <docencoding>UTF-8</docencoding>
  186. <charset>UTF-8</charset>
  187. </configuration>
  188. </plugin>
  189.  
  190. <!-- Coverage report to site -->
  191. <plugin>
  192. <groupId>org.jacoco</groupId>
  193. <artifactId>jacoco-maven-plugin</artifactId>
  194. <version>0.8.5</version>
  195. <reportSets>
  196. <reportSet>
  197. <reports>
  198. <report>report</report>
  199. </reports>
  200. </reportSet>
  201. </reportSets>
  202. </plugin>
  203. </plugins>
  204. </reporting>
  205. </project>