• R/O
  • HTTP
  • SSH
  • HTTPS

Jindolf: 提交

Jindolfプロジェクトは、CGIゲーム「人狼BBS」を快適にプレイするための専用クライアントを製作するために発足したオープンソースプロジェクトです。


Commit MetaInfo

修订版85cb93f5b982f87e3f98053370376290048e0fe2 (tree)
时间2020-02-12 15:38:56
作者Olyutorskii <olyutorskii@user...>
CommiterOlyutorskii

Log Message

Merge branch 'pomconfig' into develop

更改概述

差异

--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -4,6 +4,9 @@
44 Jindolf 変更履歴
55
66
7+3.304.X (2020-XX-XX)
8+ ・G国亡国に伴い JinParser 2.102.2 に対応。
9+
710 3.303.106 (2019-05-07)
811 ・必須環境をJavaSE8に引き上げ。
912 ・Mercurial(3.303.5-SNAPSHOT)からGit(3.303.105-SNAPSHOT)へSCMを移行。
--- a/config/checkstyle/checkstyle-suppressions.xml
+++ b/config/checkstyle/checkstyle-suppressions.xml
@@ -6,7 +6,7 @@
66
77 <!--
88 Checkstyle suppressions
9- for Checkstyle 8.20 or later
9+ for Checkstyle 8.29 or later
1010
1111 [ https://checkstyle.org/ ]
1212
@@ -25,10 +25,12 @@
2525 <suppress files="" checks="DesignForExtension" />
2626
2727 <!-- Coding -->
28+ <suppress files="" checks="AvoidNoArgumentSuperConstructorCall" />
2829 <suppress files="" checks="ExplicitInitialization" />
2930 <suppress files="" checks="FinalLocalVariable" />
3031 <suppress files="" checks="MagicNumber" />
31- <suppress files="" checks="OneStatementPerLine" />
32+ <suppress files="" checks="NoArrayTrailingComma" />
33+ <suppress files="" checks="NoEnumTrailingComma" />
3234
3335 <!-- Imports -->
3436 <suppress files="" checks="ImportControl" />
@@ -40,8 +42,9 @@
4042 <suppress files="" checks="FinalParameters" />
4143 <suppress files="" checks="TrailingComment" />
4244
43- <!-- Modifiers -->
45+ <!-- Modifier -->
4446 <suppress files="" checks="InterfaceMemberImpliedModifier" />
47+ <suppress files="" checks="RedundantModifier" />
4548
4649 <!-- Whitespace -->
4750 <suppress files="" checks="SingleSpaceSeparator" />
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -6,7 +6,7 @@
66
77 <!--
88 Checkstyle modules
9- for Checkstyle 8.20 or later
9+ for Checkstyle 8.29 or later
1010
1111 [ https://checkstyle.org/ ]
1212
@@ -20,18 +20,21 @@
2020 <property name="localeCountry" value="JP" />
2121 <property name="localeLanguage" value="en" />
2222 <!--property name="localeLanguage" value="ja" /-->
23- <property name="fileExtensions" value="java, xml, properties" />
23+ <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" />
2424 <property name="severity" value="error" />
2525
2626
2727 <!-- Filters -->
28+
2829 <module name="SeverityMatchFilter" />
2930 <!--module name="SuppressionFilter" /-->
31+ <!--module name="SuppressionSingleFilter" /-->
3032 <module name="SuppressWarningsFilter" />
3133 <module name="SuppressWithPlainTextCommentFilter" />
3234
3335
3436 <!-- Headers -->
37+
3538 <module name="Header">
3639 <property name="header" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;" />
3740 <property name="fileExtensions" value="xml" />
@@ -44,18 +47,22 @@
4447
4548
4649 <!-- Javadoc Comments -->
50+
4751 <module name="JavadocPackage" />
4852
4953
5054 <!-- Miscellaneous -->
55+
5156 <module name="NewlineAtEndOfFile">
52- <property name="fileExtensions" value="java" />
57+ <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" />
5358 </module>
59+ <module name="OrderedProperties" />
5460 <module name="Translation" />
5561 <module name="UniqueProperties" />
5662
5763
5864 <!-- Regexp -->
65+
5966 <module name="RegexpMultiline">
6067 <property name="format" value="[\u000b\f\u001a]" />
6168 </module>
@@ -70,10 +77,16 @@
7077
7178
7279 <!-- Size Violations -->
80+
7381 <module name="FileLength" />
82+ <module name="LineLength">
83+ <property name="fileExtensions" value="java" />
84+ <property name="max" value="78" />
85+ </module>
7486
7587
7688 <!-- Whitespace -->
89+
7790 <module name="FileTabCharacter" />
7891
7992
@@ -139,6 +152,7 @@
139152
140153 <module name="ArrayTrailingComma" />
141154 <module name="AvoidInlineConditionals" />
155+ <module name="AvoidNoArgumentSuperConstructorCall" />
142156 <module name="CovariantEquals" />
143157 <module name="DeclarationOrder" />
144158 <module name="DefaultComesLast" />
@@ -172,7 +186,9 @@
172186 <module name="NestedForDepth" />
173187 <module name="NestedIfDepth" />
174188 <module name="NestedTryDepth" />
189+ <module name="NoArrayTrailingComma" />
175190 <module name="NoClone" />
191+ <module name="NoEnumTrailingComma" />
176192 <module name="NoFinalizer" />
177193 <module name="OneStatementPerLine" />
178194 <module name="OverloadMethodsDeclarationOrder" />
@@ -191,6 +207,9 @@
191207 <module name="SuperClone" />
192208 <module name="SuperFinalize" />
193209 <module name="UnnecessaryParentheses" />
210+ <module name="UnnecessarySemicolonAfterTypeMemberDeclaration" />
211+ <module name="UnnecessarySemicolonInEnumeration" />
212+ <module name="UnnecessarySemicolonInTryWithResources" />
194213 <module name="VariableDeclarationUsageDistance" />
195214
196215
@@ -209,6 +228,9 @@
209228 <!-- Javadoc Comments -->
210229
211230 <module name="AtclauseOrder" />
231+ <module name="InvalidJavadocPosition" />
232+ <module name="JavadocBlockTagLocation" />
233+ <module name="JavadocContentLocationCheck" />
212234 <module name="JavadocMethod" />
213235 <module name="JavadocParagraph" />
214236 <module name="JavadocStyle">
@@ -223,6 +245,9 @@
223245 <module name="JavadocVariable">
224246 <property name="scope" value="protected" />
225247 </module>
248+ <module name="MissingJavadocMethod" />
249+ <module name="MissingJavadocPackage" />
250+ <module name="MissingJavadocType" />
226251 <module name="NonEmptyAtclauseDescription" />
227252 <module name="SingleLineJavadoc" />
228253 <module name="SummaryJavadocCheck" />
@@ -313,9 +338,6 @@
313338
314339 <module name="AnonInnerLength" />
315340 <module name="ExecutableStatementCount" />
316- <module name="LineLength">
317- <property name="max" value="78" />
318- </module>
319341 <module name="MethodCount" />
320342 <module name="MethodLength" />
321343 <module name="OuterTypeNumber" />
--- a/config/pmd/pmdrules.xml
+++ b/config/pmd/pmdrules.xml
@@ -2,7 +2,7 @@
22
33 <!--
44 Custom rule set
5- for PMD [ https://pmd.github.io/ ] 6.13.0 or later
5+ for PMD [ https://pmd.github.io/ ] 6.21.0 or later
66
77 Copyright(c) 2019 olyutorskii
88 -->
@@ -11,7 +11,7 @@
1111 xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
1212 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1313 xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0
14- http://pmd.sourceforge.net/ruleset_2_0_0.xsd"
14+ https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
1515 name="Custom ruleset"
1616 >
1717
@@ -31,6 +31,7 @@
3131 <exclude name="OnlyOneReturn" />
3232 <exclude name="ShortVariable" />
3333 <exclude name="UnnecessaryLocalBeforeReturn" />
34+ <exclude name="UnnecessaryModifier" />
3435 <exclude name="UnnecessaryReturn" />
3536 </rule>
3637 <rule ref="category/java/codestyle.xml/ControlStatementBraces" >
--- a/pom.xml
+++ b/pom.xml
@@ -79,6 +79,7 @@
7979 <properties>
8080 <maven.compiler.source>1.8</maven.compiler.source>
8181 <maven.compiler.target>1.8</maven.compiler.target>
82+ <!--maven.compiler.release>8</maven.compiler.release-->
8283
8384 <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
8485 <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
@@ -87,27 +88,15 @@
8788 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
8889 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
8990
90- <locale>en</locale>
91- <site.locales>${locale}</site.locales>
92- <javadoc.locale>${locale}</javadoc.locale>
93- <spotbugs.jvmArgs>-Duser.language=${locale}</spotbugs.jvmArgs>
91+ <!-- DO NOT USE ${locale} with site-plugin -->
92+ <site.locales>en</site.locales>
93+ <javadoc.locale>en</javadoc.locale>
94+ <spotbugs.jvmArgs>-Duser.language=en</spotbugs.jvmArgs>
9495
95- <!-- Walk around: JDK 11 javadoc + Maven -->
96- <detectJavaApiLink>false</detectJavaApiLink>
97-
98- <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
99- <jacoco-plugin.version>0.8.3</jacoco-plugin.version>
100-
101- <checkstyle-plugin.version>3.0.0</checkstyle-plugin.version>
102- <checkstyleruntime.version>8.20</checkstyleruntime.version>
103- <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location>
104- <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
96+ <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location>
97+ <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
10598 <checkstyle.enable.rss>false</checkstyle.enable.rss>
10699
107- <pmd-plugin.version>3.12.0</pmd-plugin.version>
108- <pmd.analysisCache>true</pmd.analysisCache>
109-
110- <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
111100 <spotbugs.effort>Max</spotbugs.effort>
112101 <spotbugs.threshold>Low</spotbugs.threshold>
113102 <!-- for Jenkins -->
@@ -125,14 +114,14 @@
125114 <dependency>
126115 <groupId>junit</groupId>
127116 <artifactId>junit</artifactId>
128- <version>4.12</version>
117+ <version>4.13</version>
129118 <scope>test</scope>
130119 </dependency>
131120
132121 <dependency>
133122 <groupId>jp.osdn.jindolf</groupId>
134123 <artifactId>jinparser</artifactId>
135- <version>2.101.106</version>
124+ <version>2.102.2</version>
136125 <scope>compile</scope>
137126 </dependency>
138127
@@ -156,17 +145,131 @@
156145
157146 <plugin>
158147 <groupId>org.apache.maven.plugins</groupId>
148+ <artifactId>maven-clean-plugin</artifactId>
149+ <version>3.1.0</version>
150+ </plugin>
151+
152+ <plugin>
153+ <groupId>org.apache.maven.plugins</groupId>
154+ <artifactId>maven-enforcer-plugin</artifactId>
155+ <version>3.0.0-M3</version>
156+ </plugin>
157+
158+ <plugin>
159+ <groupId>org.apache.maven.plugins</groupId>
160+ <artifactId>maven-resources-plugin</artifactId>
161+ <version>3.1.0</version>
162+ </plugin>
163+
164+ <plugin>
165+ <groupId>org.apache.maven.plugins</groupId>
166+ <artifactId>maven-compiler-plugin</artifactId>
167+ <version>3.8.1</version>
168+ </plugin>
169+
170+ <plugin>
171+ <groupId>org.apache.maven.plugins</groupId>
172+ <artifactId>maven-surefire-plugin</artifactId>
173+ <version>3.0.0-M4</version>
174+ </plugin>
175+
176+ <plugin>
177+ <groupId>org.apache.maven.plugins</groupId>
178+ <artifactId>maven-surefire-report-plugin</artifactId>
179+ <version>3.0.0-M4</version>
180+ </plugin>
181+
182+ <plugin>
183+ <groupId>org.jacoco</groupId>
184+ <artifactId>jacoco-maven-plugin</artifactId>
185+ <version>0.8.5</version>
186+ </plugin>
187+
188+ <plugin>
189+ <groupId>org.apache.maven.plugins</groupId>
190+ <artifactId>maven-jar-plugin</artifactId>
191+ <version>3.2.0</version>
192+ </plugin>
193+
194+ <plugin>
195+ <groupId>org.apache.maven.plugins</groupId>
196+ <artifactId>maven-shade-plugin</artifactId>
197+ <version>3.2.1</version>
198+ </plugin>
199+
200+ <plugin>
201+ <groupId>org.apache.maven.plugins</groupId>
202+ <artifactId>maven-source-plugin</artifactId>
203+ <version>3.2.1</version>
204+ </plugin>
205+
206+ <plugin>
207+ <groupId>org.apache.maven.plugins</groupId>
208+ <artifactId>maven-install-plugin</artifactId>
209+ <version>3.0.0-M1</version>
210+ </plugin>
211+
212+ <plugin>
213+ <groupId>org.apache.maven.plugins</groupId>
214+ <artifactId>maven-deploy-plugin</artifactId>
215+ <version>3.0.0-M1</version>
216+ </plugin>
217+
218+ <plugin>
219+ <groupId>org.apache.maven.plugins</groupId>
220+ <artifactId>maven-site-plugin</artifactId>
221+ <version>3.8.2</version>
222+ </plugin>
223+
224+ <plugin>
225+ <groupId>org.apache.maven.plugins</groupId>
226+ <artifactId>maven-assembly-plugin</artifactId>
227+ <version>3.2.0</version>
228+ </plugin>
229+
230+ <plugin>
231+ <groupId>org.apache.maven.plugins</groupId>
232+ <artifactId>maven-project-info-reports-plugin</artifactId>
233+ <version>3.0.0</version>
234+ </plugin>
235+
236+ <plugin>
237+ <groupId>org.apache.maven.plugins</groupId>
238+ <artifactId>maven-javadoc-plugin</artifactId>
239+ <version>3.1.1</version>
240+ </plugin>
241+
242+ <plugin>
243+ <groupId>org.apache.maven.plugins</groupId>
244+ <artifactId>maven-jxr-plugin</artifactId>
245+ <version>3.0.0</version>
246+ </plugin>
247+
248+ <plugin>
249+ <groupId>org.apache.maven.plugins</groupId>
159250 <artifactId>maven-checkstyle-plugin</artifactId>
160- <version>${checkstyle-plugin.version}</version>
251+ <version>3.1.0</version>
161252 <dependencies>
162253 <dependency>
163254 <groupId>com.puppycrawl.tools</groupId>
164255 <artifactId>checkstyle</artifactId>
165- <version>${checkstyleruntime.version}</version>
256+ <version>8.29</version>
166257 </dependency>
167258 </dependencies>
168259 </plugin>
169260
261+ <plugin>
262+ <groupId>org.apache.maven.plugins</groupId>
263+ <artifactId>maven-pmd-plugin</artifactId>
264+ <version>3.13.0</version>
265+ </plugin>
266+
267+ <plugin>
268+ <groupId>com.github.spotbugs</groupId>
269+ <artifactId>spotbugs-maven-plugin</artifactId>
270+ <version>3.1.12.2</version>
271+ </plugin>
272+
170273 </plugins>
171274
172275 </pluginManagement>
@@ -179,7 +282,6 @@
179282 <plugin>
180283 <groupId>org.apache.maven.plugins</groupId>
181284 <artifactId>maven-clean-plugin</artifactId>
182- <version>3.1.0</version>
183285 <configuration>
184286 <filesets>
185287 <fileset>
@@ -206,7 +308,6 @@
206308 <plugin>
207309 <groupId>org.apache.maven.plugins</groupId>
208310 <artifactId>maven-enforcer-plugin</artifactId>
209- <version>3.0.0-M2</version>
210311 <executions>
211312 <execution>
212313 <id>enforce-versions</id>
@@ -229,14 +330,7 @@
229330
230331 <plugin>
231332 <groupId>org.apache.maven.plugins</groupId>
232- <artifactId>maven-resources-plugin</artifactId>
233- <version>3.1.0</version>
234- </plugin>
235-
236- <plugin>
237- <groupId>org.apache.maven.plugins</groupId>
238333 <artifactId>maven-compiler-plugin</artifactId>
239- <version>3.8.0</version>
240334 <configuration>
241335 <source>1.8</source> <!-- for NetBeans IDE -->
242336 <target>1.8</target>
@@ -251,7 +345,6 @@
251345 <plugin>
252346 <groupId>org.apache.maven.plugins</groupId>
253347 <artifactId>maven-surefire-plugin</artifactId>
254- <version>${surefire-plugin.version}</version>
255348 <configuration>
256349 <enableAssertions>true</enableAssertions>
257350 </configuration>
@@ -260,7 +353,6 @@
260353 <plugin>
261354 <groupId>org.jacoco</groupId>
262355 <artifactId>jacoco-maven-plugin</artifactId>
263- <version>${jacoco-plugin.version}</version>
264356 <executions>
265357 <execution>
266358 <id>default-prepare-agent</id>
@@ -268,40 +360,12 @@
268360 <goal>prepare-agent</goal>
269361 </goals>
270362 </execution>
271- <execution>
272- <id>default-report</id>
273- <phase>prepare-package</phase>
274- <goals>
275- <goal>report</goal>
276- </goals>
277- </execution>
278- <execution>
279- <id>default-check</id>
280- <goals>
281- <goal>check</goal>
282- </goals>
283- <configuration>
284- <rules>
285- <rule implementation="org.jacoco.maven.RuleConfiguration">
286- <element>BUNDLE</element>
287- <limits>
288- <limit implementation="org.jacoco.report.check.Limit">
289- <counter>COMPLEXITY</counter>
290- <value>COVEREDRATIO</value>
291- <minimum>0.0</minimum>
292- </limit>
293- </limits>
294- </rule>
295- </rules>
296- </configuration>
297- </execution>
298363 </executions>
299364 </plugin>
300365
301366 <plugin>
302367 <groupId>org.apache.maven.plugins</groupId>
303368 <artifactId>maven-jar-plugin</artifactId>
304- <version>3.1.1</version>
305369 <configuration>
306370 <archive>
307371 <manifest>
@@ -321,7 +385,6 @@
321385 <plugin>
322386 <groupId>org.apache.maven.plugins</groupId>
323387 <artifactId>maven-shade-plugin</artifactId>
324- <version>3.2.1</version>
325388 <executions>
326389 <execution>
327390 <phase>package</phase>
@@ -335,60 +398,40 @@
335398 </executions>
336399 </plugin>
337400
401+ <!-- site lifecycle -->
402+
338403 <plugin>
339404 <groupId>org.apache.maven.plugins</groupId>
340- <artifactId>maven-source-plugin</artifactId>
341- <version>3.0.1</version>
405+ <artifactId>maven-site-plugin</artifactId>
342406 <configuration>
343- <includePom>true</includePom>
344- <archive>
345- <manifestEntries>
346- <Built-By>${project.organization.name}</Built-By>
347- </manifestEntries>
348- </archive>
407+ <locales>${site.locales}</locales>
349408 </configuration>
350- <executions>
351- <execution>
352- <id>attach-sources</id>
353- <phase>verify</phase>
354- <goals>
355- <goal>jar-no-fork</goal>
356- </goals>
357- </execution>
358- </executions>
359- </plugin>
360-
361- <plugin>
362- <groupId>org.apache.maven.plugins</groupId>
363- <artifactId>maven-install-plugin</artifactId>
364- <version>3.0.0-M1</version>
365409 </plugin>
366410
367- <plugin>
368- <groupId>org.apache.maven.plugins</groupId>
369- <artifactId>maven-deploy-plugin</artifactId>
370- <version>3.0.0-M1</version>
371- </plugin>
372411
373-
374- <!-- site lifecycle -->
412+ <!-- goals without lifecycle -->
375413
376414 <plugin>
377415 <groupId>org.apache.maven.plugins</groupId>
378- <artifactId>maven-site-plugin</artifactId>
379- <version>3.7.1</version>
416+ <artifactId>maven-javadoc-plugin</artifactId>
380417 <configuration>
381- <locales>${site.locales}</locales>
418+ <locale>${javadoc.locale}</locale>
419+ <!-- for JDK11 javadoc -->
420+ <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
421+ <source>${maven.compiler.source}</source>
422+ <notimestamp>true</notimestamp>
423+ <header>${project.name} ${project.version} API</header>
424+ <nohelp>true</nohelp>
425+ <author>false</author>
426+ <quiet>true</quiet>
427+ <doclint>all</doclint>
428+ <show>protected</show>
382429 </configuration>
383430 </plugin>
384431
385-
386- <!-- goals without lifecycle -->
387-
388432 <plugin>
389433 <groupId>org.apache.maven.plugins</groupId>
390434 <artifactId>maven-assembly-plugin</artifactId>
391- <version>3.1.1</version>
392435 <configuration>
393436 <descriptors>
394437 <descriptor>src/assembly/src.xml</descriptor>
@@ -398,27 +441,14 @@
398441
399442 <plugin>
400443 <groupId>org.apache.maven.plugins</groupId>
401- <artifactId>maven-checkstyle-plugin</artifactId>
402- <version>${checkstyle-plugin.version}</version>
403- </plugin>
404-
405- <plugin>
406- <groupId>org.apache.maven.plugins</groupId>
407444 <artifactId>maven-pmd-plugin</artifactId>
408- <version>${pmd-plugin.version}</version>
409445 <configuration>
410446 <rulesets>
411- <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
447+ <ruleset>config/pmd/pmdrules.xml</ruleset>
412448 </rulesets>
413449 </configuration>
414450 </plugin>
415451
416- <plugin>
417- <groupId>com.github.spotbugs</groupId>
418- <artifactId>spotbugs-maven-plugin</artifactId>
419- <version>${spotbugs-plugin.version}</version>
420- </plugin>
421-
422452 </plugins>
423453
424454 <resources>
@@ -475,7 +505,6 @@
475505 <plugin>
476506 <groupId>org.apache.maven.plugins</groupId>
477507 <artifactId>maven-project-info-reports-plugin</artifactId>
478- <version>3.0.0</version>
479508 <configuration>
480509 <linkOnly>true</linkOnly>
481510 <offline>true</offline>
@@ -490,7 +519,6 @@
490519 <report>dependencies</report>
491520 <report>dependency-convergence</report>
492521 <report>plugins</report>
493- <report>plugin-management</report>
494522 <report>team</report>
495523 <report>issue-management</report>
496524 <report>scm</report>
@@ -500,6 +528,7 @@
500528 <report>ci-management</report>
501529 <report>mailing-lists</report>
502530 <report>modules</report>
531+ <report>plugin-management</report>
503532 -->
504533 </reports>
505534 </reportSet>
@@ -509,17 +538,18 @@
509538 <plugin>
510539 <groupId>org.apache.maven.plugins</groupId>
511540 <artifactId>maven-javadoc-plugin</artifactId>
512- <version>3.1.0</version>
513541 <configuration>
514- <author>false</author>
515- <notimestamp>true</notimestamp>
516- <quiet>true</quiet>
517- <show>protected</show>
518- <header>${project.name} ${project.version} API</header>
519- <version>true</version>
520542 <locale>${javadoc.locale}</locale>
521543 <!-- for JDK11 javadoc -->
522544 <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
545+ <source>${maven.compiler.source}</source>
546+ <notimestamp>true</notimestamp>
547+ <header>${project.name} ${project.version} API</header>
548+ <nohelp>true</nohelp>
549+ <author>false</author>
550+ <quiet>true</quiet>
551+ <doclint>all</doclint>
552+ <show>protected</show>
523553 </configuration>
524554 <reportSets>
525555 <reportSet>
@@ -533,19 +563,16 @@
533563 <plugin>
534564 <groupId>org.apache.maven.plugins</groupId>
535565 <artifactId>maven-jxr-plugin</artifactId>
536- <version>3.0.0</version>
537566 </plugin>
538567
539568 <plugin>
540569 <groupId>org.apache.maven.plugins</groupId>
541570 <artifactId>maven-surefire-report-plugin</artifactId>
542- <version>${surefire-plugin.version}</version>
543571 </plugin>
544572
545573 <plugin>
546574 <groupId>org.jacoco</groupId>
547575 <artifactId>jacoco-maven-plugin</artifactId>
548- <version>${jacoco-plugin.version}</version>
549576 <reportSets>
550577 <reportSet>
551578 <reports>
@@ -558,7 +585,6 @@
558585 <plugin>
559586 <groupId>org.apache.maven.plugins</groupId>
560587 <artifactId>maven-checkstyle-plugin</artifactId>
561- <version>${checkstyle-plugin.version}</version>
562588 <reportSets>
563589 <reportSet>
564590 <reports>
@@ -571,10 +597,9 @@
571597 <plugin>
572598 <groupId>org.apache.maven.plugins</groupId>
573599 <artifactId>maven-pmd-plugin</artifactId>
574- <version>${pmd-plugin.version}</version>
575600 <configuration>
576601 <rulesets>
577- <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
602+ <ruleset>config/pmd/pmdrules.xml</ruleset>
578603 </rulesets>
579604 </configuration>
580605 <reportSets>
@@ -590,14 +615,76 @@
590615 <plugin>
591616 <groupId>com.github.spotbugs</groupId>
592617 <artifactId>spotbugs-maven-plugin</artifactId>
593- <version>${spotbugs-plugin.version}</version>
594618 </plugin>
595619
596620 </plugins>
597621
598622 </reporting>
599623
600- <profiles/>
624+ <profiles>
625+
626+ <profile>
627+ <id>release-profile</id>
628+
629+ <activation>
630+ <property>
631+ <name>performRelease</name>
632+ <value>true</value>
633+ </property>
634+ </activation>
635+
636+ <build>
637+ <plugins>
638+
639+ <plugin>
640+ <inherited>true</inherited>
641+ <groupId>org.apache.maven.plugins</groupId>
642+ <artifactId>maven-source-plugin</artifactId>
643+ <configuration>
644+ <includePom>true</includePom>
645+ <archive>
646+ <manifestEntries>
647+ <Built-By>${project.organization.name}</Built-By>
648+ </manifestEntries>
649+ </archive>
650+ </configuration>
651+ <executions>
652+ <execution>
653+ <id>attach-sources</id>
654+ <goals>
655+ <goal>jar-no-fork</goal>
656+ </goals>
657+ </execution>
658+ </executions>
659+ </plugin>
660+
661+ <plugin>
662+ <inherited>true</inherited>
663+ <groupId>org.apache.maven.plugins</groupId>
664+ <artifactId>maven-javadoc-plugin</artifactId>
665+ <configuration>
666+ <show>protected</show>
667+ <archive>
668+ <manifestEntries>
669+ <Built-By>${project.organization.name}</Built-By>
670+ </manifestEntries>
671+ </archive>
672+ </configuration>
673+ <executions>
674+ <execution>
675+ <id>attach-javadocs</id>
676+ <goals>
677+ <goal>jar</goal>
678+ </goals>
679+ </execution>
680+ </executions>
681+ </plugin>
682+
683+ </plugins>
684+ </build>
685+ </profile>
686+
687+ </profiles>
601688
602689 </project>
603690
--- a/src/assembly/src.xml
+++ b/src/assembly/src.xml
@@ -8,13 +8,13 @@
88 >
99
1010 <!--
11- OSDN.net用リリースファイル構成定義ファイル
12- Maven3 assembly用
11+ for maven-assembly-plugin
1312 -->
1413
1514 <id>src</id>
1615
1716 <formats>
17+ <format>tar.gz</format>
1818 <format>zip</format>
1919 </formats>
2020
Show on old repository browser