JinArchiverは、人狼BBSの過去ログを独自のXML形式でローカルディスクに保存するためのツールです。
Revision | 722640fa39f8c272f504acb77018a517243c7dc1 (tree) |
---|---|
Time | 2020-02-11 19:11:38 |
Author | Olyutorskii <olyutorskii@user...> |
Commiter | Olyutorskii |
Merge branch 'release/1.504.2'
@@ -4,6 +4,10 @@ | ||
4 | 4 | JinArchiver 変更履歴 |
5 | 5 | |
6 | 6 | |
7 | +1.504.2 (2020-02-11) | |
8 | + ・G国亡国に伴い JinParser 2.102.2 に対応。 | |
9 | + ・起動クラスのFQNをjp.osdn.jindolf.ar.JinArchiverに短縮。 | |
10 | + | |
7 | 11 | 1.503.106 (2019-05-07) |
8 | 12 | ・JinParser 2.101.106 に対応。 |
9 | 13 | ・必須環境をJavaSE8に引き上げ。 |
@@ -6,7 +6,7 @@ | ||
6 | 6 | |
7 | 7 | <!-- |
8 | 8 | Checkstyle suppressions |
9 | - for Checkstyle 8.20 or later | |
9 | + for Checkstyle 8.29 or later | |
10 | 10 | |
11 | 11 | [ https://checkstyle.org/ ] |
12 | 12 |
@@ -23,10 +23,12 @@ | ||
23 | 23 | <suppress files="" checks="DesignForExtension" /> |
24 | 24 | |
25 | 25 | <!-- Coding --> |
26 | + <suppress files="" checks="AvoidNoArgumentSuperConstructorCall" /> | |
26 | 27 | <suppress files="" checks="ExplicitInitialization" /> |
27 | 28 | <suppress files="" checks="FinalLocalVariable" /> |
28 | 29 | <suppress files="" checks="MagicNumber" /> |
29 | - <suppress files="" checks="OneStatementPerLine" /> | |
30 | + <suppress files="" checks="NoArrayTrailingComma" /> | |
31 | + <suppress files="" checks="NoEnumTrailingComma" /> | |
30 | 32 | |
31 | 33 | <!-- Imports --> |
32 | 34 | <suppress files="" checks="ImportControl" /> |
@@ -38,8 +40,9 @@ | ||
38 | 40 | <suppress files="" checks="FinalParameters" /> |
39 | 41 | <suppress files="" checks="TrailingComment" /> |
40 | 42 | |
41 | - <!-- Modifiers --> | |
43 | + <!-- Modifier --> | |
42 | 44 | <suppress files="" checks="InterfaceMemberImpliedModifier" /> |
45 | + <suppress files="" checks="RedundantModifier" /> | |
43 | 46 | |
44 | 47 | <!-- Whitespace --> |
45 | 48 | <suppress files="" checks="SingleSpaceSeparator" /> |
@@ -6,7 +6,7 @@ | ||
6 | 6 | |
7 | 7 | <!-- |
8 | 8 | Checkstyle modules |
9 | - for Checkstyle 8.20 or later | |
9 | + for Checkstyle 8.29 or later | |
10 | 10 | |
11 | 11 | [ https://checkstyle.org/ ] |
12 | 12 |
@@ -20,18 +20,21 @@ | ||
20 | 20 | <property name="localeCountry" value="JP" /> |
21 | 21 | <property name="localeLanguage" value="en" /> |
22 | 22 | <!--property name="localeLanguage" value="ja" /--> |
23 | - <property name="fileExtensions" value="java, xml, properties" /> | |
23 | + <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" /> | |
24 | 24 | <property name="severity" value="error" /> |
25 | 25 | |
26 | 26 | |
27 | 27 | <!-- Filters --> |
28 | + | |
28 | 29 | <module name="SeverityMatchFilter" /> |
29 | 30 | <!--module name="SuppressionFilter" /--> |
31 | + <!--module name="SuppressionSingleFilter" /--> | |
30 | 32 | <module name="SuppressWarningsFilter" /> |
31 | 33 | <module name="SuppressWithPlainTextCommentFilter" /> |
32 | 34 | |
33 | 35 | |
34 | 36 | <!-- Headers --> |
37 | + | |
35 | 38 | <module name="Header"> |
36 | 39 | <property name="header" value="<?xml version="1.0" encoding="UTF-8" ?>" /> |
37 | 40 | <property name="fileExtensions" value="xml" /> |
@@ -44,18 +47,22 @@ | ||
44 | 47 | |
45 | 48 | |
46 | 49 | <!-- Javadoc Comments --> |
50 | + | |
47 | 51 | <module name="JavadocPackage" /> |
48 | 52 | |
49 | 53 | |
50 | 54 | <!-- Miscellaneous --> |
55 | + | |
51 | 56 | <module name="NewlineAtEndOfFile"> |
52 | - <property name="fileExtensions" value="java" /> | |
57 | + <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" /> | |
53 | 58 | </module> |
59 | + <module name="OrderedProperties" /> | |
54 | 60 | <module name="Translation" /> |
55 | 61 | <module name="UniqueProperties" /> |
56 | 62 | |
57 | 63 | |
58 | 64 | <!-- Regexp --> |
65 | + | |
59 | 66 | <module name="RegexpMultiline"> |
60 | 67 | <property name="format" value="[\u000b\f\u001a]" /> |
61 | 68 | </module> |
@@ -70,10 +77,16 @@ | ||
70 | 77 | |
71 | 78 | |
72 | 79 | <!-- Size Violations --> |
80 | + | |
73 | 81 | <module name="FileLength" /> |
82 | + <module name="LineLength"> | |
83 | + <property name="fileExtensions" value="java" /> | |
84 | + <property name="max" value="78" /> | |
85 | + </module> | |
74 | 86 | |
75 | 87 | |
76 | 88 | <!-- Whitespace --> |
89 | + | |
77 | 90 | <module name="FileTabCharacter" /> |
78 | 91 | |
79 | 92 |
@@ -139,6 +152,7 @@ | ||
139 | 152 | |
140 | 153 | <module name="ArrayTrailingComma" /> |
141 | 154 | <module name="AvoidInlineConditionals" /> |
155 | + <module name="AvoidNoArgumentSuperConstructorCall" /> | |
142 | 156 | <module name="CovariantEquals" /> |
143 | 157 | <module name="DeclarationOrder" /> |
144 | 158 | <module name="DefaultComesLast" /> |
@@ -172,7 +186,9 @@ | ||
172 | 186 | <module name="NestedForDepth" /> |
173 | 187 | <module name="NestedIfDepth" /> |
174 | 188 | <module name="NestedTryDepth" /> |
189 | + <module name="NoArrayTrailingComma" /> | |
175 | 190 | <module name="NoClone" /> |
191 | + <module name="NoEnumTrailingComma" /> | |
176 | 192 | <module name="NoFinalizer" /> |
177 | 193 | <module name="OneStatementPerLine" /> |
178 | 194 | <module name="OverloadMethodsDeclarationOrder" /> |
@@ -180,6 +196,7 @@ | ||
180 | 196 | <module name="ParameterAssignment" /> |
181 | 197 | <module name="RequireThis"> |
182 | 198 | <property name="checkMethods" value="false" /> |
199 | + <property name="validateOnlyOverlapping" value="false" /> | |
183 | 200 | </module> |
184 | 201 | <module name="ReturnCount" /> |
185 | 202 | <module name="SimplifyBooleanExpression" /> |
@@ -188,6 +205,9 @@ | ||
188 | 205 | <module name="SuperClone" /> |
189 | 206 | <module name="SuperFinalize" /> |
190 | 207 | <module name="UnnecessaryParentheses" /> |
208 | + <module name="UnnecessarySemicolonAfterTypeMemberDeclaration" /> | |
209 | + <module name="UnnecessarySemicolonInEnumeration" /> | |
210 | + <module name="UnnecessarySemicolonInTryWithResources" /> | |
191 | 211 | <module name="VariableDeclarationUsageDistance" /> |
192 | 212 | |
193 | 213 |
@@ -206,6 +226,9 @@ | ||
206 | 226 | <!-- Javadoc Comments --> |
207 | 227 | |
208 | 228 | <module name="AtclauseOrder" /> |
229 | + <module name="InvalidJavadocPosition" /> | |
230 | + <module name="JavadocBlockTagLocation" /> | |
231 | + <module name="JavadocContentLocationCheck" /> | |
209 | 232 | <module name="JavadocMethod" /> |
210 | 233 | <module name="JavadocParagraph" /> |
211 | 234 | <module name="JavadocStyle"> |
@@ -220,6 +243,9 @@ | ||
220 | 243 | <module name="JavadocVariable"> |
221 | 244 | <property name="scope" value="protected" /> |
222 | 245 | </module> |
246 | + <module name="MissingJavadocMethod" /> | |
247 | + <module name="MissingJavadocPackage" /> | |
248 | + <module name="MissingJavadocType" /> | |
223 | 249 | <module name="NonEmptyAtclauseDescription" /> |
224 | 250 | <module name="SingleLineJavadoc" /> |
225 | 251 | <module name="SummaryJavadocCheck" /> |
@@ -310,9 +336,6 @@ | ||
310 | 336 | |
311 | 337 | <module name="AnonInnerLength" /> |
312 | 338 | <module name="ExecutableStatementCount" /> |
313 | - <module name="LineLength"> | |
314 | - <property name="max" value="78" /> | |
315 | - </module> | |
316 | 339 | <module name="MethodCount" /> |
317 | 340 | <module name="MethodLength" /> |
318 | 341 | <module name="OuterTypeNumber" /> |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | <!-- |
4 | 4 | Custom rule set |
5 | - for PMD [ https://pmd.github.io/ ] 6.13.0 or later | |
5 | + for PMD [ https://pmd.github.io/ ] 6.21.0 or later | |
6 | 6 | |
7 | 7 | Copyright(c) 2019 olyutorskii |
8 | 8 | --> |
@@ -11,7 +11,7 @@ | ||
11 | 11 | xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" |
12 | 12 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
13 | 13 | xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 |
14 | - http://pmd.sourceforge.net/ruleset_2_0_0.xsd" | |
14 | + https://pmd.sourceforge.io/ruleset_2_0_0.xsd" | |
15 | 15 | name="Custom ruleset" |
16 | 16 | > |
17 | 17 |
@@ -29,7 +29,9 @@ | ||
29 | 29 | <exclude name="LocalVariableCouldBeFinal" /> |
30 | 30 | <exclude name="MethodArgumentCouldBeFinal" /> |
31 | 31 | <exclude name="OnlyOneReturn" /> |
32 | + <exclude name="ShortVariable" /> | |
32 | 33 | <exclude name="UnnecessaryLocalBeforeReturn" /> |
34 | + <exclude name="UnnecessaryModifier" /> | |
33 | 35 | <exclude name="UnnecessaryReturn" /> |
34 | 36 | </rule> |
35 | 37 | <rule ref="category/java/codestyle.xml/ControlStatementBraces" > |
@@ -16,7 +16,7 @@ | ||
16 | 16 | <groupId>jp.sourceforge.jindolf</groupId> |
17 | 17 | <artifactId>jinarchiver</artifactId> |
18 | 18 | |
19 | - <version>1.503.106</version> | |
19 | + <version>1.504.2</version> | |
20 | 20 | |
21 | 21 | <packaging>jar</packaging> |
22 | 22 | <name>JinArchiver</name> |
@@ -79,6 +79,7 @@ | ||
79 | 79 | <properties> |
80 | 80 | <maven.compiler.source>1.8</maven.compiler.source> |
81 | 81 | <maven.compiler.target>1.8</maven.compiler.target> |
82 | + <!--maven.compiler.release>8</maven.compiler.release--> | |
82 | 83 | |
83 | 84 | <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation> |
84 | 85 | <maven.compiler.showWarnings>true</maven.compiler.showWarnings> |
@@ -87,33 +88,21 @@ | ||
87 | 88 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
88 | 89 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
89 | 90 | |
90 | - <locale>en</locale> | |
91 | - <site.locales>${locale}</site.locales> | |
92 | - <javadoc.locale>${locale}</javadoc.locale> | |
93 | - <spotbugs.jvmArgs>-Duser.language=${locale}</spotbugs.jvmArgs> | |
91 | + <!-- DO NOT USE ${locale} with site-plugin --> | |
92 | + <site.locales>en</site.locales> | |
93 | + <javadoc.locale>en</javadoc.locale> | |
94 | + <spotbugs.jvmArgs>-Duser.language=en</spotbugs.jvmArgs> | |
94 | 95 | |
95 | - <!-- Walk around: JDK 11 javadoc + Maven --> | |
96 | - <detectJavaApiLink>false</detectJavaApiLink> | |
97 | - | |
98 | - <surefire-plugin.version>3.0.0-M3</surefire-plugin.version> | |
99 | - <jacoco-plugin.version>0.8.3</jacoco-plugin.version> | |
100 | - | |
101 | - <checkstyle-plugin.version>3.0.0</checkstyle-plugin.version> | |
102 | - <checkstyleruntime.version>8.20</checkstyleruntime.version> | |
103 | - <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location> | |
104 | - <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location> | |
96 | + <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location> | |
97 | + <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location> | |
105 | 98 | <checkstyle.enable.rss>false</checkstyle.enable.rss> |
106 | 99 | |
107 | - <pmd-plugin.version>3.12.0</pmd-plugin.version> | |
108 | - <pmd.analysisCache>true</pmd.analysisCache> | |
109 | - | |
110 | - <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version> | |
111 | 100 | <spotbugs.effort>Max</spotbugs.effort> |
112 | 101 | <spotbugs.threshold>Low</spotbugs.threshold> |
113 | 102 | <!-- for Jenkins --> |
114 | 103 | <spotbugs.xmlOutput>true</spotbugs.xmlOutput> |
115 | 104 | |
116 | - <project.mainentry>jp.sourceforge.jindolf.archiver.JinArchiver</project.mainentry> | |
105 | + <project.mainentry>jp.osdn.jindolf.ar.JinArchiver</project.mainentry> | |
117 | 106 | |
118 | 107 | </properties> |
119 | 108 |
@@ -124,14 +113,14 @@ | ||
124 | 113 | <dependency> |
125 | 114 | <groupId>junit</groupId> |
126 | 115 | <artifactId>junit</artifactId> |
127 | - <version>4.12</version> | |
116 | + <version>4.13</version> | |
128 | 117 | <scope>test</scope> |
129 | 118 | </dependency> |
130 | 119 | |
131 | 120 | <dependency> |
132 | 121 | <groupId>jp.osdn.jindolf</groupId> |
133 | 122 | <artifactId>jinparser</artifactId> |
134 | - <version>2.101.106</version> | |
123 | + <version>2.102.2</version> | |
135 | 124 | <scope>compile</scope> |
136 | 125 | </dependency> |
137 | 126 |
@@ -148,17 +137,131 @@ | ||
148 | 137 | |
149 | 138 | <plugin> |
150 | 139 | <groupId>org.apache.maven.plugins</groupId> |
140 | + <artifactId>maven-clean-plugin</artifactId> | |
141 | + <version>3.1.0</version> | |
142 | + </plugin> | |
143 | + | |
144 | + <plugin> | |
145 | + <groupId>org.apache.maven.plugins</groupId> | |
146 | + <artifactId>maven-enforcer-plugin</artifactId> | |
147 | + <version>3.0.0-M3</version> | |
148 | + </plugin> | |
149 | + | |
150 | + <plugin> | |
151 | + <groupId>org.apache.maven.plugins</groupId> | |
152 | + <artifactId>maven-resources-plugin</artifactId> | |
153 | + <version>3.1.0</version> | |
154 | + </plugin> | |
155 | + | |
156 | + <plugin> | |
157 | + <groupId>org.apache.maven.plugins</groupId> | |
158 | + <artifactId>maven-compiler-plugin</artifactId> | |
159 | + <version>3.8.1</version> | |
160 | + </plugin> | |
161 | + | |
162 | + <plugin> | |
163 | + <groupId>org.apache.maven.plugins</groupId> | |
164 | + <artifactId>maven-surefire-plugin</artifactId> | |
165 | + <version>3.0.0-M4</version> | |
166 | + </plugin> | |
167 | + | |
168 | + <plugin> | |
169 | + <groupId>org.apache.maven.plugins</groupId> | |
170 | + <artifactId>maven-surefire-report-plugin</artifactId> | |
171 | + <version>3.0.0-M4</version> | |
172 | + </plugin> | |
173 | + | |
174 | + <plugin> | |
175 | + <groupId>org.jacoco</groupId> | |
176 | + <artifactId>jacoco-maven-plugin</artifactId> | |
177 | + <version>0.8.5</version> | |
178 | + </plugin> | |
179 | + | |
180 | + <plugin> | |
181 | + <groupId>org.apache.maven.plugins</groupId> | |
182 | + <artifactId>maven-jar-plugin</artifactId> | |
183 | + <version>3.2.0</version> | |
184 | + </plugin> | |
185 | + | |
186 | + <plugin> | |
187 | + <groupId>org.apache.maven.plugins</groupId> | |
188 | + <artifactId>maven-shade-plugin</artifactId> | |
189 | + <version>3.2.1</version> | |
190 | + </plugin> | |
191 | + | |
192 | + <plugin> | |
193 | + <groupId>org.apache.maven.plugins</groupId> | |
194 | + <artifactId>maven-source-plugin</artifactId> | |
195 | + <version>3.2.1</version> | |
196 | + </plugin> | |
197 | + | |
198 | + <plugin> | |
199 | + <groupId>org.apache.maven.plugins</groupId> | |
200 | + <artifactId>maven-install-plugin</artifactId> | |
201 | + <version>3.0.0-M1</version> | |
202 | + </plugin> | |
203 | + | |
204 | + <plugin> | |
205 | + <groupId>org.apache.maven.plugins</groupId> | |
206 | + <artifactId>maven-deploy-plugin</artifactId> | |
207 | + <version>3.0.0-M1</version> | |
208 | + </plugin> | |
209 | + | |
210 | + <plugin> | |
211 | + <groupId>org.apache.maven.plugins</groupId> | |
212 | + <artifactId>maven-site-plugin</artifactId> | |
213 | + <version>3.8.2</version> | |
214 | + </plugin> | |
215 | + | |
216 | + <plugin> | |
217 | + <groupId>org.apache.maven.plugins</groupId> | |
218 | + <artifactId>maven-assembly-plugin</artifactId> | |
219 | + <version>3.2.0</version> | |
220 | + </plugin> | |
221 | + | |
222 | + <plugin> | |
223 | + <groupId>org.apache.maven.plugins</groupId> | |
224 | + <artifactId>maven-project-info-reports-plugin</artifactId> | |
225 | + <version>3.0.0</version> | |
226 | + </plugin> | |
227 | + | |
228 | + <plugin> | |
229 | + <groupId>org.apache.maven.plugins</groupId> | |
230 | + <artifactId>maven-javadoc-plugin</artifactId> | |
231 | + <version>3.1.1</version> | |
232 | + </plugin> | |
233 | + | |
234 | + <plugin> | |
235 | + <groupId>org.apache.maven.plugins</groupId> | |
236 | + <artifactId>maven-jxr-plugin</artifactId> | |
237 | + <version>3.0.0</version> | |
238 | + </plugin> | |
239 | + | |
240 | + <plugin> | |
241 | + <groupId>org.apache.maven.plugins</groupId> | |
151 | 242 | <artifactId>maven-checkstyle-plugin</artifactId> |
152 | - <version>${checkstyle-plugin.version}</version> | |
243 | + <version>3.1.0</version> | |
153 | 244 | <dependencies> |
154 | 245 | <dependency> |
155 | 246 | <groupId>com.puppycrawl.tools</groupId> |
156 | 247 | <artifactId>checkstyle</artifactId> |
157 | - <version>${checkstyleruntime.version}</version> | |
248 | + <version>8.29</version> | |
158 | 249 | </dependency> |
159 | 250 | </dependencies> |
160 | 251 | </plugin> |
161 | 252 | |
253 | + <plugin> | |
254 | + <groupId>org.apache.maven.plugins</groupId> | |
255 | + <artifactId>maven-pmd-plugin</artifactId> | |
256 | + <version>3.13.0</version> | |
257 | + </plugin> | |
258 | + | |
259 | + <plugin> | |
260 | + <groupId>com.github.spotbugs</groupId> | |
261 | + <artifactId>spotbugs-maven-plugin</artifactId> | |
262 | + <version>3.1.12.2</version> | |
263 | + </plugin> | |
264 | + | |
162 | 265 | </plugins> |
163 | 266 | |
164 | 267 | </pluginManagement> |
@@ -171,7 +274,6 @@ | ||
171 | 274 | <plugin> |
172 | 275 | <groupId>org.apache.maven.plugins</groupId> |
173 | 276 | <artifactId>maven-clean-plugin</artifactId> |
174 | - <version>3.1.0</version> | |
175 | 277 | <configuration> |
176 | 278 | <filesets> |
177 | 279 | <fileset> |
@@ -198,7 +300,6 @@ | ||
198 | 300 | <plugin> |
199 | 301 | <groupId>org.apache.maven.plugins</groupId> |
200 | 302 | <artifactId>maven-enforcer-plugin</artifactId> |
201 | - <version>3.0.0-M2</version> | |
202 | 303 | <executions> |
203 | 304 | <execution> |
204 | 305 | <id>enforce-versions</id> |
@@ -221,14 +322,7 @@ | ||
221 | 322 | |
222 | 323 | <plugin> |
223 | 324 | <groupId>org.apache.maven.plugins</groupId> |
224 | - <artifactId>maven-resources-plugin</artifactId> | |
225 | - <version>3.1.0</version> | |
226 | - </plugin> | |
227 | - | |
228 | - <plugin> | |
229 | - <groupId>org.apache.maven.plugins</groupId> | |
230 | 325 | <artifactId>maven-compiler-plugin</artifactId> |
231 | - <version>3.8.0</version> | |
232 | 326 | <configuration> |
233 | 327 | <source>1.8</source> <!-- for NetBeans IDE --> |
234 | 328 | <target>1.8</target> |
@@ -243,7 +337,6 @@ | ||
243 | 337 | <plugin> |
244 | 338 | <groupId>org.apache.maven.plugins</groupId> |
245 | 339 | <artifactId>maven-surefire-plugin</artifactId> |
246 | - <version>${surefire-plugin.version}</version> | |
247 | 340 | <configuration> |
248 | 341 | <enableAssertions>true</enableAssertions> |
249 | 342 | </configuration> |
@@ -252,7 +345,6 @@ | ||
252 | 345 | <plugin> |
253 | 346 | <groupId>org.jacoco</groupId> |
254 | 347 | <artifactId>jacoco-maven-plugin</artifactId> |
255 | - <version>${jacoco-plugin.version}</version> | |
256 | 348 | <executions> |
257 | 349 | <execution> |
258 | 350 | <id>default-prepare-agent</id> |
@@ -260,40 +352,12 @@ | ||
260 | 352 | <goal>prepare-agent</goal> |
261 | 353 | </goals> |
262 | 354 | </execution> |
263 | - <execution> | |
264 | - <id>default-report</id> | |
265 | - <phase>prepare-package</phase> | |
266 | - <goals> | |
267 | - <goal>report</goal> | |
268 | - </goals> | |
269 | - </execution> | |
270 | - <execution> | |
271 | - <id>default-check</id> | |
272 | - <goals> | |
273 | - <goal>check</goal> | |
274 | - </goals> | |
275 | - <configuration> | |
276 | - <rules> | |
277 | - <rule implementation="org.jacoco.maven.RuleConfiguration"> | |
278 | - <element>BUNDLE</element> | |
279 | - <limits> | |
280 | - <limit implementation="org.jacoco.report.check.Limit"> | |
281 | - <counter>COMPLEXITY</counter> | |
282 | - <value>COVEREDRATIO</value> | |
283 | - <minimum>0.0</minimum> | |
284 | - </limit> | |
285 | - </limits> | |
286 | - </rule> | |
287 | - </rules> | |
288 | - </configuration> | |
289 | - </execution> | |
290 | 355 | </executions> |
291 | 356 | </plugin> |
292 | 357 | |
293 | 358 | <plugin> |
294 | 359 | <groupId>org.apache.maven.plugins</groupId> |
295 | 360 | <artifactId>maven-jar-plugin</artifactId> |
296 | - <version>3.1.1</version> | |
297 | 361 | <configuration> |
298 | 362 | <archive> |
299 | 363 | <manifest> |
@@ -312,7 +376,6 @@ | ||
312 | 376 | <plugin> |
313 | 377 | <groupId>org.apache.maven.plugins</groupId> |
314 | 378 | <artifactId>maven-shade-plugin</artifactId> |
315 | - <version>3.2.1</version> | |
316 | 379 | <executions> |
317 | 380 | <execution> |
318 | 381 | <phase>package</phase> |
@@ -326,60 +389,40 @@ | ||
326 | 389 | </executions> |
327 | 390 | </plugin> |
328 | 391 | |
392 | + <!-- site lifecycle --> | |
393 | + | |
329 | 394 | <plugin> |
330 | 395 | <groupId>org.apache.maven.plugins</groupId> |
331 | - <artifactId>maven-source-plugin</artifactId> | |
332 | - <version>3.0.1</version> | |
396 | + <artifactId>maven-site-plugin</artifactId> | |
333 | 397 | <configuration> |
334 | - <includePom>true</includePom> | |
335 | - <archive> | |
336 | - <manifestEntries> | |
337 | - <Built-By>${project.organization.name}</Built-By> | |
338 | - </manifestEntries> | |
339 | - </archive> | |
398 | + <locales>${site.locales}</locales> | |
340 | 399 | </configuration> |
341 | - <executions> | |
342 | - <execution> | |
343 | - <id>attach-sources</id> | |
344 | - <phase>verify</phase> | |
345 | - <goals> | |
346 | - <goal>jar-no-fork</goal> | |
347 | - </goals> | |
348 | - </execution> | |
349 | - </executions> | |
350 | - </plugin> | |
351 | - | |
352 | - <plugin> | |
353 | - <groupId>org.apache.maven.plugins</groupId> | |
354 | - <artifactId>maven-install-plugin</artifactId> | |
355 | - <version>3.0.0-M1</version> | |
356 | 400 | </plugin> |
357 | 401 | |
358 | - <plugin> | |
359 | - <groupId>org.apache.maven.plugins</groupId> | |
360 | - <artifactId>maven-deploy-plugin</artifactId> | |
361 | - <version>3.0.0-M1</version> | |
362 | - </plugin> | |
363 | 402 | |
364 | - | |
365 | - <!-- site lifecycle --> | |
403 | + <!-- goals without lifecycle --> | |
366 | 404 | |
367 | 405 | <plugin> |
368 | 406 | <groupId>org.apache.maven.plugins</groupId> |
369 | - <artifactId>maven-site-plugin</artifactId> | |
370 | - <version>3.7.1</version> | |
407 | + <artifactId>maven-javadoc-plugin</artifactId> | |
371 | 408 | <configuration> |
372 | - <locales>${site.locales}</locales> | |
409 | + <locale>${javadoc.locale}</locale> | |
410 | + <!-- for JDK11 javadoc --> | |
411 | + <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption> | |
412 | + <source>${maven.compiler.source}</source> | |
413 | + <notimestamp>true</notimestamp> | |
414 | + <header>${project.name} ${project.version} API</header> | |
415 | + <nohelp>true</nohelp> | |
416 | + <author>false</author> | |
417 | + <quiet>true</quiet> | |
418 | + <doclint>all</doclint> | |
419 | + <show>protected</show> | |
373 | 420 | </configuration> |
374 | 421 | </plugin> |
375 | 422 | |
376 | - | |
377 | - <!-- goals without lifecycle --> | |
378 | - | |
379 | 423 | <plugin> |
380 | 424 | <groupId>org.apache.maven.plugins</groupId> |
381 | 425 | <artifactId>maven-assembly-plugin</artifactId> |
382 | - <version>3.1.1</version> | |
383 | 426 | <configuration> |
384 | 427 | <descriptors> |
385 | 428 | <descriptor>src/assembly/src.xml</descriptor> |
@@ -389,27 +432,14 @@ | ||
389 | 432 | |
390 | 433 | <plugin> |
391 | 434 | <groupId>org.apache.maven.plugins</groupId> |
392 | - <artifactId>maven-checkstyle-plugin</artifactId> | |
393 | - <version>${checkstyle-plugin.version}</version> | |
394 | - </plugin> | |
395 | - | |
396 | - <plugin> | |
397 | - <groupId>org.apache.maven.plugins</groupId> | |
398 | 435 | <artifactId>maven-pmd-plugin</artifactId> |
399 | - <version>${pmd-plugin.version}</version> | |
400 | 436 | <configuration> |
401 | 437 | <rulesets> |
402 | - <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset> | |
438 | + <ruleset>config/pmd/pmdrules.xml</ruleset> | |
403 | 439 | </rulesets> |
404 | 440 | </configuration> |
405 | 441 | </plugin> |
406 | 442 | |
407 | - <plugin> | |
408 | - <groupId>com.github.spotbugs</groupId> | |
409 | - <artifactId>spotbugs-maven-plugin</artifactId> | |
410 | - <version>${spotbugs-plugin.version}</version> | |
411 | - </plugin> | |
412 | - | |
413 | 443 | </plugins> |
414 | 444 | |
415 | 445 | <resources> |
@@ -466,7 +496,6 @@ | ||
466 | 496 | <plugin> |
467 | 497 | <groupId>org.apache.maven.plugins</groupId> |
468 | 498 | <artifactId>maven-project-info-reports-plugin</artifactId> |
469 | - <version>3.0.0</version> | |
470 | 499 | <configuration> |
471 | 500 | <linkOnly>true</linkOnly> |
472 | 501 | <offline>true</offline> |
@@ -481,7 +510,6 @@ | ||
481 | 510 | <report>dependencies</report> |
482 | 511 | <report>dependency-convergence</report> |
483 | 512 | <report>plugins</report> |
484 | - <report>plugin-management</report> | |
485 | 513 | <report>team</report> |
486 | 514 | <report>issue-management</report> |
487 | 515 | <report>scm</report> |
@@ -491,6 +519,7 @@ | ||
491 | 519 | <report>ci-management</report> |
492 | 520 | <report>mailing-lists</report> |
493 | 521 | <report>modules</report> |
522 | + <report>plugin-management</report> | |
494 | 523 | --> |
495 | 524 | </reports> |
496 | 525 | </reportSet> |
@@ -500,17 +529,18 @@ | ||
500 | 529 | <plugin> |
501 | 530 | <groupId>org.apache.maven.plugins</groupId> |
502 | 531 | <artifactId>maven-javadoc-plugin</artifactId> |
503 | - <version>3.1.0</version> | |
504 | 532 | <configuration> |
505 | - <author>false</author> | |
506 | - <notimestamp>true</notimestamp> | |
507 | - <quiet>true</quiet> | |
508 | - <show>protected</show> | |
509 | - <header>${project.name} ${project.version} API</header> | |
510 | - <version>true</version> | |
511 | 533 | <locale>${javadoc.locale}</locale> |
512 | 534 | <!-- for JDK11 javadoc --> |
513 | 535 | <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption> |
536 | + <source>${maven.compiler.source}</source> | |
537 | + <notimestamp>true</notimestamp> | |
538 | + <header>${project.name} ${project.version} API</header> | |
539 | + <nohelp>true</nohelp> | |
540 | + <author>false</author> | |
541 | + <quiet>true</quiet> | |
542 | + <doclint>all</doclint> | |
543 | + <show>protected</show> | |
514 | 544 | </configuration> |
515 | 545 | <reportSets> |
516 | 546 | <reportSet> |
@@ -524,19 +554,16 @@ | ||
524 | 554 | <plugin> |
525 | 555 | <groupId>org.apache.maven.plugins</groupId> |
526 | 556 | <artifactId>maven-jxr-plugin</artifactId> |
527 | - <version>3.0.0</version> | |
528 | 557 | </plugin> |
529 | 558 | |
530 | 559 | <plugin> |
531 | 560 | <groupId>org.apache.maven.plugins</groupId> |
532 | 561 | <artifactId>maven-surefire-report-plugin</artifactId> |
533 | - <version>${surefire-plugin.version}</version> | |
534 | 562 | </plugin> |
535 | 563 | |
536 | 564 | <plugin> |
537 | 565 | <groupId>org.jacoco</groupId> |
538 | 566 | <artifactId>jacoco-maven-plugin</artifactId> |
539 | - <version>${jacoco-plugin.version}</version> | |
540 | 567 | <reportSets> |
541 | 568 | <reportSet> |
542 | 569 | <reports> |
@@ -549,7 +576,6 @@ | ||
549 | 576 | <plugin> |
550 | 577 | <groupId>org.apache.maven.plugins</groupId> |
551 | 578 | <artifactId>maven-checkstyle-plugin</artifactId> |
552 | - <version>${checkstyle-plugin.version}</version> | |
553 | 579 | <reportSets> |
554 | 580 | <reportSet> |
555 | 581 | <reports> |
@@ -562,10 +588,9 @@ | ||
562 | 588 | <plugin> |
563 | 589 | <groupId>org.apache.maven.plugins</groupId> |
564 | 590 | <artifactId>maven-pmd-plugin</artifactId> |
565 | - <version>${pmd-plugin.version}</version> | |
566 | 591 | <configuration> |
567 | 592 | <rulesets> |
568 | - <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset> | |
593 | + <ruleset>config/pmd/pmdrules.xml</ruleset> | |
569 | 594 | </rulesets> |
570 | 595 | </configuration> |
571 | 596 | <reportSets> |
@@ -581,14 +606,76 @@ | ||
581 | 606 | <plugin> |
582 | 607 | <groupId>com.github.spotbugs</groupId> |
583 | 608 | <artifactId>spotbugs-maven-plugin</artifactId> |
584 | - <version>${spotbugs-plugin.version}</version> | |
585 | 609 | </plugin> |
586 | 610 | |
587 | 611 | </plugins> |
588 | 612 | |
589 | 613 | </reporting> |
590 | 614 | |
591 | - <profiles/> | |
615 | + <profiles> | |
616 | + | |
617 | + <profile> | |
618 | + <id>release-profile</id> | |
619 | + | |
620 | + <activation> | |
621 | + <property> | |
622 | + <name>performRelease</name> | |
623 | + <value>true</value> | |
624 | + </property> | |
625 | + </activation> | |
626 | + | |
627 | + <build> | |
628 | + <plugins> | |
629 | + | |
630 | + <plugin> | |
631 | + <inherited>true</inherited> | |
632 | + <groupId>org.apache.maven.plugins</groupId> | |
633 | + <artifactId>maven-source-plugin</artifactId> | |
634 | + <configuration> | |
635 | + <includePom>true</includePom> | |
636 | + <archive> | |
637 | + <manifestEntries> | |
638 | + <Built-By>${project.organization.name}</Built-By> | |
639 | + </manifestEntries> | |
640 | + </archive> | |
641 | + </configuration> | |
642 | + <executions> | |
643 | + <execution> | |
644 | + <id>attach-sources</id> | |
645 | + <goals> | |
646 | + <goal>jar-no-fork</goal> | |
647 | + </goals> | |
648 | + </execution> | |
649 | + </executions> | |
650 | + </plugin> | |
651 | + | |
652 | + <plugin> | |
653 | + <inherited>true</inherited> | |
654 | + <groupId>org.apache.maven.plugins</groupId> | |
655 | + <artifactId>maven-javadoc-plugin</artifactId> | |
656 | + <configuration> | |
657 | + <show>protected</show> | |
658 | + <archive> | |
659 | + <manifestEntries> | |
660 | + <Built-By>${project.organization.name}</Built-By> | |
661 | + </manifestEntries> | |
662 | + </archive> | |
663 | + </configuration> | |
664 | + <executions> | |
665 | + <execution> | |
666 | + <id>attach-javadocs</id> | |
667 | + <goals> | |
668 | + <goal>jar</goal> | |
669 | + </goals> | |
670 | + </execution> | |
671 | + </executions> | |
672 | + </plugin> | |
673 | + | |
674 | + </plugins> | |
675 | + </build> | |
676 | + </profile> | |
677 | + | |
678 | + </profiles> | |
592 | 679 | |
593 | 680 | </project> |
594 | 681 |
@@ -0,0 +1,39 @@ | ||
1 | +/* | |
2 | + * main entry | |
3 | + * | |
4 | + * License : The MIT License | |
5 | + * Copyright(c) 2020 olyutorskii | |
6 | + */ | |
7 | + | |
8 | +package jp.osdn.jindolf.ar; | |
9 | + | |
10 | +/** | |
11 | + * FQN短縮版メインエントリ。 | |
12 | + */ | |
13 | +public final class JinArchiver{ | |
14 | + | |
15 | + /** | |
16 | + * 隠しコンストラクタ。 | |
17 | + */ | |
18 | + private JinArchiver(){ | |
19 | + assert false; | |
20 | + throw new AssertionError(); | |
21 | + } | |
22 | + | |
23 | + | |
24 | + /** | |
25 | + * スタートアップエントリ。 | |
26 | + * | |
27 | + * <p>{@link jp.sourceforge.jindolf.archiver.JinArchiver}の | |
28 | + * 旧エントリへ丸投げする。 | |
29 | + * | |
30 | + * @param args 引数 | |
31 | + * | |
32 | + * @see jp.sourceforge.jindolf.archiver.JinArchiver | |
33 | + */ | |
34 | + public static void main(String[] args){ | |
35 | + jp.sourceforge.jindolf.archiver.JinArchiver.main(args); | |
36 | + return; | |
37 | + } | |
38 | + | |
39 | +} |