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.3-SNAPSHOT</version>
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>
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>
56 <groupId>org.apache.commons</groupId>
57 <artifactId>commons-compress</artifactId>
58 <version>1.14</version>
62 <!-- for JUnit test -->
64 <groupId>org.hamcrest</groupId>
65 <artifactId>hamcrest-core</artifactId>
66 <version>2.2</version>
71 <groupId>junit</groupId>
72 <artifactId>junit</artifactId>
73 <version>4.12</version>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-compiler-plugin</artifactId>
84 <version>3.8.1</version>
86 <source>${java.version}</source>
87 <target>${java.version}</target>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-resources-plugin</artifactId>
94 <version>3.1.0</version>
96 <encoding>UTF-8</encoding>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-surefire-plugin</artifactId>
103 <version>3.0.0-M3</version>
105 <systemPropertyVariables>
106 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
107 </systemPropertyVariables>
108 <!-- ↓これがないとスタックトレースが出ない -->
109 <trimStackTrace>false</trimStackTrace>
114 <groupId>org.jacoco</groupId>
115 <artifactId>jacoco-maven-plugin</artifactId>
116 <version>0.8.5</version>
120 <goal>prepare-agent</goal>
124 <id>default-report</id>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-site-plugin</artifactId>
136 <version>3.7.1</version>
138 <locales>ja</locales>
139 <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
140 <outputEncoding>${site.encoding}</outputEncoding>
149 <!-- UnitTest report to site -->
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-surefire-report-plugin</artifactId>
155 <!-- Javadoc report to site -->
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-javadoc-plugin</artifactId>
161 <show>protected</show>
162 <encoding>UTF-8</encoding>
163 <docencoding>UTF-8</docencoding>
164 <charset>UTF-8</charset>
168 <!-- Coverage report to site -->
170 <groupId>org.jacoco</groupId>
171 <artifactId>jacoco-maven-plugin</artifactId>
172 <version>0.8.5</version>
176 <report>report</report>