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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>haya4.tools</groupId>
5 <artifactId>hayashilib</artifactId>
6 <version>0.0.5-SNAPSHOT</version>
7 <name>hayashilib</name>
8 <description>file commands use by 'org.apache.commons'.</description>
9 <packaging>jar</packaging>
11 <connection>scm:git:http://scm.osdn.net/gitroot/hayashilib/hayashi.git</connection>
12 <url>https://osdn.net/projects/hayashilib/simple/</url>
13 <developerConnection>scm:git:http://scm.osdn.net/gitroot/hayashilib/hayashi.git</developerConnection>
14 <tag>hayashilib-0.0.5</tag>
19 <name>MIT License</name>
20 <url>http://www.opensource.org/licenses/mit-license.php</url>
26 <name>Yuu Hayashi</name>
27 <email>hayashi.yuu@gmail.com</email>
28 <organization>surveyor</organization>
29 <organizationUrl>http://surveyor.mydns.jp/</organizationUrl>
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>
40 <!-- DEPLOY先の指定 mvn deploy -->
41 <distributionManagement>
43 <id>surveyor.haya4</id>
44 <name>Internal Release Repository</name>
45 <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url>
48 <id>surveyor.snapshots</id>
49 <name>Archiva Managed Snapshot Repository</name>
50 <url>http://surveyor.mydns.jp/archiva/repository/snapshots/</url>
52 </distributionManagement>
55 <!-- https://mvnrepository.com/artifact/javax.mail/mail -->
57 <groupId>javax.mail</groupId>
58 <artifactId>mail</artifactId>
59 <version>1.4.7</version>
62 <!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api -->
64 <groupId>javax.servlet</groupId>
65 <artifactId>servlet-api</artifactId>
66 <version>2.5</version>
67 <scope>provided</scope>
70 <!-- https://mvnrepository.com/artifact/javax.json/javax.json-api -->
72 <groupId>javax.json</groupId>
73 <artifactId>javax.json-api</artifactId>
74 <version>1.0</version>
77 <!-- for JUnit test -->
79 <groupId>org.hamcrest</groupId>
80 <artifactId>hamcrest-core</artifactId>
81 <version>2.2</version>
86 <groupId>junit</groupId>
87 <artifactId>junit</artifactId>
88 <version>4.12</version>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>3.8.1</version>
101 <source>${java.version}</source>
102 <target>${java.version}</target>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-resources-plugin</artifactId>
109 <version>3.1.0</version>
111 <encoding>UTF-8</encoding>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-surefire-plugin</artifactId>
118 <version>3.0.0-M3</version>
120 <systemPropertyVariables>
121 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
122 </systemPropertyVariables>
123 <!-- ↓これがないとスタックトレースが出ない -->
124 <trimStackTrace>false</trimStackTrace>
129 <groupId>org.jacoco</groupId>
130 <artifactId>jacoco-maven-plugin</artifactId>
131 <version>0.8.5</version>
135 <goal>prepare-agent</goal>
139 <id>default-report</id>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-site-plugin</artifactId>
151 <version>3.7.1</version>
153 <locales>ja</locales>
154 <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
155 <outputEncoding>${site.encoding}</outputEncoding>
164 <!-- UnitTest report to site -->
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-surefire-report-plugin</artifactId>
170 <!-- Javadoc report to site -->
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-javadoc-plugin</artifactId>
176 <show>protected</show>
177 <encoding>UTF-8</encoding>
178 <docencoding>UTF-8</docencoding>
179 <charset>UTF-8</charset>
183 <!-- Coverage report to site -->
185 <groupId>org.jacoco</groupId>
186 <artifactId>jacoco-maven-plugin</artifactId>
187 <version>0.8.5</version>
191 <report>report</report>