hayashi lib.
java
Revisión | 8da951cb12b2022b15f3f8c27397cd91eecf7807 (tree) |
---|---|
Tiempo | 2020-11-22 19:36:07 |
Autor | ![]() |
Commiter | haya4 |
meven pom.xml
@@ -0,0 +1,184 @@ | ||
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> | |
7 | + <name>haya4-lib</name> | |
8 | + <description>file commands use by 'org.apache.commons'.</description> | |
9 | + <packaging>jar</packaging> | |
10 | + <scm> | |
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>v0.0.0</tag> | |
15 | + </scm> | |
16 | + | |
17 | + <licenses> | |
18 | + <license> | |
19 | + <name>MIT License</name> | |
20 | + <url>http://www.opensource.org/licenses/mit-license.php</url> | |
21 | + </license> | |
22 | + </licenses> | |
23 | + | |
24 | + <developers> | |
25 | + <developer> | |
26 | + <name>Yuu Hayashi</name> | |
27 | + <email>hayashi.yuu@gmail.com</email> | |
28 | + <organization>surveyor</organization> | |
29 | + <organizationUrl>http://surveyor.mydns.jp/</organizationUrl> | |
30 | + </developer> | |
31 | + </developers> | |
32 | + | |
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 | + | |
40 | + <!-- DEPLOY先の指定 mvn deploy --> | |
41 | + <distributionManagement> | |
42 | + <repository> | |
43 | + <id>surveyor.haya4</id> | |
44 | + <name>Internal Release Repository</name> | |
45 | + <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url> | |
46 | + </repository> | |
47 | + <snapshotRepository> | |
48 | + <id>surveyor.snapshots</id> | |
49 | + <name>Archiva Managed Snapshot Repository</name> | |
50 | + <url>http://surveyor.mydns.jp/archiva/repository/snapshots/</url> | |
51 | + </snapshotRepository> | |
52 | + </distributionManagement> | |
53 | + | |
54 | + <dependencies> | |
55 | + <dependency> | |
56 | + <groupId>org.apache.commons</groupId> | |
57 | + <artifactId>commons-compress</artifactId> | |
58 | + <version>1.14</version> | |
59 | + <type>jar</type> | |
60 | + </dependency> | |
61 | + | |
62 | + <!-- for JUnit test --> | |
63 | + <dependency> | |
64 | + <groupId>org.hamcrest</groupId> | |
65 | + <artifactId>hamcrest-core</artifactId> | |
66 | + <version>2.2</version> | |
67 | + <scope>test</scope> | |
68 | + <type>jar</type> | |
69 | + </dependency> | |
70 | + <dependency> | |
71 | + <groupId>junit</groupId> | |
72 | + <artifactId>junit</artifactId> | |
73 | + <version>4.12</version> | |
74 | + <scope>test</scope> | |
75 | + <type>jar</type> | |
76 | + </dependency> | |
77 | + </dependencies> | |
78 | + | |
79 | + <build> | |
80 | + <plugins> | |
81 | + <plugin> | |
82 | + <groupId>org.apache.maven.plugins</groupId> | |
83 | + <artifactId>maven-compiler-plugin</artifactId> | |
84 | + <version>3.8.1</version> | |
85 | + <configuration> | |
86 | + <source>${java.version}</source> | |
87 | + <target>${java.version}</target> | |
88 | + </configuration> | |
89 | + </plugin> | |
90 | + | |
91 | + <plugin> | |
92 | + <groupId>org.apache.maven.plugins</groupId> | |
93 | + <artifactId>maven-resources-plugin</artifactId> | |
94 | + <version>3.1.0</version> | |
95 | + <configuration> | |
96 | + <encoding>UTF-8</encoding> | |
97 | + </configuration> | |
98 | + </plugin> | |
99 | + | |
100 | + <plugin> | |
101 | + <groupId>org.apache.maven.plugins</groupId> | |
102 | + <artifactId>maven-surefire-plugin</artifactId> | |
103 | + <version>3.0.0-M3</version> | |
104 | + <configuration> | |
105 | + <systemPropertyVariables> | |
106 | + <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> | |
107 | + </systemPropertyVariables> | |
108 | + <!-- ↓これがないとスタックトレースが出ない --> | |
109 | + <trimStackTrace>false</trimStackTrace> | |
110 | + </configuration> | |
111 | + </plugin> | |
112 | + | |
113 | + <plugin> | |
114 | + <groupId>org.jacoco</groupId> | |
115 | + <artifactId>jacoco-maven-plugin</artifactId> | |
116 | + <version>0.8.5</version> | |
117 | + <executions> | |
118 | + <execution> | |
119 | + <goals> | |
120 | + <goal>prepare-agent</goal> | |
121 | + </goals> | |
122 | + </execution> | |
123 | + <execution> | |
124 | + <id>default-report</id> | |
125 | + <goals> | |
126 | + <goal>report</goal> | |
127 | + </goals> | |
128 | + </execution> | |
129 | + </executions> | |
130 | + </plugin> | |
131 | + | |
132 | + <!-- mvn site --> | |
133 | + <plugin> | |
134 | + <groupId>org.apache.maven.plugins</groupId> | |
135 | + <artifactId>maven-site-plugin</artifactId> | |
136 | + <version>3.7.1</version> | |
137 | + <configuration> | |
138 | + <locales>ja</locales> | |
139 | + <inputEncoding>${project.build.sourceEncoding}</inputEncoding> | |
140 | + <outputEncoding>${site.encoding}</outputEncoding> | |
141 | + </configuration> | |
142 | + </plugin> | |
143 | + | |
144 | + </plugins> | |
145 | + </build> | |
146 | + | |
147 | + <reporting> | |
148 | + <plugins> | |
149 | + <!-- UnitTest report to site --> | |
150 | + <plugin> | |
151 | + <groupId>org.apache.maven.plugins</groupId> | |
152 | + <artifactId>maven-surefire-report-plugin</artifactId> | |
153 | + </plugin> | |
154 | + | |
155 | + <!-- Javadoc report to site --> | |
156 | + <plugin> | |
157 | + <groupId>org.apache.maven.plugins</groupId> | |
158 | + <artifactId>maven-javadoc-plugin</artifactId> | |
159 | + <configuration> | |
160 | + <source>1.8</source> | |
161 | + <show>protected</show> | |
162 | + <encoding>UTF-8</encoding> | |
163 | + <docencoding>UTF-8</docencoding> | |
164 | + <charset>UTF-8</charset> | |
165 | + </configuration> | |
166 | + </plugin> | |
167 | + | |
168 | + <!-- Coverage report to site --> | |
169 | + <plugin> | |
170 | + <groupId>org.jacoco</groupId> | |
171 | + <artifactId>jacoco-maven-plugin</artifactId> | |
172 | + <version>0.8.5</version> | |
173 | + <reportSets> | |
174 | + <reportSet> | |
175 | + <reports> | |
176 | + <report>report</report> | |
177 | + </reports> | |
178 | + </reportSet> | |
179 | + </reportSets> | |
180 | + </plugin> | |
181 | + </plugins> | |
182 | + | |
183 | + </reporting> | |
184 | +</project> | |
\ No newline at end of file |