• R/O
  • HTTP
  • SSH
  • HTTPS

JinArchiver: Commit

JinArchiverは、人狼BBSの過去ログを独自のXML形式でローカルディスクに保存するためのツールです。


Commit MetaInfo

Revision722640fa39f8c272f504acb77018a517243c7dc1 (tree)
Time2020-02-11 19:11:38
AuthorOlyutorskii <olyutorskii@user...>
CommiterOlyutorskii

Log Message

Merge branch 'release/1.504.2'

Change Summary

Incremental Difference

--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -4,6 +4,10 @@
44 JinArchiver 変更履歴
55
66
7+1.504.2 (2020-02-11)
8+ ・G国亡国に伴い JinParser 2.102.2 に対応。
9+ ・起動クラスのFQNをjp.osdn.jindolf.ar.JinArchiverに短縮。
10+
711 1.503.106 (2019-05-07)
812 ・JinParser 2.101.106 に対応。
913 ・必須環境をJavaSE8に引き上げ。
--- a/config/checkstyle/checkstyle-suppressions.xml
+++ b/config/checkstyle/checkstyle-suppressions.xml
@@ -6,7 +6,7 @@
66
77 <!--
88 Checkstyle suppressions
9- for Checkstyle 8.20 or later
9+ for Checkstyle 8.29 or later
1010
1111 [ https://checkstyle.org/ ]
1212
@@ -23,10 +23,12 @@
2323 <suppress files="" checks="DesignForExtension" />
2424
2525 <!-- Coding -->
26+ <suppress files="" checks="AvoidNoArgumentSuperConstructorCall" />
2627 <suppress files="" checks="ExplicitInitialization" />
2728 <suppress files="" checks="FinalLocalVariable" />
2829 <suppress files="" checks="MagicNumber" />
29- <suppress files="" checks="OneStatementPerLine" />
30+ <suppress files="" checks="NoArrayTrailingComma" />
31+ <suppress files="" checks="NoEnumTrailingComma" />
3032
3133 <!-- Imports -->
3234 <suppress files="" checks="ImportControl" />
@@ -38,8 +40,9 @@
3840 <suppress files="" checks="FinalParameters" />
3941 <suppress files="" checks="TrailingComment" />
4042
41- <!-- Modifiers -->
43+ <!-- Modifier -->
4244 <suppress files="" checks="InterfaceMemberImpliedModifier" />
45+ <suppress files="" checks="RedundantModifier" />
4346
4447 <!-- Whitespace -->
4548 <suppress files="" checks="SingleSpaceSeparator" />
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -6,7 +6,7 @@
66
77 <!--
88 Checkstyle modules
9- for Checkstyle 8.20 or later
9+ for Checkstyle 8.29 or later
1010
1111 [ https://checkstyle.org/ ]
1212
@@ -20,18 +20,21 @@
2020 <property name="localeCountry" value="JP" />
2121 <property name="localeLanguage" value="en" />
2222 <!--property name="localeLanguage" value="ja" /-->
23- <property name="fileExtensions" value="java, xml, properties" />
23+ <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" />
2424 <property name="severity" value="error" />
2525
2626
2727 <!-- Filters -->
28+
2829 <module name="SeverityMatchFilter" />
2930 <!--module name="SuppressionFilter" /-->
31+ <!--module name="SuppressionSingleFilter" /-->
3032 <module name="SuppressWarningsFilter" />
3133 <module name="SuppressWithPlainTextCommentFilter" />
3234
3335
3436 <!-- Headers -->
37+
3538 <module name="Header">
3639 <property name="header" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;" />
3740 <property name="fileExtensions" value="xml" />
@@ -44,18 +47,22 @@
4447
4548
4649 <!-- Javadoc Comments -->
50+
4751 <module name="JavadocPackage" />
4852
4953
5054 <!-- Miscellaneous -->
55+
5156 <module name="NewlineAtEndOfFile">
52- <property name="fileExtensions" value="java" />
57+ <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" />
5358 </module>
59+ <module name="OrderedProperties" />
5460 <module name="Translation" />
5561 <module name="UniqueProperties" />
5662
5763
5864 <!-- Regexp -->
65+
5966 <module name="RegexpMultiline">
6067 <property name="format" value="[\u000b\f\u001a]" />
6168 </module>
@@ -70,10 +77,16 @@
7077
7178
7279 <!-- Size Violations -->
80+
7381 <module name="FileLength" />
82+ <module name="LineLength">
83+ <property name="fileExtensions" value="java" />
84+ <property name="max" value="78" />
85+ </module>
7486
7587
7688 <!-- Whitespace -->
89+
7790 <module name="FileTabCharacter" />
7891
7992
@@ -139,6 +152,7 @@
139152
140153 <module name="ArrayTrailingComma" />
141154 <module name="AvoidInlineConditionals" />
155+ <module name="AvoidNoArgumentSuperConstructorCall" />
142156 <module name="CovariantEquals" />
143157 <module name="DeclarationOrder" />
144158 <module name="DefaultComesLast" />
@@ -172,7 +186,9 @@
172186 <module name="NestedForDepth" />
173187 <module name="NestedIfDepth" />
174188 <module name="NestedTryDepth" />
189+ <module name="NoArrayTrailingComma" />
175190 <module name="NoClone" />
191+ <module name="NoEnumTrailingComma" />
176192 <module name="NoFinalizer" />
177193 <module name="OneStatementPerLine" />
178194 <module name="OverloadMethodsDeclarationOrder" />
@@ -180,6 +196,7 @@
180196 <module name="ParameterAssignment" />
181197 <module name="RequireThis">
182198 <property name="checkMethods" value="false" />
199+ <property name="validateOnlyOverlapping" value="false" />
183200 </module>
184201 <module name="ReturnCount" />
185202 <module name="SimplifyBooleanExpression" />
@@ -188,6 +205,9 @@
188205 <module name="SuperClone" />
189206 <module name="SuperFinalize" />
190207 <module name="UnnecessaryParentheses" />
208+ <module name="UnnecessarySemicolonAfterTypeMemberDeclaration" />
209+ <module name="UnnecessarySemicolonInEnumeration" />
210+ <module name="UnnecessarySemicolonInTryWithResources" />
191211 <module name="VariableDeclarationUsageDistance" />
192212
193213
@@ -206,6 +226,9 @@
206226 <!-- Javadoc Comments -->
207227
208228 <module name="AtclauseOrder" />
229+ <module name="InvalidJavadocPosition" />
230+ <module name="JavadocBlockTagLocation" />
231+ <module name="JavadocContentLocationCheck" />
209232 <module name="JavadocMethod" />
210233 <module name="JavadocParagraph" />
211234 <module name="JavadocStyle">
@@ -220,6 +243,9 @@
220243 <module name="JavadocVariable">
221244 <property name="scope" value="protected" />
222245 </module>
246+ <module name="MissingJavadocMethod" />
247+ <module name="MissingJavadocPackage" />
248+ <module name="MissingJavadocType" />
223249 <module name="NonEmptyAtclauseDescription" />
224250 <module name="SingleLineJavadoc" />
225251 <module name="SummaryJavadocCheck" />
@@ -310,9 +336,6 @@
310336
311337 <module name="AnonInnerLength" />
312338 <module name="ExecutableStatementCount" />
313- <module name="LineLength">
314- <property name="max" value="78" />
315- </module>
316339 <module name="MethodCount" />
317340 <module name="MethodLength" />
318341 <module name="OuterTypeNumber" />
--- a/config/pmd/pmdrules.xml
+++ b/config/pmd/pmdrules.xml
@@ -2,7 +2,7 @@
22
33 <!--
44 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
66
77 Copyright(c) 2019 olyutorskii
88 -->
@@ -11,7 +11,7 @@
1111 xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
1212 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1313 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"
1515 name="Custom ruleset"
1616 >
1717
@@ -29,7 +29,9 @@
2929 <exclude name="LocalVariableCouldBeFinal" />
3030 <exclude name="MethodArgumentCouldBeFinal" />
3131 <exclude name="OnlyOneReturn" />
32+ <exclude name="ShortVariable" />
3233 <exclude name="UnnecessaryLocalBeforeReturn" />
34+ <exclude name="UnnecessaryModifier" />
3335 <exclude name="UnnecessaryReturn" />
3436 </rule>
3537 <rule ref="category/java/codestyle.xml/ControlStatementBraces" >
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
1616 <groupId>jp.sourceforge.jindolf</groupId>
1717 <artifactId>jinarchiver</artifactId>
1818
19- <version>1.503.106</version>
19+ <version>1.504.2</version>
2020
2121 <packaging>jar</packaging>
2222 <name>JinArchiver</name>
@@ -79,6 +79,7 @@
7979 <properties>
8080 <maven.compiler.source>1.8</maven.compiler.source>
8181 <maven.compiler.target>1.8</maven.compiler.target>
82+ <!--maven.compiler.release>8</maven.compiler.release-->
8283
8384 <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
8485 <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
@@ -87,33 +88,21 @@
8788 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
8889 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
8990
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>
9495
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>
10598 <checkstyle.enable.rss>false</checkstyle.enable.rss>
10699
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>
111100 <spotbugs.effort>Max</spotbugs.effort>
112101 <spotbugs.threshold>Low</spotbugs.threshold>
113102 <!-- for Jenkins -->
114103 <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
115104
116- <project.mainentry>jp.sourceforge.jindolf.archiver.JinArchiver</project.mainentry>
105+ <project.mainentry>jp.osdn.jindolf.ar.JinArchiver</project.mainentry>
117106
118107 </properties>
119108
@@ -124,14 +113,14 @@
124113 <dependency>
125114 <groupId>junit</groupId>
126115 <artifactId>junit</artifactId>
127- <version>4.12</version>
116+ <version>4.13</version>
128117 <scope>test</scope>
129118 </dependency>
130119
131120 <dependency>
132121 <groupId>jp.osdn.jindolf</groupId>
133122 <artifactId>jinparser</artifactId>
134- <version>2.101.106</version>
123+ <version>2.102.2</version>
135124 <scope>compile</scope>
136125 </dependency>
137126
@@ -148,17 +137,131 @@
148137
149138 <plugin>
150139 <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>
151242 <artifactId>maven-checkstyle-plugin</artifactId>
152- <version>${checkstyle-plugin.version}</version>
243+ <version>3.1.0</version>
153244 <dependencies>
154245 <dependency>
155246 <groupId>com.puppycrawl.tools</groupId>
156247 <artifactId>checkstyle</artifactId>
157- <version>${checkstyleruntime.version}</version>
248+ <version>8.29</version>
158249 </dependency>
159250 </dependencies>
160251 </plugin>
161252
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+
162265 </plugins>
163266
164267 </pluginManagement>
@@ -171,7 +274,6 @@
171274 <plugin>
172275 <groupId>org.apache.maven.plugins</groupId>
173276 <artifactId>maven-clean-plugin</artifactId>
174- <version>3.1.0</version>
175277 <configuration>
176278 <filesets>
177279 <fileset>
@@ -198,7 +300,6 @@
198300 <plugin>
199301 <groupId>org.apache.maven.plugins</groupId>
200302 <artifactId>maven-enforcer-plugin</artifactId>
201- <version>3.0.0-M2</version>
202303 <executions>
203304 <execution>
204305 <id>enforce-versions</id>
@@ -221,14 +322,7 @@
221322
222323 <plugin>
223324 <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>
230325 <artifactId>maven-compiler-plugin</artifactId>
231- <version>3.8.0</version>
232326 <configuration>
233327 <source>1.8</source> <!-- for NetBeans IDE -->
234328 <target>1.8</target>
@@ -243,7 +337,6 @@
243337 <plugin>
244338 <groupId>org.apache.maven.plugins</groupId>
245339 <artifactId>maven-surefire-plugin</artifactId>
246- <version>${surefire-plugin.version}</version>
247340 <configuration>
248341 <enableAssertions>true</enableAssertions>
249342 </configuration>
@@ -252,7 +345,6 @@
252345 <plugin>
253346 <groupId>org.jacoco</groupId>
254347 <artifactId>jacoco-maven-plugin</artifactId>
255- <version>${jacoco-plugin.version}</version>
256348 <executions>
257349 <execution>
258350 <id>default-prepare-agent</id>
@@ -260,40 +352,12 @@
260352 <goal>prepare-agent</goal>
261353 </goals>
262354 </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>
290355 </executions>
291356 </plugin>
292357
293358 <plugin>
294359 <groupId>org.apache.maven.plugins</groupId>
295360 <artifactId>maven-jar-plugin</artifactId>
296- <version>3.1.1</version>
297361 <configuration>
298362 <archive>
299363 <manifest>
@@ -312,7 +376,6 @@
312376 <plugin>
313377 <groupId>org.apache.maven.plugins</groupId>
314378 <artifactId>maven-shade-plugin</artifactId>
315- <version>3.2.1</version>
316379 <executions>
317380 <execution>
318381 <phase>package</phase>
@@ -326,60 +389,40 @@
326389 </executions>
327390 </plugin>
328391
392+ <!-- site lifecycle -->
393+
329394 <plugin>
330395 <groupId>org.apache.maven.plugins</groupId>
331- <artifactId>maven-source-plugin</artifactId>
332- <version>3.0.1</version>
396+ <artifactId>maven-site-plugin</artifactId>
333397 <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>
340399 </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>
356400 </plugin>
357401
358- <plugin>
359- <groupId>org.apache.maven.plugins</groupId>
360- <artifactId>maven-deploy-plugin</artifactId>
361- <version>3.0.0-M1</version>
362- </plugin>
363402
364-
365- <!-- site lifecycle -->
403+ <!-- goals without lifecycle -->
366404
367405 <plugin>
368406 <groupId>org.apache.maven.plugins</groupId>
369- <artifactId>maven-site-plugin</artifactId>
370- <version>3.7.1</version>
407+ <artifactId>maven-javadoc-plugin</artifactId>
371408 <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>
373420 </configuration>
374421 </plugin>
375422
376-
377- <!-- goals without lifecycle -->
378-
379423 <plugin>
380424 <groupId>org.apache.maven.plugins</groupId>
381425 <artifactId>maven-assembly-plugin</artifactId>
382- <version>3.1.1</version>
383426 <configuration>
384427 <descriptors>
385428 <descriptor>src/assembly/src.xml</descriptor>
@@ -389,27 +432,14 @@
389432
390433 <plugin>
391434 <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>
398435 <artifactId>maven-pmd-plugin</artifactId>
399- <version>${pmd-plugin.version}</version>
400436 <configuration>
401437 <rulesets>
402- <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
438+ <ruleset>config/pmd/pmdrules.xml</ruleset>
403439 </rulesets>
404440 </configuration>
405441 </plugin>
406442
407- <plugin>
408- <groupId>com.github.spotbugs</groupId>
409- <artifactId>spotbugs-maven-plugin</artifactId>
410- <version>${spotbugs-plugin.version}</version>
411- </plugin>
412-
413443 </plugins>
414444
415445 <resources>
@@ -466,7 +496,6 @@
466496 <plugin>
467497 <groupId>org.apache.maven.plugins</groupId>
468498 <artifactId>maven-project-info-reports-plugin</artifactId>
469- <version>3.0.0</version>
470499 <configuration>
471500 <linkOnly>true</linkOnly>
472501 <offline>true</offline>
@@ -481,7 +510,6 @@
481510 <report>dependencies</report>
482511 <report>dependency-convergence</report>
483512 <report>plugins</report>
484- <report>plugin-management</report>
485513 <report>team</report>
486514 <report>issue-management</report>
487515 <report>scm</report>
@@ -491,6 +519,7 @@
491519 <report>ci-management</report>
492520 <report>mailing-lists</report>
493521 <report>modules</report>
522+ <report>plugin-management</report>
494523 -->
495524 </reports>
496525 </reportSet>
@@ -500,17 +529,18 @@
500529 <plugin>
501530 <groupId>org.apache.maven.plugins</groupId>
502531 <artifactId>maven-javadoc-plugin</artifactId>
503- <version>3.1.0</version>
504532 <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>
511533 <locale>${javadoc.locale}</locale>
512534 <!-- for JDK11 javadoc -->
513535 <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>
514544 </configuration>
515545 <reportSets>
516546 <reportSet>
@@ -524,19 +554,16 @@
524554 <plugin>
525555 <groupId>org.apache.maven.plugins</groupId>
526556 <artifactId>maven-jxr-plugin</artifactId>
527- <version>3.0.0</version>
528557 </plugin>
529558
530559 <plugin>
531560 <groupId>org.apache.maven.plugins</groupId>
532561 <artifactId>maven-surefire-report-plugin</artifactId>
533- <version>${surefire-plugin.version}</version>
534562 </plugin>
535563
536564 <plugin>
537565 <groupId>org.jacoco</groupId>
538566 <artifactId>jacoco-maven-plugin</artifactId>
539- <version>${jacoco-plugin.version}</version>
540567 <reportSets>
541568 <reportSet>
542569 <reports>
@@ -549,7 +576,6 @@
549576 <plugin>
550577 <groupId>org.apache.maven.plugins</groupId>
551578 <artifactId>maven-checkstyle-plugin</artifactId>
552- <version>${checkstyle-plugin.version}</version>
553579 <reportSets>
554580 <reportSet>
555581 <reports>
@@ -562,10 +588,9 @@
562588 <plugin>
563589 <groupId>org.apache.maven.plugins</groupId>
564590 <artifactId>maven-pmd-plugin</artifactId>
565- <version>${pmd-plugin.version}</version>
566591 <configuration>
567592 <rulesets>
568- <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
593+ <ruleset>config/pmd/pmdrules.xml</ruleset>
569594 </rulesets>
570595 </configuration>
571596 <reportSets>
@@ -581,14 +606,76 @@
581606 <plugin>
582607 <groupId>com.github.spotbugs</groupId>
583608 <artifactId>spotbugs-maven-plugin</artifactId>
584- <version>${spotbugs-plugin.version}</version>
585609 </plugin>
586610
587611 </plugins>
588612
589613 </reporting>
590614
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>
592679
593680 </project>
594681
--- /dev/null
+++ b/src/main/java/jp/osdn/jindolf/ar/JinArchiver.java
@@ -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+}
Show on old repository browser