• R/O
  • HTTP
  • SSH
  • HTTPS

JinArchiver: Commit

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


Commit MetaInfo

Revision278c7d127b35dad6c8f471ea1ad373416b6cf9b0 (tree)
Time2017-04-10 23:26:10
AuthorOlyutorskii <olyutorskii@user...>
CommiterOlyutorskii

Log Message

merge release/1.503.4

Change Summary

  • modified: .hgignore (diff)
  • modified: CHANGELOG.txt (diff)
  • modified: README.txt (diff)
  • modified: SCM.txt (diff)
  • modified: pom.xml (diff)
  • delete: src/main/config/checks.xml => checkstyle.xml
  • delete: src/main/config/pmdrules.xml => pmdrules.xml
  • delete: src/main/config/suppressions.xml => checkstyle-suppressions.xml
  • delete: src/{main/assembly/descriptor.xml => assembly/src.xml}

Incremental Difference

--- a/.hgignore
+++ b/.hgignore
@@ -27,7 +27,7 @@ syntax: regexp
2727 syntax: glob
2828
2929 .DS_Store
30-_MACOSX
30+__MACOSX
3131 [Tt]humbs.db
3232 [Dd]esktop.ini
3333 core
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -4,6 +4,9 @@
44 JinArchiver 変更履歴
55
66
7+1.503.4 (2017-04-10)
8+ ・F国URL修正に伴い JinCore 1.206.10 に対応。
9+
710 1.503.2 (2016-07-05)
811 ・必須環境をJRE7に引き上げ。
912 ・Mavenプラグイン更新。
--- a/README.txt
+++ b/README.txt
@@ -38,7 +38,7 @@ java -jar jinarchiver-X.X.X.jar -land wolff -vid 1507 -outdir /tmp
3838
3939 === 開発プロジェクト運営元 ===
4040
41- https://osdn.jp/projects/jindolf/ まで。
41+ https://ja.osdn.net/projects/jindolf/ まで。
4242
4343
4444 === ディレクトリ内訳構成 ===
@@ -60,6 +60,15 @@ java -jar jinarchiver-X.X.X.jar -land wolff -vid 1507 -outdir /tmp
6060 ./pom.xml
6161 Maven3用プロジェクト構成定義ファイル。
6262
63+./checkstyle.xml
64+ Checkstyle用configファイル。
65+
66+./pmdrules.xml
67+ PMD用ルール定義ファイル。
68+
69+./src/assembly/src.xml
70+ ソースアーカイブ構成定義ファイル。
71+
6372 ./src/main/java/
6473 Javaのソースコード。
6574
@@ -69,17 +78,5 @@ java -jar jinarchiver-X.X.X.jar -land wolff -vid 1507 -outdir /tmp
6978 ./src/test/java/
7079 JUnit 4.* 用のユニットテストコード。
7180
72-./src/main/config/
73- 各種ビルド・構成管理に必要なファイル群。
74-
75-./src/main/config/checks.xml
76- Checkstyle用configファイル。
77-
78-./src/main/config/pmdrules.xml
79- PMD用ルール定義ファイル。
80-
81-./src/main/assembly/descriptor.xml
82- ソースアーカイブ構成定義ファイル。
83-
8481
8582 --- EOF ---
--- a/SCM.txt
+++ b/SCM.txt
@@ -10,10 +10,10 @@
1010
1111 このアーカイブの原本は、Mercurial(hg)でバージョン管理されています。
1212 このアーカイブの原本となる開発資産は、
13- https://osdn.jp/projects/jindolf/scm/hg/JinArchiver/
13+ https://ja.osdn.net/projects/jindolf/scm/hg/JinArchiver/
1414 を上位に持つMercurialリポジトリで管理されています。
1515 アーカイブの代わりにMercurialを通じての開発資産へのアクセスが可能です。
16- # hg clone http://hg.osdn.jp/view/jindolf/JinArchiver
16+ # hg clone http://hg.osdn.net/view/jindolf/JinArchiver
1717
1818
1919 === 各種設定ファイル ===
@@ -36,13 +36,13 @@ Mercurial の EOL Extension 用の設定です。
3636 EOL Extensionを有効にしないと設定が反映されません。
3737
3838
39-=== リンク ===
39+=== Mercurial に関するリンク ===
4040
4141 ・https://www.mercurial-scm.org/
4242 ・https://www.mercurial-scm.org/wiki/.hgignore
4343 ・https://www.selenic.com/mercurial/hgignore.5.html
4444 ・https://www.mercurial-scm.org/wiki/EolExtension
45-・http://tortoisehg.bitbucket.org/
45+・https://tortoisehg.bitbucket.io/
4646
4747
4848 --- EOF ---
--- a/src/main/config/suppressions.xml
+++ b/checkstyle-suppressions.xml
@@ -5,8 +5,8 @@
55 "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
66
77 <!--
8- Checkstyle用警告抑止設定
9- ※ SuppressionFilter モジュール用
8+ Checkstyle suppressions
9+ for Checkstyle 6.19(7.4) or later
1010
1111 [ http://checkstyle.sourceforge.net/ ]
1212
@@ -29,14 +29,14 @@
2929
3030 <!-- Javadoc Comments -->
3131 <suppress files="" checks="SummaryJavadocCheck" />
32- <!-- 句読点対応待ち -->
33- <suppress files="" checks="SingleLineJavadoc" />
34- <!-- ignoredTagsプロパティ対応待ち -->
3532
3633 <!-- Miscellaneous -->
3734 <suppress files="" checks="FinalParameters" />
3835 <suppress files="" checks="TrailingComment" />
3936
37+ <!-- Whitespace -->
38+ <suppress files="" checks="SingleSpaceSeparator" />
39+
4040 </suppressions>
4141
4242
--- a/src/main/config/checks.xml
+++ b/checkstyle.xml
@@ -5,9 +5,8 @@
55 "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
66
77 <!--
8- Checkstyle用チェック項目定義。
9-
10- Checkstyle 6.1 以降向けに記述。
8+ Checkstyle modules
9+ for Checkstyle 6.19(7.4) or later
1110
1211 [ http://checkstyle.sourceforge.net/ ]
1312
@@ -19,21 +18,25 @@
1918
2019 <property name="charset" value="UTF-8" />
2120 <property name="localeCountry" value="JP" />
22- <property name="localeLanguage" value="ja" />
21+ <property name="localeLanguage" value="en" />
22+ <!--property name="localeLanguage" value="ja" /-->
23+ <property name="fileExtensions" value="java, xml, properties" />
2324 <property name="severity" value="error" />
2425
2526
2627 <!-- Filters -->
2728 <module name="SeverityMatchFilter" />
2829 <module name="SuppressionCommentFilter" />
29- <module name="SuppressionFilter">
30- <property name="file" value="src/main/config/suppressions.xml" />
31- </module>
30+ <module name="SuppressionFilter" />
3231 <module name="SuppressWarningsFilter" />
3332 <module name="SuppressWithNearbyCommentFilter" />
3433
3534
3635 <!-- Headers -->
36+ <module name="Header">
37+ <property name="header" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;" />
38+ <property name="fileExtensions" value="xml" />
39+ </module>
3740 <module name="RegexpHeader">
3841 <property name="header" value="^/\*$\n^ \*( .*)?$\n^ \*/$\n" />
3942 <property name="multiLines" value="2" />
@@ -57,7 +60,7 @@
5760 <module name="RegexpMultiline">
5861 <property name="format" value="[\u000b\f\u001a]" />
5962 </module>
60-<!--<module name="RegexpOnFilename" /> 6.15 or later -->
63+ <module name="RegexpOnFilename" />
6164 <module name="RegexpSingleline">
6265 <property name="format" value="\s+$" />
6366 </module>
@@ -68,9 +71,7 @@
6871
6972
7073 <!-- Size Violations -->
71- <module name="FileLength">
72- <property name="max" value="2000"/>
73- </module>
74+ <module name="FileLength" />
7475
7576
7677 <!-- Whitespace -->
@@ -80,6 +81,7 @@
8081 <module name="TreeWalker">
8182
8283 <property name="tabWidth" value="8"/>
84+ <property name="fileExtensions" value="java"/>
8385
8486
8587 <!-- Annotations -->
@@ -94,12 +96,13 @@
9496
9597
9698 <!-- Block Checks -->
99+
97100 <module name="AvoidNestedBlocks" />
98101 <module name="EmptyBlock" />
99-<!-- <module name="EmptyCatchBlock" /> 6.4 or later -->
102+ <module name="EmptyCatchBlock" />
100103 <module name="LeftCurly" />
101104 <module name="NeedBraces">
102- <property name="tokens" value="LITERAL_DO" />
105+ <property name="allowSingleLineStatement" value="true" />
103106 </module>
104107 <module name="RightCurly" />
105108
@@ -113,9 +116,7 @@
113116 <module name="InterfaceIsType" />
114117 <module name="MutableException" />
115118 <module name="OneTopLevelClass" />
116- <module name="ThrowsCount">
117- <property name="max" value="4" />
118- </module>
119+ <module name="ThrowsCount" />
119120 <module name="VisibilityModifier" />
120121
121122
@@ -135,6 +136,7 @@
135136 <module name="HiddenField">
136137 <property name="ignoreConstructorParameter" value="true" />
137138 <property name="ignoreSetter" value="true" />
139+ <property name="setterCanReturnItsClass" value="true" />
138140 <property name="ignoreAbstractMethods" value="true" />
139141 </module>
140142 <module name="IllegalCatch" />
@@ -143,11 +145,7 @@
143145 <module name="IllegalToken">
144146 <property name="tokens" value="LITERAL_NATIVE" />
145147 </module>
146- <module name="IllegalTokenText">
147- <property name="tokens" value="NUM_INT, NUM_LONG" />
148- <property name="format" value="^0_*[0-7]" />
149- <property name="message" value="inhibit octal number" />
150- </module>
148+ <module name="IllegalTokenText" />
151149 <module name="IllegalType" />
152150 <module name="InnerAssignment" />
153151 <module name="MagicNumber" />
@@ -156,9 +154,6 @@
156154 <module name="ModifiedControlVariable" />
157155 <module name="MultipleStringLiterals" />
158156 <module name="MultipleVariableDeclarations" />
159- <module name="SimplifyBooleanExpression" />
160- <module name="SimplifyBooleanReturn" />
161- <module name="StringLiteralEquality" />
162157 <module name="NestedForDepth" />
163158 <module name="NestedIfDepth" />
164159 <module name="NestedTryDepth" />
@@ -169,20 +164,16 @@
169164 <module name="PackageDeclaration" />
170165 <module name="ParameterAssignment" />
171166 <module name="RequireThis">
172- <property name="checkMethods" value="false" />
173- </module>
174- <module name="ReturnCount">
175- <property name="max" value="5" />
167+ <!--property name="checkMethods" value="false" /-->
176168 </module>
169+ <module name="ReturnCount" />
177170 <module name="SimplifyBooleanExpression" />
178171 <module name="SimplifyBooleanReturn" />
179172 <module name="StringLiteralEquality" />
180173 <module name="SuperClone" />
181174 <module name="SuperFinalize" />
182175 <module name="UnnecessaryParentheses" />
183- <module name="VariableDeclarationUsageDistance">
184- <property name="allowedDistance" value="5" />
185- </module>
176+ <module name="VariableDeclarationUsageDistance" />
186177
187178
188179 <!-- Imports -->
@@ -239,7 +230,7 @@
239230 <property name="allowIfAllCharactersEscaped" value="true"/>
240231 <property name="allowNonPrintableEscapes" value="true"/>
241232 </module>
242-<!-- <module name="CommentsIndentation" /> 6.10 or later -->
233+ <module name="CommentsIndentation" />
243234 <module name="DescendantToken" />
244235 <module name="FileContentsHolder" />
245236 <module name="FinalParameters" />
@@ -264,34 +255,19 @@
264255 <!-- Naming Conventions -->
265256
266257 <module name="AbbreviationAsWordInName" />
267- <module name="AbstractClassName">
268- <property
269- name="format"
270- value="^Abstract.*$|^.*Factory$|^.*Builder$|^.*Adapter$"
271- />
272- </module>
273-<!-- <module name="CatchParameterName" /> 6.14 or later -->
258+ <module name="AbstractClassName" />
259+ <module name="CatchParameterName" />
274260 <module name="ClassTypeParameterName" />
275261 <module name="ConstantName" />
276262 <module name="InterfaceTypeParameterName" />
277- <module name="LocalFinalVariableName">
278- <property name="format" value="^[a-z][_a-zA-Z0-9]*$" />
279- </module>
280- <module name="LocalVariableName">
281- <property name="format" value="^[a-z][_a-zA-Z0-9]*$" />
282- </module>
283- <module name="MemberName">
284- <property name="format" value="^[a-z][_a-zA-Z0-9]*$" />
285- </module>
263+ <module name="LocalFinalVariableName" />
264+ <module name="LocalVariableName" />
265+ <module name="MemberName" />
286266 <module name="MethodName" />
287267 <module name="MethodTypeParameterName" />
288268 <module name="PackageName" />
289- <module name="ParameterName">
290- <property name="format" value="^[a-z][_a-zA-Z0-9]*$" />
291- </module>
292- <module name="StaticVariableName">
293- <property name="format" value="^[a-z][_a-zA-Z0-9]*$" />
294- </module>
269+ <module name="ParameterName" />
270+ <module name="StaticVariableName" />
295271 <module name="TypeName" />
296272
297273
@@ -361,32 +337,7 @@
361337 <property name="allowLineBreaks" value="false" />
362338 <property name="tokens" value="COMMA, POST_INC, POST_DEC" />
363339 </module>
364- <module name="NoWhitespaceBefore">
365- <property name="allowLineBreaks" value="true" />
366- <property name="tokens" value="SEMI" />
367- </module>
368- <module name="OperatorWrap">
369- <property name="option" value="eol" />
370- <property
371- name="tokens"
372- value="ASSIGN,
373- BAND_ASSIGN, BOR_ASSIGN, BXOR_ASSIGN,
374- PLUS_ASSIGN, MINUS_ASSIGN,
375- STAR_ASSIGN, DIV_ASSIGN, MOD_ASSIGN,
376- SL_ASSIGN, SR_ASSIGN, BSR_ASSIGN"
377- />
378- </module>
379- <module name="OperatorWrap">
380- <property name="option" value="nl" />
381- <property
382- name="tokens"
383- value="QUESTION,
384- BAND, BOR, BXOR,
385- PLUS, MINUS, STAR, DIV, MOD,
386- LAND, LOR,
387- EQUAL, NOT_EQUAL"
388- />
389- </module>
340+ <module name="OperatorWrap" />
390341 <module name="ParenPad">
391342 <property name="option" value="nospace" />
392343 <property
@@ -398,8 +349,11 @@
398349 <property name="tokens" value="DOT" />
399350 <property name="option" value="nl" />
400351 </module>
352+ <module name="SingleSpaceSeparator" />
401353 <module name="TypecastParenPad" />
402- <module name="WhitespaceAfter" />
354+ <module name="WhitespaceAfter" >
355+ <property name="tokens" value="COMMA, SEMI,"/>
356+ </module>
403357 <module name="WhitespaceAround">
404358 <property
405359 name="tokens"
@@ -420,6 +374,7 @@
420374
421375 </module>
422376
377+
423378 </module>
424379
425380 <!-- EOF -->
--- a/src/main/config/pmdrules.xml
+++ b/pmdrules.xml
@@ -1,9 +1,8 @@
11 <?xml version="1.0" encoding="UTF-8" ?>
22
33 <!--
4- PMD用ルールセット定義
5-
6- PMD [ https://pmd.github.io/ ] 5.3 以降用に記述されています。
4+ Custom rule set
5+ for PMD [ https://pmd.github.io/ ] 5.5.2 or later
76
87 Copyright(c) 2016 olyutorskii
98 -->
@@ -17,12 +16,10 @@
1716 >
1817
1918 <description>
20- custom rulesets for project
19+ custom rulesets
2120 </description>
2221
23-<!--
2422 <rule ref="rulesets/java/android.xml" />
25--->
2623
2724 <rule ref="rulesets/java/basic.xml" />
2825
@@ -33,18 +30,10 @@
3330
3431 <rule ref="rulesets/java/clone.xml" />
3532
36- <rule ref="rulesets/java/codesize.xml">
37- <exclude name="TooManyMethods" />
38- </rule>
39- <rule ref="rulesets/java/codesize.xml/TooManyMethods">
40- <properties>
41- <property name="maxmethods" value="25"/>
42- </properties>
43- </rule>
33+ <rule ref="rulesets/java/codesize.xml" />
4434
4535 <rule ref="rulesets/java/comments.xml">
46- <exclude name="CommentRequired" />
47- <exclude name="CommentSize" />
36+ <exclude name="CommentDefaultAccessModifier" />
4837 </rule>
4938 <rule ref="rulesets/java/comments.xml/CommentRequired" >
5039 <properties>
@@ -58,13 +47,10 @@
5847 </rule>
5948
6049 <rule ref="rulesets/java/controversial.xml">
61- <exclude name="NullAssignment" />
62- <exclude name="OnlyOneReturn" />
6350 <exclude name="DefaultPackage" />
51+ <exclude name="OnlyOneReturn" />
6452 <exclude name="DataflowAnomalyAnalysis" />
65- <exclude name="AvoidUsingShortType" />
6653 <exclude name="AvoidLiteralsInIfCondition" />
67- <exclude name="UseConcurrentHashMap" />
6854 </rule>
6955
7056 <rule ref="rulesets/java/coupling.xml">
@@ -73,8 +59,6 @@
7359 </rule>
7460
7561 <rule ref="rulesets/java/design.xml">
76- <exclude name="SimplifyBooleanReturns" />
77- <exclude name="ConfusingTernary" />
7862 <exclude name="UnnecessaryLocalBeforeReturn" />
7963 <exclude name="FieldDeclarationsShouldBeAtStartOfClass" />
8064 </rule>
@@ -85,33 +69,25 @@
8569
8670 <rule ref="rulesets/java/imports.xml" />
8771
88-<!--
89- <rule ref="rulesets/java/j2ee.xml" />
90- <rule ref="rulesets/java/javabeans.xml" />
91--->
92-
93- <rule ref="rulesets/java/junit.xml" />
72+ <rule ref="rulesets/java/j2ee.xml">
73+ <exclude name="DoNotUseThreads" />
74+ </rule>
9475
95-<!--
9676 <rule ref="rulesets/java/logging-jakarta-commons.xml" />
97--->
77+
78+ <rule ref="rulesets/java/javabeans.xml">
79+ <exclude name="BeanMembersShouldSerialize" />
80+ </rule>
9881
9982 <rule ref="rulesets/java/logging-java.xml" />
10083
84+ <rule ref="rulesets/java/junit.xml" />
85+
10186 <rule ref="rulesets/java/migrating.xml" />
102-<!--
103- <rule ref="rulesets/java/migrating_to_XX.xml" />
104--->
10587
10688 <rule ref="rulesets/java/naming.xml">
10789 <exclude name="ShortVariable" />
10890 <exclude name="LongVariable" />
109- <exclude name="AvoidFieldNameMatchingMethodName" />
110- </rule>
111- <rule ref="rulesets/java/naming.xml/LongVariable">
112- <properties>
113- <property name="minimum" value="25"/>
114- </properties>
11591 </rule>
11692
11793 <rule ref="rulesets/java/optimizations.xml">
@@ -120,11 +96,11 @@
12096 <exclude name="RedundantFieldInitializer" />
12197 </rule>
12298
123- <rule ref="rulesets/java/strictexception.xml">
124- <exclude name="AvoidThrowingNullPointerException" />
125- </rule>
99+ <rule ref="rulesets/java/strictexception.xml" />
126100
127- <rule ref="rulesets/java/strings.xml" />
101+ <rule ref="rulesets/java/strings.xml">
102+ <exclude name="ConsecutiveAppendsShouldReuse" />
103+ </rule>
128104
129105 <rule ref="rulesets/java/sunsecure.xml" />
130106
@@ -132,7 +108,6 @@
132108
133109 <rule ref="rulesets/java/unnecessary.xml">
134110 <exclude name="UnnecessaryReturn" />
135- <exclude name="UselessParentheses" />
136111 </rule>
137112
138113 <rule ref="rulesets/java/unusedcode.xml" />
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
88 xmlns="http://maven.apache.org/POM/4.0.0"
99 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
11- http://maven.apache.org/maven-v4_0_0.xsd"
11+ http://maven.apache.org/xsd/maven-4.0.0.xsd"
1212 >
1313 <modelVersion>4.0.0</modelVersion>
1414 <!--parent/-->
@@ -16,7 +16,7 @@
1616 <groupId>jp.sourceforge.jindolf</groupId>
1717 <artifactId>jinarchiver</artifactId>
1818
19- <version>1.503.3-SNAPSHOT</version>
19+ <version>1.503.4</version>
2020
2121 <packaging>jar</packaging>
2222 <name>JinArchiver</name>
@@ -26,18 +26,18 @@
2626 -->保存するためのツールです。<!--
2727 --></description>
2828
29- <url>https://osdn.jp/projects/jindolf/devel/</url>
29+ <url>https://ja.osdn.net/projects/jindolf/devel/</url>
3030 <inceptionYear>2009</inceptionYear>
3131
3232 <organization>
3333 <name>Jindolf Partners</name>
34- <url>https://osdn.jp/projects/jindolf/devel/</url>
34+ <url>https://ja.osdn.net/projects/jindolf/devel/</url>
3535 </organization>
3636
3737 <licenses>
3838 <license>
3939 <name>The MIT License</name>
40- <url>https://opensource.org/licenses/mit-license.php</url>
40+ <url>https://opensource.org/licenses/MIT</url>
4141 <distribution>manual</distribution>
4242 </license>
4343 </licenses>
@@ -47,7 +47,7 @@
4747 <id>olyutorskii</id>
4848 <url>https://sites.google.com/site/olyutorskiipit/</url>
4949 <organization>Jindolf Partners</organization>
50- <organizationUrl>https://osdn.jp/projects/jindolf/devel/</organizationUrl>
50+ <organizationUrl>https://ja.osdn.net/projects/jindolf/devel/</organizationUrl>
5151 <roles>
5252 <role>Project Founder</role>
5353 <role>Java Developer</role>
@@ -59,42 +59,56 @@
5959 <mailingLists/>
6060
6161 <prerequisites>
62- <maven>3.3</maven>
62+ <maven>3.0.1</maven>
6363 </prerequisites>
6464
6565 <modules/>
6666
6767 <scm>
68- <connection>scm:hg:http://hg.osdn.jp/view/jindolf/JinArchiver</connection>
69- <developerConnection>scm:hg:ssh://hg.osdn.jp//hgroot/jindolf/JinArchiver</developerConnection>
70- <url>https://osdn.jp/projects/jindolf/scm/hg/JinArchiver/</url>
68+ <connection>scm:hg:http://hg.osdn.net/view/jindolf/JinArchiver</connection>
69+ <developerConnection>scm:hg:ssh://hg.osdn.net//hgroot/jindolf/JinArchiver</developerConnection>
70+ <url>https://osdn.net/projects/jindolf/scm/hg/JinArchiver/</url>
7171 </scm>
7272
7373 <issueManagement>
74- <system>OSDN.JP</system>
75- <url>https://osdn.jp/projects/jindolf/ticket/</url>
74+ <system>OSDN.NET</system>
75+ <url>https://ja.osdn.net/projects/jindolf/ticket/</url>
7676 </issueManagement>
7777
7878 <ciManagement/>
7979 <distributionManagement/>
8080
8181 <properties>
82- <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
83-
8482 <maven.compiler.source>1.7</maven.compiler.source>
8583 <maven.compiler.target>1.7</maven.compiler.target>
8684
8785 <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
8886 <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
8987
88+ <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
9089 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9190 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
9291
93- <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
92+ <site.locales>en</site.locales>
93+ <javadoc.locale>en</javadoc.locale>
94+ <findbugs.jvmArgs>-Duser.language=en</findbugs.jvmArgs>
9495
95- <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
96+ <jacoco-plugin.version>0.7.9</jacoco-plugin.version>
97+
98+ <checkstyle-plugin.version>2.17</checkstyle-plugin.version>
99+ <checkstyleruntime.version>6.19</checkstyleruntime.version>
100+ <checkstyle.config.location>${project.basedir}/checkstyle.xml</checkstyle.config.location>
101+ <checkstyle.suppressions.location>${project.basedir}/checkstyle-suppressions.xml</checkstyle.suppressions.location>
96102 <checkstyle.enable.rss>false</checkstyle.enable.rss>
97103
104+ <pmd-plugin.version>3.7</pmd-plugin.version>
105+
106+ <findbugs-plugin.version>3.0.4</findbugs-plugin.version>
107+ <findbugs.effort>Max</findbugs.effort>
108+ <findbugs.threshold>Low</findbugs.threshold>
109+ <!-- for Jenkins -->
110+ <findbugs.xmlOutput>true</findbugs.xmlOutput>
111+
98112 <project.mainentry>jp.sourceforge.jindolf.archiver.JinArchiver</project.mainentry>
99113
100114 </properties>
@@ -113,7 +127,7 @@
113127 <dependency>
114128 <groupId>jp.sourceforge.jindolf</groupId>
115129 <artifactId>jinparser</artifactId>
116- <version>1.409.2</version>
130+ <version>1.409.4</version>
117131 <scope>compile</scope>
118132 </dependency>
119133
@@ -123,31 +137,33 @@
123137 <pluginRepositories/>
124138
125139 <build>
126- <pluginManagement/>
140+
141+ <pluginManagement>
142+
143+ <plugins>
144+
145+ <plugin>
146+ <groupId>org.apache.maven.plugins</groupId>
147+ <artifactId>maven-checkstyle-plugin</artifactId>
148+ <version>${checkstyle-plugin.version}</version>
149+ <dependencies>
150+ <dependency>
151+ <groupId>com.puppycrawl.tools</groupId>
152+ <artifactId>checkstyle</artifactId>
153+ <!--artifactId>checkstyle-backport-jre6</artifactId-->
154+ <version>${checkstyleruntime.version}</version>
155+ </dependency>
156+ </dependencies>
157+ </plugin>
158+
159+ </plugins>
160+
161+ </pluginManagement>
127162
128163 <plugins>
129164
130- <plugin>
131- <groupId>org.apache.maven.plugins</groupId>
132- <artifactId>maven-enforcer-plugin</artifactId>
133- <version>1.4.1</version>
134- <configuration>
135- <rules>
136- <requireMavenVersion>
137- <version>[3.3,)</version>
138- </requireMavenVersion>
139- <requireJavaVersion>
140- <version>[1.7,)</version>
141- </requireJavaVersion>
142- </rules>
143- </configuration>
144- </plugin>
145165
146- <plugin>
147- <groupId>org.apache.maven.plugins</groupId>
148- <artifactId>maven-install-plugin</artifactId>
149- <version>2.5.2</version>
150- </plugin>
166+ <!-- clean lifecycle -->
151167
152168 <plugin>
153169 <groupId>org.apache.maven.plugins</groupId>
@@ -158,42 +174,122 @@
158174 <fileset>
159175 <directory>${project.basedir}</directory>
160176 <includes>
161- <include>**/.DS_Store</include>
162- <include>**/_MACOSX</include>
177+ <include>**/*~</include>
178+ <include>**/*.swp</include>
179+ <include>**/*.DS_Store</include>
180+ <include>**/._*</include>
181+ <include>**/__MACOSX</include>
163182 <include>**/Thumbs.db</include>
164- <include>**/thumbs.db</include>
165- <include>**/Desktop.ini</include>
166183 <include>**/desktop.ini</include>
167184 <include>**/core</include>
185+ <include>**/hs_err_pid*</include>
168186 </includes>
169187 </fileset>
170188 </filesets>
171189 </configuration>
172190 </plugin>
173191
192+
193+ <!-- default lifecycle -->
194+
195+ <plugin>
196+ <groupId>org.apache.maven.plugins</groupId>
197+ <artifactId>maven-enforcer-plugin</artifactId>
198+ <version>1.4.1</version>
199+ <configuration>
200+ <rules>
201+ <requireMavenVersion>
202+ <version>[3.0.1,)</version>
203+ </requireMavenVersion>
204+ <requireJavaVersion>
205+ <version>[1.7,)</version>
206+ </requireJavaVersion>
207+ </rules>
208+ </configuration>
209+ </plugin>
210+
211+ <plugin>
212+ <groupId>org.apache.maven.plugins</groupId>
213+ <artifactId>maven-resources-plugin</artifactId>
214+ <version>3.0.2</version>
215+ </plugin>
216+
174217 <plugin>
175218 <groupId>org.apache.maven.plugins</groupId>
176219 <artifactId>maven-compiler-plugin</artifactId>
177- <version>3.5.1</version>
220+ <version>3.6.1</version>
178221 <configuration>
179222 <source>1.7</source> <!-- for NetBeans IDE -->
180223 <target>1.7</target>
181- <showDeprecation>true</showDeprecation>
182- <showWarnings>true</showWarnings>
183224 <compilerArguments>
184225 <Xlint/>
185226 </compilerArguments>
227+ <showWarnings>true</showWarnings>
228+ <showDeprecation>true</showDeprecation>
229+ </configuration>
230+ </plugin>
231+
232+ <plugin>
233+ <groupId>org.apache.maven.plugins</groupId>
234+ <artifactId>maven-surefire-plugin</artifactId>
235+ <version>2.19.1</version>
236+ <configuration>
237+ <enableAssertions>true</enableAssertions>
186238 </configuration>
187239 </plugin>
188240
189241 <plugin>
242+ <groupId>org.jacoco</groupId>
243+ <artifactId>jacoco-maven-plugin</artifactId>
244+ <version>${jacoco-plugin.version}</version>
245+ <executions>
246+ <execution>
247+ <id>default-prepare-agent</id>
248+ <goals>
249+ <goal>prepare-agent</goal>
250+ </goals>
251+ </execution>
252+ <execution>
253+ <id>default-report</id>
254+ <phase>prepare-package</phase>
255+ <goals>
256+ <goal>report</goal>
257+ </goals>
258+ </execution>
259+ <execution>
260+ <id>default-check</id>
261+ <goals>
262+ <goal>check</goal>
263+ </goals>
264+ <configuration>
265+ <rules>
266+ <rule implementation="org.jacoco.maven.RuleConfiguration">
267+ <element>BUNDLE</element>
268+ <limits>
269+ <limit implementation="org.jacoco.report.check.Limit">
270+ <counter>COMPLEXITY</counter>
271+ <value>COVEREDRATIO</value>
272+ <minimum>0.0</minimum>
273+ </limit>
274+ </limits>
275+ </rule>
276+ </rules>
277+ </configuration>
278+ </execution>
279+ </executions>
280+ </plugin>
281+
282+ <plugin>
190283 <groupId>org.apache.maven.plugins</groupId>
191284 <artifactId>maven-jar-plugin</artifactId>
192- <version>3.0.0</version>
285+ <version>3.0.2</version>
193286 <configuration>
194287 <archive>
195288 <manifest>
196289 <mainClass>${project.mainentry}</mainClass>
290+ <addDefaultImplementationEntries>
291+ false
292+ </addDefaultImplementationEntries>
197293 </manifest>
198294 <manifestEntries>
199295 <Built-By>${project.organization.name}</Built-By>
@@ -205,7 +301,7 @@
205301 <plugin>
206302 <groupId>org.apache.maven.plugins</groupId>
207303 <artifactId>maven-shade-plugin</artifactId>
208- <version>2.4.3</version>
304+ <version>3.0.0</version>
209305 <executions>
210306 <execution>
211307 <phase>package</phase>
@@ -214,15 +310,6 @@
214310 </goals>
215311 <configuration>
216312 <createDependencyReducedPom>false</createDependencyReducedPom>
217- <artifactSet>
218- <includes>
219- <include>jp.sourceforge.jindolf:jincore</include>
220- <include>jp.sourceforge.jindolf:jinparser</include>
221- </includes>
222- <excludes>
223- <exclude>junit:junit</exclude>
224- </excludes>
225- </artifactSet>
226313 </configuration>
227314 </execution>
228315 </executions>
@@ -230,20 +317,8 @@
230317
231318 <plugin>
232319 <groupId>org.apache.maven.plugins</groupId>
233- <artifactId>maven-assembly-plugin</artifactId>
234- <version>2.6</version>
235- <configuration>
236- <archiveBaseDirectory>.</archiveBaseDirectory>
237- <descriptors>
238- <descriptor>src/main/assembly/descriptor.xml</descriptor>
239- </descriptors>
240- </configuration>
241- </plugin>
242-
243- <plugin>
244- <groupId>org.apache.maven.plugins</groupId>
245320 <artifactId>maven-source-plugin</artifactId>
246- <version>3.0.0</version>
321+ <version>3.0.1</version>
247322 <configuration>
248323 <includePom>true</includePom>
249324 <archive>
@@ -265,76 +340,46 @@
265340
266341 <plugin>
267342 <groupId>org.apache.maven.plugins</groupId>
268- <artifactId>maven-resources-plugin</artifactId>
269- <version>3.0.0</version>
343+ <artifactId>maven-install-plugin</artifactId>
344+ <version>2.5.2</version>
270345 </plugin>
271346
272347 <plugin>
273348 <groupId>org.apache.maven.plugins</groupId>
274- <artifactId>maven-surefire-plugin</artifactId>
275- <version>2.19.1</version>
276- <configuration>
277- <skipTests>false</skipTests>
278- <enableAssertions>true</enableAssertions>
279- </configuration>
349+ <artifactId>maven-deploy-plugin</artifactId>
350+ <version>2.8.2</version>
280351 </plugin>
281352
282- <plugin>
283- <groupId>org.apache.maven.plugins</groupId>
284- <artifactId>maven-site-plugin</artifactId>
285- <version>3.5.1</version>
286- <configuration>
287- <generateReports>true</generateReports>
288- <locales>ja</locales>
289- <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
290- <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
291- </configuration>
292- </plugin>
293353
294- <plugin>
295- <groupId>org.apache.maven.plugins</groupId>
296- <artifactId>maven-checkstyle-plugin</artifactId>
297- <version>2.15</version>
298- <!-- config from property value -->
299- </plugin>
354+ <!-- site lifecycle -->
300355
301356 <plugin>
302357 <groupId>org.apache.maven.plugins</groupId>
303- <artifactId>maven-pmd-plugin</artifactId>
358+ <artifactId>maven-site-plugin</artifactId>
304359 <version>3.6</version>
305360 <configuration>
306- <targetJdk>${maven.compiler.target}</targetJdk>
307- <rulesets>
308- <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
309- </rulesets>
361+ <locales>${site.locales}</locales>
310362 </configuration>
311363 </plugin>
312364
365+
366+ <!-- goals without lifecycle -->
367+
313368 <plugin>
314- <groupId>org.codehaus.mojo</groupId>
315- <artifactId>findbugs-maven-plugin</artifactId>
316- <version>3.0.3</version>
369+ <groupId>org.apache.maven.plugins</groupId>
370+ <artifactId>maven-assembly-plugin</artifactId>
371+ <version>3.0.0</version>
317372 <configuration>
318- <effort>Max</effort>
319- <threshold>Low</threshold>
320- <!-- for Jenkins -->
321- <findbugsXmlOutput>true</findbugsXmlOutput>
322- <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
323- <xmlOutput>true</xmlOutput>
373+ <descriptors>
374+ <descriptor>src/assembly/src.xml</descriptor>
375+ </descriptors>
324376 </configuration>
325377 </plugin>
326378
327379 <plugin>
328- <groupId>org.codehaus.mojo</groupId>
329- <artifactId>cobertura-maven-plugin</artifactId>
330- <version>2.7</version>
331- <configuration>
332- <encoding>${project.build.sourceEncoding}</encoding>
333- <formats>
334- <format>html</format>
335- <format>xml</format> <!-- for Jenkins -->
336- </formats>
337- </configuration>
380+ <groupId>org.apache.maven.plugins</groupId>
381+ <artifactId>maven-checkstyle-plugin</artifactId>
382+ <version>${checkstyle-plugin.version}</version>
338383 </plugin>
339384
340385 </plugins>
@@ -373,7 +418,7 @@
373418 <exclude>**/version.properties</exclude>
374419
375420 <exclude>**/.DS_Store</exclude>
376- <exclude>**/_MACOSX</exclude>
421+ <exclude>**/__MACOSX</exclude>
377422 <exclude>**/Thumbs.db</exclude>
378423 <exclude>**/thumbs.db</exclude>
379424 <exclude>**/Desktop.ini</exclude>
@@ -404,19 +449,20 @@
404449 <report>index</report>
405450 <report>summary</report>
406451 <report>license</report>
452+ <report>dependency-info</report>
407453 <report>dependencies</report>
454+ <report>dependency-convergence</report>
408455 <report>plugins</report>
409- <report>scm</report>
456+ <report>plugin-management</report>
410457 <report>project-team</report>
458+ <report>issue-tracking</report>
459+ <report>scm</report>
411460 <!--
412- <report>dependency-convergence</report>
413- <report>dependency-info</report>
414461 <report>dependency-management</report>
415462 <report>distribution-management</report>
416- <report>issue-tracking</report>
463+ <report>cim</report>
417464 <report>mailing-list</report>
418465 <report>modules</report>
419- <report>plugin-management</report>
420466 -->
421467 </reports>
422468 </reportSet>
@@ -426,12 +472,15 @@
426472 <plugin>
427473 <groupId>org.apache.maven.plugins</groupId>
428474 <artifactId>maven-javadoc-plugin</artifactId>
429- <version>2.10.3</version>
475+ <version>2.10.4</version>
430476 <configuration>
431- <skip>false</skip>
477+ <author>false</author>
432478 <notimestamp>true</notimestamp>
433479 <quiet>true</quiet>
434480 <show>protected</show>
481+ <locale>${javadoc.locale}</locale>
482+ <header>${project.name} ${project.version} API</header>
483+ <version>true</version>
435484 </configuration>
436485 <reportSets>
437486 <reportSet>
@@ -446,48 +495,31 @@
446495 <groupId>org.apache.maven.plugins</groupId>
447496 <artifactId>maven-jxr-plugin</artifactId>
448497 <version>2.5</version>
449- <configuration>
450- <skip>false</skip>
451- </configuration>
452498 </plugin>
453499
454500 <plugin>
455501 <groupId>org.apache.maven.plugins</groupId>
456502 <artifactId>maven-surefire-report-plugin</artifactId>
457503 <version>2.19.1</version>
458- <configuration>
459- <showSuccess>false</showSuccess>
460- </configuration>
504+ </plugin>
505+
506+ <plugin>
507+ <groupId>org.jacoco</groupId>
508+ <artifactId>jacoco-maven-plugin</artifactId>
509+ <version>${jacoco-plugin.version}</version>
461510 <reportSets>
462511 <reportSet>
463512 <reports>
464- <report>report-only</report>
513+ <report>report</report>
465514 </reports>
466515 </reportSet>
467516 </reportSets>
468517 </plugin>
469518
470519 <plugin>
471- <groupId>org.codehaus.mojo</groupId>
472- <artifactId>cobertura-maven-plugin</artifactId>
473- <version>2.7</version>
474- <configuration>
475- <encoding>${project.build.sourceEncoding}</encoding>
476- <formats>
477- <format>html</format>
478- <format>xml</format> <!-- for Jenkins -->
479- </formats>
480- </configuration>
481- </plugin>
482-
483- <plugin>
484520 <groupId>org.apache.maven.plugins</groupId>
485521 <artifactId>maven-checkstyle-plugin</artifactId>
486- <version>2.15</version>
487- <configuration>
488- <skip>false</skip>
489- <!-- config from property value -->
490- </configuration>
522+ <version>${checkstyle-plugin.version}</version>
491523 <reportSets>
492524 <reportSet>
493525 <reports>
@@ -500,12 +532,10 @@
500532 <plugin>
501533 <groupId>org.apache.maven.plugins</groupId>
502534 <artifactId>maven-pmd-plugin</artifactId>
503- <version>3.6</version>
535+ <version>${pmd-plugin.version}</version>
504536 <configuration>
505- <skip>false</skip>
506- <targetJdk>${maven.compiler.target}</targetJdk>
507537 <rulesets>
508- <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
538+ <ruleset>${project.basedir}/pmdrules.xml</ruleset>
509539 </rulesets>
510540 </configuration>
511541 <reportSets>
@@ -521,29 +551,7 @@
521551 <plugin>
522552 <groupId>org.codehaus.mojo</groupId>
523553 <artifactId>findbugs-maven-plugin</artifactId>
524- <version>3.0.3</version>
525- <configuration>
526- <skip>false</skip>
527- <effort>Max</effort>
528- <threshold>Low</threshold>
529- <!-- for Jenkins -->
530- <findbugsXmlOutput>true</findbugsXmlOutput>
531- <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
532- <xmlOutput>true</xmlOutput>
533- <!-- excludeFilterFile/ -->
534- </configuration>
535- </plugin>
536-
537- <plugin>
538- <groupId>org.codehaus.mojo</groupId>
539- <artifactId>javancss-maven-plugin</artifactId>
540- <version>2.1</version>
541- </plugin>
542-
543- <plugin>
544- <groupId>org.codehaus.mojo</groupId>
545- <artifactId>jdepend-maven-plugin</artifactId>
546- <version>2.0</version>
554+ <version>${findbugs-plugin.version}</version>
547555 </plugin>
548556
549557 </plugins>
--- a/src/main/assembly/descriptor.xml
+++ b/src/assembly/src.xml
@@ -1,15 +1,15 @@
11 <?xml version="1.0" encoding="UTF-8" ?>
22
33 <assembly
4- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
4+ xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
55 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3
7- http://maven.apache.org/xsd/assembly-1.1.3.xsd"
6+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0
7+ http://maven.apache.org/xsd/assembly-2.0.0.xsd"
88 >
99
1010 <!--
11- OSDN.JP用リリースファイル構成定義ファイル
12- Maven2(or3) assembly用
11+ OSDN.NET用リリースファイル構成定義ファイル
12+ Maven3 assembly用
1313 -->
1414
1515 <id>src</id>
@@ -20,10 +20,9 @@
2020
2121 <fileSets>
2222 <fileSet>
23- <directory>.</directory>
23+ <directory>${project.basedir}</directory>
2424 <includes>
25- <include>pom.xml</include>
26- <include>fixcrlf.xml</include>
25+ <include>*.xml</include>
2726 <include>*.txt</include>
2827 </includes>
2928 <excludes>
@@ -33,7 +32,7 @@
3332 <useDefaultExcludes>true</useDefaultExcludes>
3433 </fileSet>
3534 <fileSet>
36- <directory>src/</directory>
35+ <directory>${project.basedir}/src</directory>
3736 <useDefaultExcludes>true</useDefaultExcludes>
3837 </fileSet>
3938 </fileSets>
Show on old repository browser