• R/O
  • SSH

JinArchiver: Commit

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


Commit MetaInfo

Revisionc16348cc4c659185bd549af513f95b68ab8f824a (tree)
Time2017-04-10 23:26:10
Author <olyutorskii@user...>

Log Message

merge release/1.503.4

Change Summary

Incremental Difference

diff -r 919f6ca3eeef -r c16348cc4c65 .hgignore
--- a/.hgignore Tue Jul 05 00:41:04 2016 +0900
+++ b/.hgignore Mon Apr 10 23:26:10 2017 +0900
@@ -27,7 +27,7 @@
2727 syntax: glob
2828
2929 .DS_Store
30-_MACOSX
30+__MACOSX
3131 [Tt]humbs.db
3232 [Dd]esktop.ini
3333 core
diff -r 919f6ca3eeef -r c16348cc4c65 CHANGELOG.txt
--- a/CHANGELOG.txt Tue Jul 05 00:41:04 2016 +0900
+++ b/CHANGELOG.txt Mon Apr 10 23:26:10 2017 +0900
@@ -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プラグイン更新。
diff -r 919f6ca3eeef -r c16348cc4c65 README.txt
--- a/README.txt Tue Jul 05 00:41:04 2016 +0900
+++ b/README.txt Mon Apr 10 23:26:10 2017 +0900
@@ -38,7 +38,7 @@
3838
3939 === 開発プロジェクト運営元 ===
4040
41- https://osdn.jp/projects/jindolf/ まで。
41+ https://ja.osdn.net/projects/jindolf/ まで。
4242
4343
4444 === ディレクトリ内訳構成 ===
@@ -60,6 +60,15 @@
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 @@
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 ---
diff -r 919f6ca3eeef -r c16348cc4c65 SCM.txt
--- a/SCM.txt Tue Jul 05 00:41:04 2016 +0900
+++ b/SCM.txt Mon Apr 10 23:26:10 2017 +0900
@@ -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 @@
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 ---
diff -r 919f6ca3eeef -r c16348cc4c65 checkstyle-suppressions.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/checkstyle-suppressions.xml Mon Apr 10 23:26:10 2017 +0900
@@ -0,0 +1,43 @@
1+<?xml version="1.0" encoding="UTF-8" ?>
2+
3+<!DOCTYPE suppressions PUBLIC
4+ "-//Puppy Crawl//DTD Suppressions 1.1//EN"
5+ "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
6+
7+<!--
8+ Checkstyle suppressions
9+ for Checkstyle 6.19(7.4) or later
10+
11+ [ http://checkstyle.sourceforge.net/ ]
12+
13+ Copyright(c) 2010 olyutorskii
14+-->
15+
16+
17+<suppressions>
18+
19+ <!-- Class Design -->
20+ <suppress files="" checks="DesignForExtension" />
21+
22+ <!-- Coding -->
23+ <suppress files="" checks="ExplicitInitialization" />
24+ <suppress files="" checks="FinalLocalVariable" />
25+ <suppress files="" checks="MagicNumber" />
26+
27+ <!-- Imports -->
28+ <suppress files="" checks="ImportControl" />
29+
30+ <!-- Javadoc Comments -->
31+ <suppress files="" checks="SummaryJavadocCheck" />
32+
33+ <!-- Miscellaneous -->
34+ <suppress files="" checks="FinalParameters" />
35+ <suppress files="" checks="TrailingComment" />
36+
37+ <!-- Whitespace -->
38+ <suppress files="" checks="SingleSpaceSeparator" />
39+
40+</suppressions>
41+
42+
43+<!-- EOF -->
diff -r 919f6ca3eeef -r c16348cc4c65 checkstyle.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/checkstyle.xml Mon Apr 10 23:26:10 2017 +0900
@@ -0,0 +1,380 @@
1+<?xml version="1.0" encoding="UTF-8" ?>
2+
3+<!DOCTYPE module PUBLIC
4+ "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
5+ "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
6+
7+<!--
8+ Checkstyle modules
9+ for Checkstyle 6.19(7.4) or later
10+
11+ [ http://checkstyle.sourceforge.net/ ]
12+
13+ Copyright(c) 2010 olyutorskii
14+-->
15+
16+
17+<module name="Checker">
18+
19+ <property name="charset" value="UTF-8" />
20+ <property name="localeCountry" value="JP" />
21+ <property name="localeLanguage" value="en" />
22+ <!--property name="localeLanguage" value="ja" /-->
23+ <property name="fileExtensions" value="java, xml, properties" />
24+ <property name="severity" value="error" />
25+
26+
27+ <!-- Filters -->
28+ <module name="SeverityMatchFilter" />
29+ <module name="SuppressionCommentFilter" />
30+ <module name="SuppressionFilter" />
31+ <module name="SuppressWarningsFilter" />
32+ <module name="SuppressWithNearbyCommentFilter" />
33+
34+
35+ <!-- 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>
40+ <module name="RegexpHeader">
41+ <property name="header" value="^/\*$\n^ \*( .*)?$\n^ \*/$\n" />
42+ <property name="multiLines" value="2" />
43+ <property name="fileExtensions" value="java" />
44+ </module>
45+
46+
47+ <!-- Javadoc Comments -->
48+ <module name="JavadocPackage" />
49+
50+
51+ <!-- Miscellaneous -->
52+ <module name="NewlineAtEndOfFile">
53+ <property name="fileExtensions" value="java" />
54+ </module>
55+ <module name="Translation" />
56+ <module name="UniqueProperties" />
57+
58+
59+ <!-- Regexp -->
60+ <module name="RegexpMultiline">
61+ <property name="format" value="[\u000b\f\u001a]" />
62+ </module>
63+ <module name="RegexpOnFilename" />
64+ <module name="RegexpSingleline">
65+ <property name="format" value="\s+$" />
66+ </module>
67+ <module name="RegexpSingleline">
68+ <!-- scm conflict -->
69+ <property name="format" value="&lt;&lt;&lt;&lt;&lt;" />
70+ </module>
71+
72+
73+ <!-- Size Violations -->
74+ <module name="FileLength" />
75+
76+
77+ <!-- Whitespace -->
78+ <module name="FileTabCharacter" />
79+
80+
81+ <module name="TreeWalker">
82+
83+ <property name="tabWidth" value="8"/>
84+ <property name="fileExtensions" value="java"/>
85+
86+
87+ <!-- Annotations -->
88+
89+ <module name="AnnotationLocation" />
90+ <module name="AnnotationUseStyle" />
91+ <module name="MissingDeprecated" />
92+ <module name="MissingOverride" />
93+ <module name="PackageAnnotation" />
94+ <module name="SuppressWarnings" />
95+ <module name="SuppressWarningsHolder" />
96+
97+
98+ <!-- Block Checks -->
99+
100+ <module name="AvoidNestedBlocks" />
101+ <module name="EmptyBlock" />
102+ <module name="EmptyCatchBlock" />
103+ <module name="LeftCurly" />
104+ <module name="NeedBraces">
105+ <property name="allowSingleLineStatement" value="true" />
106+ </module>
107+ <module name="RightCurly" />
108+
109+
110+ <!-- Class Design -->
111+
112+ <module name="DesignForExtension" />
113+ <module name="FinalClass" />
114+ <module name="HideUtilityClassConstructor" />
115+ <module name="InnerTypeLast" />
116+ <module name="InterfaceIsType" />
117+ <module name="MutableException" />
118+ <module name="OneTopLevelClass" />
119+ <module name="ThrowsCount" />
120+ <module name="VisibilityModifier" />
121+
122+
123+ <!-- Coding -->
124+
125+ <module name="ArrayTrailingComma" />
126+ <module name="AvoidInlineConditionals" />
127+ <module name="CovariantEquals" />
128+ <module name="DeclarationOrder" />
129+ <module name="DefaultComesLast" />
130+ <module name="EmptyStatement" />
131+ <module name="EqualsAvoidNull" />
132+ <module name="EqualsHashCode" />
133+ <module name="ExplicitInitialization" />
134+ <module name="FallThrough" />
135+ <module name="FinalLocalVariable" />
136+ <module name="HiddenField">
137+ <property name="ignoreConstructorParameter" value="true" />
138+ <property name="ignoreSetter" value="true" />
139+ <property name="setterCanReturnItsClass" value="true" />
140+ <property name="ignoreAbstractMethods" value="true" />
141+ </module>
142+ <module name="IllegalCatch" />
143+ <module name="IllegalInstantiation" />
144+ <module name="IllegalThrows" />
145+ <module name="IllegalToken">
146+ <property name="tokens" value="LITERAL_NATIVE" />
147+ </module>
148+ <module name="IllegalTokenText" />
149+ <module name="IllegalType" />
150+ <module name="InnerAssignment" />
151+ <module name="MagicNumber" />
152+ <module name="MissingCtor" />
153+ <module name="MissingSwitchDefault" />
154+ <module name="ModifiedControlVariable" />
155+ <module name="MultipleStringLiterals" />
156+ <module name="MultipleVariableDeclarations" />
157+ <module name="NestedForDepth" />
158+ <module name="NestedIfDepth" />
159+ <module name="NestedTryDepth" />
160+ <module name="NoClone" />
161+ <module name="NoFinalizer" />
162+ <module name="OneStatementPerLine" />
163+ <module name="OverloadMethodsDeclarationOrder" />
164+ <module name="PackageDeclaration" />
165+ <module name="ParameterAssignment" />
166+ <module name="RequireThis">
167+ <!--property name="checkMethods" value="false" /-->
168+ </module>
169+ <module name="ReturnCount" />
170+ <module name="SimplifyBooleanExpression" />
171+ <module name="SimplifyBooleanReturn" />
172+ <module name="StringLiteralEquality" />
173+ <module name="SuperClone" />
174+ <module name="SuperFinalize" />
175+ <module name="UnnecessaryParentheses" />
176+ <module name="VariableDeclarationUsageDistance" />
177+
178+
179+ <!-- Imports -->
180+
181+ <module name="AvoidStarImport" />
182+ <module name="AvoidStaticImport" />
183+ <module name="CustomImportOrder" />
184+ <module name="IllegalImport" />
185+ <module name="ImportControl" />
186+ <module name="ImportOrder" />
187+ <module name="RedundantImport" />
188+ <module name="UnusedImports" />
189+
190+
191+ <!-- Javadoc Comments -->
192+
193+ <module name="AtclauseOrder" />
194+ <module name="JavadocMethod" />
195+ <module name="JavadocParagraph" />
196+ <module name="JavadocStyle">
197+ <property
198+ name="endOfSentenceFormat"
199+ value="([。.?!][ \t\n\r\f&lt;])|([。.?!]$)" />
200+ <property name="checkEmptyJavadoc" value="true" />
201+ <property name="checkHtml" value="true" />
202+ </module>
203+ <module name="JavadocTagContinuationIndentation" />
204+ <module name="JavadocType" />
205+ <module name="JavadocVariable">
206+ <property name="scope" value="protected" />
207+ </module>
208+ <module name="NonEmptyAtclauseDescription" />
209+ <module name="SingleLineJavadoc" />
210+ <module name="SummaryJavadocCheck" />
211+ <module name="WriteTag" />
212+
213+
214+ <!-- Metrics -->
215+
216+ <module name="BooleanExpressionComplexity" />
217+ <module name="ClassDataAbstractionCoupling" />
218+ <module name="ClassFanOutComplexity" />
219+ <module name="CyclomaticComplexity" />
220+ <module name="JavaNCSS" />
221+ <module name="NPathComplexity" />
222+
223+
224+ <!-- Miscellaneous -->
225+
226+ <module name="ArrayTypeStyle" />
227+ <module name="AvoidEscapedUnicodeCharacters">
228+ <property name="allowEscapesForControlCharacters" value="true"/>
229+ <property name="allowByTailComment" value="true"/>
230+ <property name="allowIfAllCharactersEscaped" value="true"/>
231+ <property name="allowNonPrintableEscapes" value="true"/>
232+ </module>
233+ <module name="CommentsIndentation" />
234+ <module name="DescendantToken" />
235+ <module name="FileContentsHolder" />
236+ <module name="FinalParameters" />
237+ <module name="Indentation">
238+ <property name="caseIndent" value="0" />
239+ </module>
240+ <module name="OuterTypeFilename" />
241+ <module name="TodoComment">
242+ <property name="format" value="TODO" />
243+ </module>
244+ <module name="TrailingComment" />
245+ <module name="UncommentedMain" />
246+ <module name="UpperEll" />
247+
248+
249+ <!-- Modifiers -->
250+
251+ <module name="ModifierOrder" />
252+ <module name="RedundantModifier" />
253+
254+
255+ <!-- Naming Conventions -->
256+
257+ <module name="AbbreviationAsWordInName" />
258+ <module name="AbstractClassName" />
259+ <module name="CatchParameterName" />
260+ <module name="ClassTypeParameterName" />
261+ <module name="ConstantName" />
262+ <module name="InterfaceTypeParameterName" />
263+ <module name="LocalFinalVariableName" />
264+ <module name="LocalVariableName" />
265+ <module name="MemberName" />
266+ <module name="MethodName" />
267+ <module name="MethodTypeParameterName" />
268+ <module name="PackageName" />
269+ <module name="ParameterName" />
270+ <module name="StaticVariableName" />
271+ <module name="TypeName" />
272+
273+
274+ <!-- Regex -->
275+
276+ <module name="Regexp">
277+ <property name="format" value="@author" />
278+ <property name="illegalPattern" value="true" />
279+ </module>
280+ <module name="Regexp">
281+ <property name="format" value="^ \* Copyright\(c\)" />
282+ </module>
283+ <module name="Regexp">
284+ <property name="format" value="^ \* License : The MIT License" />
285+ <property name="duplicateLimit" value="1" />
286+ </module>
287+ <module name="RegexpSinglelineJava">
288+ <property name="format" value="\u0000" />
289+ </module>
290+
291+
292+ <!-- Size Violations -->
293+
294+ <module name="AnonInnerLength" />
295+ <module name="ExecutableStatementCount" />
296+ <module name="LineLength">
297+ <property name="max" value="78" />
298+ </module>
299+ <module name="MethodCount" />
300+ <module name="MethodLength" />
301+ <module name="OuterTypeNumber" />
302+ <module name="ParameterNumber" />
303+
304+
305+ <!-- Whitespace -->
306+
307+ <module name="EmptyForInitializerPad" />
308+ <module name="EmptyForIteratorPad" />
309+ <module name="EmptyLineSeparator">
310+ <property
311+ name="tokens"
312+ value="PACKAGE_DEF,
313+ IMPORT,
314+ CLASS_DEF,
315+ INTERFACE_DEF,
316+ ENUM_DEF,
317+ STATIC_INIT,
318+ INSTANCE_INIT,
319+ METHOD_DEF,
320+ CTOR_DEF,
321+ "
322+ />
323+ </module>
324+ <module name="GenericWhitespace" />
325+ <module name="MethodParamPad">
326+ <property
327+ name="tokens"
328+ value="CTOR_DEF, LITERAL_NEW, METHOD_DEF, SUPER_CTOR_CALL"
329+ />
330+ </module>
331+ <module name="NoLineWrap" />
332+ <module name="NoWhitespaceAfter">
333+ <property name="allowLineBreaks" value="false" />
334+ <property name="tokens" value="INC, DEC, DOT" />
335+ </module>
336+ <module name="NoWhitespaceBefore">
337+ <property name="allowLineBreaks" value="false" />
338+ <property name="tokens" value="COMMA, POST_INC, POST_DEC" />
339+ </module>
340+ <module name="OperatorWrap" />
341+ <module name="ParenPad">
342+ <property name="option" value="nospace" />
343+ <property
344+ name="tokens"
345+ value="CTOR_CALL, METHOD_CALL, SUPER_CTOR_CALL"
346+ />
347+ </module>
348+ <module name="SeparatorWrap">
349+ <property name="tokens" value="DOT" />
350+ <property name="option" value="nl" />
351+ </module>
352+ <module name="SingleSpaceSeparator" />
353+ <module name="TypecastParenPad" />
354+ <module name="WhitespaceAfter" >
355+ <property name="tokens" value="COMMA, SEMI,"/>
356+ </module>
357+ <module name="WhitespaceAround">
358+ <property
359+ name="tokens"
360+ value="ASSIGN,
361+ LAND, LOR,
362+ BAND, BOR, BXOR, BSR,
363+ BAND_ASSIGN, BOR_ASSIGN, BXOR_ASSIGN, BSR_ASSIGN,
364+ SL, SR,
365+ SL_ASSIGN, SR_ASSIGN,
366+ MINUS, STAR, DIV, MOD,
367+ PLUS_ASSIGN, MINUS_ASSIGN,
368+ STAR_ASSIGN, DIV_ASSIGN, MOD_ASSIGN,
369+ EQUAL, NOT_EQUAL, GT, GE, LT, LE,
370+ "
371+ />
372+ </module>
373+
374+
375+ </module>
376+
377+
378+</module>
379+
380+<!-- EOF -->
diff -r 919f6ca3eeef -r c16348cc4c65 pmdrules.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pmdrules.xml Mon Apr 10 23:26:10 2017 +0900
@@ -0,0 +1,117 @@
1+<?xml version="1.0" encoding="UTF-8" ?>
2+
3+<!--
4+ Custom rule set
5+ for PMD [ https://pmd.github.io/ ] 5.5.2 or later
6+
7+ Copyright(c) 2016 olyutorskii
8+-->
9+
10+<ruleset
11+ xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
12+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13+ xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0
14+ http://pmd.sourceforge.net/ruleset_2_0_0.xsd"
15+ name="Custom ruleset"
16+>
17+
18+ <description>
19+ custom rulesets
20+ </description>
21+
22+ <rule ref="rulesets/java/android.xml" />
23+
24+ <rule ref="rulesets/java/basic.xml" />
25+
26+ <rule ref="rulesets/java/braces.xml">
27+ <exclude name="IfElseStmtsMustUseBraces" />
28+ <exclude name="IfStmtsMustUseBraces" />
29+ </rule>
30+
31+ <rule ref="rulesets/java/clone.xml" />
32+
33+ <rule ref="rulesets/java/codesize.xml" />
34+
35+ <rule ref="rulesets/java/comments.xml">
36+ <exclude name="CommentDefaultAccessModifier" />
37+ </rule>
38+ <rule ref="rulesets/java/comments.xml/CommentRequired" >
39+ <properties>
40+ <property name="fieldCommentRequirement" value="Ignored"/>
41+ </properties>
42+ </rule>
43+ <rule ref="rulesets/java/comments.xml/CommentSize" >
44+ <properties>
45+ <property name="maxLines" value="25"/>
46+ </properties>
47+ </rule>
48+
49+ <rule ref="rulesets/java/controversial.xml">
50+ <exclude name="DefaultPackage" />
51+ <exclude name="OnlyOneReturn" />
52+ <exclude name="DataflowAnomalyAnalysis" />
53+ <exclude name="AvoidLiteralsInIfCondition" />
54+ </rule>
55+
56+ <rule ref="rulesets/java/coupling.xml">
57+ <exclude name="LoosePackageCoupling" />
58+ <exclude name="LawOfDemeter" />
59+ </rule>
60+
61+ <rule ref="rulesets/java/design.xml">
62+ <exclude name="UnnecessaryLocalBeforeReturn" />
63+ <exclude name="FieldDeclarationsShouldBeAtStartOfClass" />
64+ </rule>
65+
66+ <rule ref="rulesets/java/empty.xml" />
67+
68+ <rule ref="rulesets/java/finalizers.xml" />
69+
70+ <rule ref="rulesets/java/imports.xml" />
71+
72+ <rule ref="rulesets/java/j2ee.xml">
73+ <exclude name="DoNotUseThreads" />
74+ </rule>
75+
76+ <rule ref="rulesets/java/logging-jakarta-commons.xml" />
77+
78+ <rule ref="rulesets/java/javabeans.xml">
79+ <exclude name="BeanMembersShouldSerialize" />
80+ </rule>
81+
82+ <rule ref="rulesets/java/logging-java.xml" />
83+
84+ <rule ref="rulesets/java/junit.xml" />
85+
86+ <rule ref="rulesets/java/migrating.xml" />
87+
88+ <rule ref="rulesets/java/naming.xml">
89+ <exclude name="ShortVariable" />
90+ <exclude name="LongVariable" />
91+ </rule>
92+
93+ <rule ref="rulesets/java/optimizations.xml">
94+ <exclude name="LocalVariableCouldBeFinal" />
95+ <exclude name="MethodArgumentCouldBeFinal" />
96+ <exclude name="RedundantFieldInitializer" />
97+ </rule>
98+
99+ <rule ref="rulesets/java/strictexception.xml" />
100+
101+ <rule ref="rulesets/java/strings.xml">
102+ <exclude name="ConsecutiveAppendsShouldReuse" />
103+ </rule>
104+
105+ <rule ref="rulesets/java/sunsecure.xml" />
106+
107+ <rule ref="rulesets/java/typeresolution.xml" />
108+
109+ <rule ref="rulesets/java/unnecessary.xml">
110+ <exclude name="UnnecessaryReturn" />
111+ </rule>
112+
113+ <rule ref="rulesets/java/unusedcode.xml" />
114+
115+</ruleset>
116+
117+<!-- EOF -->
diff -r 919f6ca3eeef -r c16348cc4c65 pom.xml
--- a/pom.xml Tue Jul 05 00:41:04 2016 +0900
+++ b/pom.xml Mon Apr 10 23:26:10 2017 +0900
@@ -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,10 +137,61 @@
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
165+
166+ <!-- clean lifecycle -->
167+
168+ <plugin>
169+ <groupId>org.apache.maven.plugins</groupId>
170+ <artifactId>maven-clean-plugin</artifactId>
171+ <version>3.0.0</version>
172+ <configuration>
173+ <filesets>
174+ <fileset>
175+ <directory>${project.basedir}</directory>
176+ <includes>
177+ <include>**/*~</include>
178+ <include>**/*.swp</include>
179+ <include>**/*.DS_Store</include>
180+ <include>**/._*</include>
181+ <include>**/__MACOSX</include>
182+ <include>**/Thumbs.db</include>
183+ <include>**/desktop.ini</include>
184+ <include>**/core</include>
185+ <include>**/hs_err_pid*</include>
186+ </includes>
187+ </fileset>
188+ </filesets>
189+ </configuration>
190+ </plugin>
191+
192+
193+ <!-- default lifecycle -->
194+
130195 <plugin>
131196 <groupId>org.apache.maven.plugins</groupId>
132197 <artifactId>maven-enforcer-plugin</artifactId>
@@ -134,7 +199,7 @@
134199 <configuration>
135200 <rules>
136201 <requireMavenVersion>
137- <version>[3.3,)</version>
202+ <version>[3.0.1,)</version>
138203 </requireMavenVersion>
139204 <requireJavaVersion>
140205 <version>[1.7,)</version>
@@ -145,55 +210,86 @@
145210
146211 <plugin>
147212 <groupId>org.apache.maven.plugins</groupId>
148- <artifactId>maven-install-plugin</artifactId>
149- <version>2.5.2</version>
213+ <artifactId>maven-resources-plugin</artifactId>
214+ <version>3.0.2</version>
150215 </plugin>
151216
152217 <plugin>
153218 <groupId>org.apache.maven.plugins</groupId>
154- <artifactId>maven-clean-plugin</artifactId>
155- <version>3.0.0</version>
219+ <artifactId>maven-compiler-plugin</artifactId>
220+ <version>3.6.1</version>
156221 <configuration>
157- <filesets>
158- <fileset>
159- <directory>${project.basedir}</directory>
160- <includes>
161- <include>**/.DS_Store</include>
162- <include>**/_MACOSX</include>
163- <include>**/Thumbs.db</include>
164- <include>**/thumbs.db</include>
165- <include>**/Desktop.ini</include>
166- <include>**/desktop.ini</include>
167- <include>**/core</include>
168- </includes>
169- </fileset>
170- </filesets>
222+ <source>1.7</source> <!-- for NetBeans IDE -->
223+ <target>1.7</target>
224+ <compilerArguments>
225+ <Xlint/>
226+ </compilerArguments>
227+ <showWarnings>true</showWarnings>
228+ <showDeprecation>true</showDeprecation>
171229 </configuration>
172230 </plugin>
173231
174232 <plugin>
175233 <groupId>org.apache.maven.plugins</groupId>
176- <artifactId>maven-compiler-plugin</artifactId>
177- <version>3.5.1</version>
234+ <artifactId>maven-surefire-plugin</artifactId>
235+ <version>2.19.1</version>
178236 <configuration>
179- <source>1.7</source> <!-- for NetBeans IDE -->
180- <target>1.7</target>
181- <showDeprecation>true</showDeprecation>
182- <showWarnings>true</showWarnings>
183- <compilerArguments>
184- <Xlint/>
185- </compilerArguments>
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
353+
354+ <!-- site lifecycle -->
355+
282356 <plugin>
283357 <groupId>org.apache.maven.plugins</groupId>
284358 <artifactId>maven-site-plugin</artifactId>
285- <version>3.5.1</version>
359+ <version>3.6</version>
286360 <configuration>
287- <generateReports>true</generateReports>
288- <locales>ja</locales>
289- <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
290- <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
361+ <locales>${site.locales}</locales>
362+ </configuration>
363+ </plugin>
364+
365+
366+ <!-- goals without lifecycle -->
367+
368+ <plugin>
369+ <groupId>org.apache.maven.plugins</groupId>
370+ <artifactId>maven-assembly-plugin</artifactId>
371+ <version>3.0.0</version>
372+ <configuration>
373+ <descriptors>
374+ <descriptor>src/assembly/src.xml</descriptor>
375+ </descriptors>
291376 </configuration>
292377 </plugin>
293378
294379 <plugin>
295380 <groupId>org.apache.maven.plugins</groupId>
296381 <artifactId>maven-checkstyle-plugin</artifactId>
297- <version>2.15</version>
298- <!-- config from property value -->
299- </plugin>
300-
301- <plugin>
302- <groupId>org.apache.maven.plugins</groupId>
303- <artifactId>maven-pmd-plugin</artifactId>
304- <version>3.6</version>
305- <configuration>
306- <targetJdk>${maven.compiler.target}</targetJdk>
307- <rulesets>
308- <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
309- </rulesets>
310- </configuration>
311- </plugin>
312-
313- <plugin>
314- <groupId>org.codehaus.mojo</groupId>
315- <artifactId>findbugs-maven-plugin</artifactId>
316- <version>3.0.3</version>
317- <configuration>
318- <effort>Max</effort>
319- <threshold>Low</threshold>
320- <!-- for Jenkins -->
321- <findbugsXmlOutput>true</findbugsXmlOutput>
322- <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
323- <xmlOutput>true</xmlOutput>
324- </configuration>
325- </plugin>
326-
327- <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>
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>
456+ <report>plugin-management</report>
457+ <report>project-team</report>
458+ <report>issue-tracking</report>
409459 <report>scm</report>
410- <report>project-team</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>
diff -r 919f6ca3eeef -r c16348cc4c65 src/assembly/src.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/assembly/src.xml Mon Apr 10 23:26:10 2017 +0900
@@ -0,0 +1,42 @@
1+<?xml version="1.0" encoding="UTF-8" ?>
2+
3+<assembly
4+ xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
5+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0
7+ http://maven.apache.org/xsd/assembly-2.0.0.xsd"
8+>
9+
10+<!--
11+ OSDN.NET用リリースファイル構成定義ファイル
12+ Maven3 assembly用
13+-->
14+
15+ <id>src</id>
16+
17+ <formats>
18+ <format>zip</format>
19+ </formats>
20+
21+ <fileSets>
22+ <fileSet>
23+ <directory>${project.basedir}</directory>
24+ <includes>
25+ <include>*.xml</include>
26+ <include>*.txt</include>
27+ </includes>
28+ <excludes>
29+ <exclude>nb-configuration.xml</exclude>
30+ <exclude>nbactions.xml</exclude>
31+ </excludes>
32+ <useDefaultExcludes>true</useDefaultExcludes>
33+ </fileSet>
34+ <fileSet>
35+ <directory>${project.basedir}/src</directory>
36+ <useDefaultExcludes>true</useDefaultExcludes>
37+ </fileSet>
38+ </fileSets>
39+
40+</assembly>
41+
42+<!-- EOF -->
diff -r 919f6ca3eeef -r c16348cc4c65 src/main/assembly/descriptor.xml
--- a/src/main/assembly/descriptor.xml Tue Jul 05 00:41:04 2016 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
1-<?xml version="1.0" encoding="UTF-8" ?>
2-
3-<assembly
4- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
5- 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"
8->
9-
10-<!--
11- OSDN.JP用リリースファイル構成定義ファイル
12- Maven2(or3) assembly用
13--->
14-
15- <id>src</id>
16-
17- <formats>
18- <format>zip</format>
19- </formats>
20-
21- <fileSets>
22- <fileSet>
23- <directory>.</directory>
24- <includes>
25- <include>pom.xml</include>
26- <include>fixcrlf.xml</include>
27- <include>*.txt</include>
28- </includes>
29- <excludes>
30- <exclude>nb-configuration.xml</exclude>
31- <exclude>nbactions.xml</exclude>
32- </excludes>
33- <useDefaultExcludes>true</useDefaultExcludes>
34- </fileSet>
35- <fileSet>
36- <directory>src/</directory>
37- <useDefaultExcludes>true</useDefaultExcludes>
38- </fileSet>
39- </fileSets>
40-
41-</assembly>
42-
43-<!-- EOF -->
diff -r 919f6ca3eeef -r c16348cc4c65 src/main/config/checks.xml
--- a/src/main/config/checks.xml Tue Jul 05 00:41:04 2016 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,425 +0,0 @@
1-<?xml version="1.0" encoding="UTF-8" ?>
2-
3-<!DOCTYPE module PUBLIC
4- "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
5- "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
6-
7-<!--
8- Checkstyle用チェック項目定義。
9-
10- Checkstyle 6.1 以降向けに記述。
11-
12- [ http://checkstyle.sourceforge.net/ ]
13-
14- Copyright(c) 2010 olyutorskii
15--->
16-
17-
18-<module name="Checker">
19-
20- <property name="charset" value="UTF-8" />
21- <property name="localeCountry" value="JP" />
22- <property name="localeLanguage" value="ja" />
23- <property name="severity" value="error" />
24-
25-
26- <!-- Filters -->
27- <module name="SeverityMatchFilter" />
28- <module name="SuppressionCommentFilter" />
29- <module name="SuppressionFilter">
30- <property name="file" value="src/main/config/suppressions.xml" />
31- </module>
32- <module name="SuppressWarningsFilter" />
33- <module name="SuppressWithNearbyCommentFilter" />
34-
35-
36- <!-- Headers -->
37- <module name="RegexpHeader">
38- <property name="header" value="^/\*$\n^ \*( .*)?$\n^ \*/$\n" />
39- <property name="multiLines" value="2" />
40- <property name="fileExtensions" value="java" />
41- </module>
42-
43-
44- <!-- Javadoc Comments -->
45- <module name="JavadocPackage" />
46-
47-
48- <!-- Miscellaneous -->
49- <module name="NewlineAtEndOfFile">
50- <property name="fileExtensions" value="java" />
51- </module>
52- <module name="Translation" />
53- <module name="UniqueProperties" />
54-
55-
56- <!-- Regexp -->
57- <module name="RegexpMultiline">
58- <property name="format" value="[\u000b\f\u001a]" />
59- </module>
60-<!--<module name="RegexpOnFilename" /> 6.15 or later -->
61- <module name="RegexpSingleline">
62- <property name="format" value="\s+$" />
63- </module>
64- <module name="RegexpSingleline">
65- <!-- scm conflict -->
66- <property name="format" value="&lt;&lt;&lt;&lt;&lt;" />
67- </module>
68-
69-
70- <!-- Size Violations -->
71- <module name="FileLength">
72- <property name="max" value="2000"/>
73- </module>
74-
75-
76- <!-- Whitespace -->
77- <module name="FileTabCharacter" />
78-
79-
80- <module name="TreeWalker">
81-
82- <property name="tabWidth" value="8"/>
83-
84-
85- <!-- Annotations -->
86-
87- <module name="AnnotationLocation" />
88- <module name="AnnotationUseStyle" />
89- <module name="MissingDeprecated" />
90- <module name="MissingOverride" />
91- <module name="PackageAnnotation" />
92- <module name="SuppressWarnings" />
93- <module name="SuppressWarningsHolder" />
94-
95-
96- <!-- Block Checks -->
97- <module name="AvoidNestedBlocks" />
98- <module name="EmptyBlock" />
99-<!-- <module name="EmptyCatchBlock" /> 6.4 or later -->
100- <module name="LeftCurly" />
101- <module name="NeedBraces">
102- <property name="tokens" value="LITERAL_DO" />
103- </module>
104- <module name="RightCurly" />
105-
106-
107- <!-- Class Design -->
108-
109- <module name="DesignForExtension" />
110- <module name="FinalClass" />
111- <module name="HideUtilityClassConstructor" />
112- <module name="InnerTypeLast" />
113- <module name="InterfaceIsType" />
114- <module name="MutableException" />
115- <module name="OneTopLevelClass" />
116- <module name="ThrowsCount">
117- <property name="max" value="4" />
118- </module>
119- <module name="VisibilityModifier" />
120-
121-
122- <!-- Coding -->
123-
124- <module name="ArrayTrailingComma" />
125- <module name="AvoidInlineConditionals" />
126- <module name="CovariantEquals" />
127- <module name="DeclarationOrder" />
128- <module name="DefaultComesLast" />
129- <module name="EmptyStatement" />
130- <module name="EqualsAvoidNull" />
131- <module name="EqualsHashCode" />
132- <module name="ExplicitInitialization" />
133- <module name="FallThrough" />
134- <module name="FinalLocalVariable" />
135- <module name="HiddenField">
136- <property name="ignoreConstructorParameter" value="true" />
137- <property name="ignoreSetter" value="true" />
138- <property name="ignoreAbstractMethods" value="true" />
139- </module>
140- <module name="IllegalCatch" />
141- <module name="IllegalInstantiation" />
142- <module name="IllegalThrows" />
143- <module name="IllegalToken">
144- <property name="tokens" value="LITERAL_NATIVE" />
145- </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>
151- <module name="IllegalType" />
152- <module name="InnerAssignment" />
153- <module name="MagicNumber" />
154- <module name="MissingCtor" />
155- <module name="MissingSwitchDefault" />
156- <module name="ModifiedControlVariable" />
157- <module name="MultipleStringLiterals" />
158- <module name="MultipleVariableDeclarations" />
159- <module name="SimplifyBooleanExpression" />
160- <module name="SimplifyBooleanReturn" />
161- <module name="StringLiteralEquality" />
162- <module name="NestedForDepth" />
163- <module name="NestedIfDepth" />
164- <module name="NestedTryDepth" />
165- <module name="NoClone" />
166- <module name="NoFinalizer" />
167- <module name="OneStatementPerLine" />
168- <module name="OverloadMethodsDeclarationOrder" />
169- <module name="PackageDeclaration" />
170- <module name="ParameterAssignment" />
171- <module name="RequireThis">
172- <property name="checkMethods" value="false" />
173- </module>
174- <module name="ReturnCount">
175- <property name="max" value="5" />
176- </module>
177- <module name="SimplifyBooleanExpression" />
178- <module name="SimplifyBooleanReturn" />
179- <module name="StringLiteralEquality" />
180- <module name="SuperClone" />
181- <module name="SuperFinalize" />
182- <module name="UnnecessaryParentheses" />
183- <module name="VariableDeclarationUsageDistance">
184- <property name="allowedDistance" value="5" />
185- </module>
186-
187-
188- <!-- Imports -->
189-
190- <module name="AvoidStarImport" />
191- <module name="AvoidStaticImport" />
192- <module name="CustomImportOrder" />
193- <module name="IllegalImport" />
194- <module name="ImportControl" />
195- <module name="ImportOrder" />
196- <module name="RedundantImport" />
197- <module name="UnusedImports" />
198-
199-
200- <!-- Javadoc Comments -->
201-
202- <module name="AtclauseOrder" />
203- <module name="JavadocMethod" />
204- <module name="JavadocParagraph" />
205- <module name="JavadocStyle">
206- <property
207- name="endOfSentenceFormat"
208- value="([。.?!][ \t\n\r\f&lt;])|([。.?!]$)" />
209- <property name="checkEmptyJavadoc" value="true" />
210- <property name="checkHtml" value="true" />
211- </module>
212- <module name="JavadocTagContinuationIndentation" />
213- <module name="JavadocType" />
214- <module name="JavadocVariable">
215- <property name="scope" value="protected" />
216- </module>
217- <module name="NonEmptyAtclauseDescription" />
218- <module name="SingleLineJavadoc" />
219- <module name="SummaryJavadocCheck" />
220- <module name="WriteTag" />
221-
222-
223- <!-- Metrics -->
224-
225- <module name="BooleanExpressionComplexity" />
226- <module name="ClassDataAbstractionCoupling" />
227- <module name="ClassFanOutComplexity" />
228- <module name="CyclomaticComplexity" />
229- <module name="JavaNCSS" />
230- <module name="NPathComplexity" />
231-
232-
233- <!-- Miscellaneous -->
234-
235- <module name="ArrayTypeStyle" />
236- <module name="AvoidEscapedUnicodeCharacters">
237- <property name="allowEscapesForControlCharacters" value="true"/>
238- <property name="allowByTailComment" value="true"/>
239- <property name="allowIfAllCharactersEscaped" value="true"/>
240- <property name="allowNonPrintableEscapes" value="true"/>
241- </module>
242-<!-- <module name="CommentsIndentation" /> 6.10 or later -->
243- <module name="DescendantToken" />
244- <module name="FileContentsHolder" />
245- <module name="FinalParameters" />
246- <module name="Indentation">
247- <property name="caseIndent" value="0" />
248- </module>
249- <module name="OuterTypeFilename" />
250- <module name="TodoComment">
251- <property name="format" value="TODO" />
252- </module>
253- <module name="TrailingComment" />
254- <module name="UncommentedMain" />
255- <module name="UpperEll" />
256-
257-
258- <!-- Modifiers -->
259-
260- <module name="ModifierOrder" />
261- <module name="RedundantModifier" />
262-
263-
264- <!-- Naming Conventions -->
265-
266- <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 -->
274- <module name="ClassTypeParameterName" />
275- <module name="ConstantName" />
276- <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>
286- <module name="MethodName" />
287- <module name="MethodTypeParameterName" />
288- <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>
295- <module name="TypeName" />
296-
297-
298- <!-- Regex -->
299-
300- <module name="Regexp">
301- <property name="format" value="@author" />
302- <property name="illegalPattern" value="true" />
303- </module>
304- <module name="Regexp">
305- <property name="format" value="^ \* Copyright\(c\)" />
306- </module>
307- <module name="Regexp">
308- <property name="format" value="^ \* License : The MIT License" />
309- <property name="duplicateLimit" value="1" />
310- </module>
311- <module name="RegexpSinglelineJava">
312- <property name="format" value="\u0000" />
313- </module>
314-
315-
316- <!-- Size Violations -->
317-
318- <module name="AnonInnerLength" />
319- <module name="ExecutableStatementCount" />
320- <module name="LineLength">
321- <property name="max" value="78" />
322- </module>
323- <module name="MethodCount" />
324- <module name="MethodLength" />
325- <module name="OuterTypeNumber" />
326- <module name="ParameterNumber" />
327-
328-
329- <!-- Whitespace -->
330-
331- <module name="EmptyForInitializerPad" />
332- <module name="EmptyForIteratorPad" />
333- <module name="EmptyLineSeparator">
334- <property
335- name="tokens"
336- value="PACKAGE_DEF,
337- IMPORT,
338- CLASS_DEF,
339- INTERFACE_DEF,
340- ENUM_DEF,
341- STATIC_INIT,
342- INSTANCE_INIT,
343- METHOD_DEF,
344- CTOR_DEF,
345- "
346- />
347- </module>
348- <module name="GenericWhitespace" />
349- <module name="MethodParamPad">
350- <property
351- name="tokens"
352- value="CTOR_DEF, LITERAL_NEW, METHOD_DEF, SUPER_CTOR_CALL"
353- />
354- </module>
355- <module name="NoLineWrap" />
356- <module name="NoWhitespaceAfter">
357- <property name="allowLineBreaks" value="false" />
358- <property name="tokens" value="INC, DEC, DOT" />
359- </module>
360- <module name="NoWhitespaceBefore">
361- <property name="allowLineBreaks" value="false" />
362- <property name="tokens" value="COMMA, POST_INC, POST_DEC" />
363- </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>
390- <module name="ParenPad">
391- <property name="option" value="nospace" />
392- <property
393- name="tokens"
394- value="CTOR_CALL, METHOD_CALL, SUPER_CTOR_CALL"
395- />
396- </module>
397- <module name="SeparatorWrap">
398- <property name="tokens" value="DOT" />
399- <property name="option" value="nl" />
400- </module>
401- <module name="TypecastParenPad" />
402- <module name="WhitespaceAfter" />
403- <module name="WhitespaceAround">
404- <property
405- name="tokens"
406- value="ASSIGN,
407- LAND, LOR,
408- BAND, BOR, BXOR, BSR,
409- BAND_ASSIGN, BOR_ASSIGN, BXOR_ASSIGN, BSR_ASSIGN,
410- SL, SR,
411- SL_ASSIGN, SR_ASSIGN,
412- MINUS, STAR, DIV, MOD,
413- PLUS_ASSIGN, MINUS_ASSIGN,
414- STAR_ASSIGN, DIV_ASSIGN, MOD_ASSIGN,
415- EQUAL, NOT_EQUAL, GT, GE, LT, LE,
416- "
417- />
418- </module>
419-
420-
421- </module>
422-
423-</module>
424-
425-<!-- EOF -->
diff -r 919f6ca3eeef -r c16348cc4c65 src/main/config/pmdrules.xml
--- a/src/main/config/pmdrules.xml Tue Jul 05 00:41:04 2016 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
1-<?xml version="1.0" encoding="UTF-8" ?>
2-
3-<!--
4- PMD用ルールセット定義
5-
6- PMD [ https://pmd.github.io/ ] 5.3 以降用に記述されています。
7-
8- Copyright(c) 2016 olyutorskii
9--->
10-
11-<ruleset
12- xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
13- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14- xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0
15- http://pmd.sourceforge.net/ruleset_2_0_0.xsd"
16- name="Custom ruleset"
17->
18-
19- <description>
20- custom rulesets for project
21- </description>
22-
23-<!--
24- <rule ref="rulesets/java/android.xml" />
25--->
26-
27- <rule ref="rulesets/java/basic.xml" />
28-
29- <rule ref="rulesets/java/braces.xml">
30- <exclude name="IfElseStmtsMustUseBraces" />
31- <exclude name="IfStmtsMustUseBraces" />
32- </rule>
33-
34- <rule ref="rulesets/java/clone.xml" />
35-
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>
44-
45- <rule ref="rulesets/java/comments.xml">
46- <exclude name="CommentRequired" />
47- <exclude name="CommentSize" />
48- </rule>
49- <rule ref="rulesets/java/comments.xml/CommentRequired" >
50- <properties>
51- <property name="fieldCommentRequirement" value="Ignored"/>
52- </properties>
53- </rule>
54- <rule ref="rulesets/java/comments.xml/CommentSize" >
55- <properties>
56- <property name="maxLines" value="25"/>
57- </properties>
58- </rule>
59-
60- <rule ref="rulesets/java/controversial.xml">
61- <exclude name="NullAssignment" />
62- <exclude name="OnlyOneReturn" />
63- <exclude name="DefaultPackage" />
64- <exclude name="DataflowAnomalyAnalysis" />
65- <exclude name="AvoidUsingShortType" />
66- <exclude name="AvoidLiteralsInIfCondition" />
67- <exclude name="UseConcurrentHashMap" />
68- </rule>
69-
70- <rule ref="rulesets/java/coupling.xml">
71- <exclude name="LoosePackageCoupling" />
72- <exclude name="LawOfDemeter" />
73- </rule>
74-
75- <rule ref="rulesets/java/design.xml">
76- <exclude name="SimplifyBooleanReturns" />
77- <exclude name="ConfusingTernary" />
78- <exclude name="UnnecessaryLocalBeforeReturn" />
79- <exclude name="FieldDeclarationsShouldBeAtStartOfClass" />
80- </rule>
81-
82- <rule ref="rulesets/java/empty.xml" />
83-
84- <rule ref="rulesets/java/finalizers.xml" />
85-
86- <rule ref="rulesets/java/imports.xml" />
87-
88-<!--
89- <rule ref="rulesets/java/j2ee.xml" />
90- <rule ref="rulesets/java/javabeans.xml" />
91--->
92-
93- <rule ref="rulesets/java/junit.xml" />
94-
95-<!--
96- <rule ref="rulesets/java/logging-jakarta-commons.xml" />
97--->
98-
99- <rule ref="rulesets/java/logging-java.xml" />
100-
101- <rule ref="rulesets/java/migrating.xml" />
102-<!--
103- <rule ref="rulesets/java/migrating_to_XX.xml" />
104--->
105-
106- <rule ref="rulesets/java/naming.xml">
107- <exclude name="ShortVariable" />
108- <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>
115- </rule>
116-
117- <rule ref="rulesets/java/optimizations.xml">
118- <exclude name="LocalVariableCouldBeFinal" />
119- <exclude name="MethodArgumentCouldBeFinal" />
120- <exclude name="RedundantFieldInitializer" />
121- </rule>
122-
123- <rule ref="rulesets/java/strictexception.xml">
124- <exclude name="AvoidThrowingNullPointerException" />
125- </rule>
126-
127- <rule ref="rulesets/java/strings.xml" />
128-
129- <rule ref="rulesets/java/sunsecure.xml" />
130-
131- <rule ref="rulesets/java/typeresolution.xml" />
132-
133- <rule ref="rulesets/java/unnecessary.xml">
134- <exclude name="UnnecessaryReturn" />
135- <exclude name="UselessParentheses" />
136- </rule>
137-
138- <rule ref="rulesets/java/unusedcode.xml" />
139-
140-</ruleset>
141-
142-<!-- EOF -->
diff -r 919f6ca3eeef -r c16348cc4c65 src/main/config/suppressions.xml
--- a/src/main/config/suppressions.xml Tue Jul 05 00:41:04 2016 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
1-<?xml version="1.0" encoding="UTF-8" ?>
2-
3-<!DOCTYPE suppressions PUBLIC
4- "-//Puppy Crawl//DTD Suppressions 1.1//EN"
5- "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
6-
7-<!--
8- Checkstyle用警告抑止設定
9- ※ SuppressionFilter モジュール用
10-
11- [ http://checkstyle.sourceforge.net/ ]
12-
13- Copyright(c) 2010 olyutorskii
14--->
15-
16-
17-<suppressions>
18-
19- <!-- Class Design -->
20- <suppress files="" checks="DesignForExtension" />
21-
22- <!-- Coding -->
23- <suppress files="" checks="ExplicitInitialization" />
24- <suppress files="" checks="FinalLocalVariable" />
25- <suppress files="" checks="MagicNumber" />
26-
27- <!-- Imports -->
28- <suppress files="" checks="ImportControl" />
29-
30- <!-- Javadoc Comments -->
31- <suppress files="" checks="SummaryJavadocCheck" />
32- <!-- 句読点対応待ち -->
33- <suppress files="" checks="SingleLineJavadoc" />
34- <!-- ignoredTagsプロパティ対応待ち -->
35-
36- <!-- Miscellaneous -->
37- <suppress files="" checks="FinalParameters" />
38- <suppress files="" checks="TrailingComment" />
39-
40-</suppressions>
41-
42-
43-<!-- EOF -->
Show on old repository browser