OSDN Git Service

start 1.207.3-SNAPSHOT
[jindolf/JinCore.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!--
4     Maven3 POM definition file
5 -->
6
7 <project
8   xmlns="http://maven.apache.org/POM/4.0.0"
9   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
11   http://maven.apache.org/xsd/maven-4.0.0.xsd"
12 >
13     <modelVersion>4.0.0</modelVersion>
14     <!--parent/-->
15
16     <groupId>jp.sourceforge.jindolf</groupId>
17     <artifactId>jincore</artifactId>
18
19     <version>1.207.3-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>JinCore</name>
23
24     <description><!--
25 -->JinCoreライブラリは、Jindolf プロジェクトのコア共通部分を構成する<!--
26 -->Javaパッケージです。<!--
27  --></description>
28
29     <url>https://ja.osdn.net/projects/jindolf/devel/</url>
30     <inceptionYear>2009</inceptionYear>
31
32     <organization>
33         <name>Jindolf Partners</name>
34         <url>https://ja.osdn.net/projects/jindolf/devel/</url>
35     </organization>
36
37     <licenses>
38         <license>
39             <name>The MIT License</name>
40             <url>https://opensource.org/licenses/MIT</url>
41             <distribution>manual</distribution>
42         </license>
43     </licenses>
44
45     <developers>
46         <developer>
47             <id>olyutorskii</id>
48             <url>https://sites.google.com/site/olyutorskiipit/</url>
49             <organization>Jindolf Partners</organization>
50             <organizationUrl>https://ja.osdn.net/projects/jindolf/devel/</organizationUrl>
51             <roles>
52                 <role>Project Founder</role>
53                 <role>Java Developer</role>
54             </roles>
55         </developer>
56     </developers>
57
58     <contributors/>
59     <mailingLists/>
60
61     <!-- prerequisites/ -->
62
63     <modules/>
64
65     <scm>
66         <connection>scm:git:git://git.osdn.net/gitroot/jindolf/JinCore.git</connection>
67         <developerConnection>scm:git:https://scm.osdn.net/gitroot/jindolf/JinCore.git</developerConnection>
68         <url>https://osdn.net/projects/jindolf/scm/git/JinCore/</url>
69     </scm>
70
71     <issueManagement>
72         <system>OSDN.net</system>
73         <url>https://ja.osdn.net/projects/jindolf/ticket/</url>
74     </issueManagement>
75
76     <ciManagement/>
77     <distributionManagement/>
78
79     <properties>
80         <maven.compiler.source>1.8</maven.compiler.source>
81         <maven.compiler.target>1.8</maven.compiler.target>
82         <!--maven.compiler.release>8</maven.compiler.release-->
83
84         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
85         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
86
87         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
88         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
89         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
90
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>
95
96         <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location>
97         <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
98         <checkstyle.enable.rss>false</checkstyle.enable.rss>
99
100         <spotbugs.effort>Max</spotbugs.effort>
101         <spotbugs.threshold>Low</spotbugs.threshold>
102         <!-- for Jenkins -->
103         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
104
105     </properties>
106
107     <dependencyManagement/>
108
109     <dependencies>
110
111         <dependency>
112             <groupId>junit</groupId>
113             <artifactId>junit</artifactId>
114             <version>4.13</version>
115             <scope>test</scope>
116         </dependency>
117
118     </dependencies>
119
120     <repositories/>
121     <pluginRepositories/>
122
123     <build>
124
125         <pluginManagement>
126
127             <plugins>
128
129                 <plugin>
130                     <groupId>org.apache.maven.plugins</groupId>
131                     <artifactId>maven-clean-plugin</artifactId>
132                     <version>3.1.0</version>
133                 </plugin>
134
135                 <plugin>
136                     <groupId>org.apache.maven.plugins</groupId>
137                     <artifactId>maven-enforcer-plugin</artifactId>
138                     <version>3.0.0-M3</version>
139                 </plugin>
140
141                 <plugin>
142                     <groupId>org.apache.maven.plugins</groupId>
143                     <artifactId>maven-resources-plugin</artifactId>
144                     <version>3.1.0</version>
145                 </plugin>
146
147                 <plugin>
148                     <groupId>org.apache.maven.plugins</groupId>
149                     <artifactId>maven-compiler-plugin</artifactId>
150                     <version>3.8.1</version>
151                 </plugin>
152
153                 <plugin>
154                     <groupId>org.apache.maven.plugins</groupId>
155                     <artifactId>maven-surefire-plugin</artifactId>
156                     <version>3.0.0-M4</version>
157                 </plugin>
158
159                 <plugin>
160                     <groupId>org.apache.maven.plugins</groupId>
161                     <artifactId>maven-surefire-report-plugin</artifactId>
162                     <version>3.0.0-M4</version>
163                 </plugin>
164
165                 <plugin>
166                     <groupId>org.jacoco</groupId>
167                     <artifactId>jacoco-maven-plugin</artifactId>
168                     <version>0.8.5</version>
169                 </plugin>
170
171                 <plugin>
172                     <groupId>org.apache.maven.plugins</groupId>
173                     <artifactId>maven-jar-plugin</artifactId>
174                     <version>3.2.0</version>
175                 </plugin>
176
177                 <plugin>
178                     <groupId>org.apache.maven.plugins</groupId>
179                     <artifactId>maven-source-plugin</artifactId>
180                     <version>3.2.1</version>
181                 </plugin>
182
183                 <plugin>
184                     <groupId>org.apache.maven.plugins</groupId>
185                     <artifactId>maven-install-plugin</artifactId>
186                     <version>3.0.0-M1</version>
187                 </plugin>
188
189                 <plugin>
190                     <groupId>org.apache.maven.plugins</groupId>
191                     <artifactId>maven-deploy-plugin</artifactId>
192                     <version>3.0.0-M1</version>
193                 </plugin>
194
195                 <plugin>
196                     <groupId>org.apache.maven.plugins</groupId>
197                     <artifactId>maven-site-plugin</artifactId>
198                     <version>3.8.2</version>
199                 </plugin>
200
201                 <plugin>
202                     <groupId>org.apache.maven.plugins</groupId>
203                     <artifactId>maven-assembly-plugin</artifactId>
204                     <version>3.2.0</version>
205                 </plugin>
206
207                 <plugin>
208                     <groupId>org.apache.maven.plugins</groupId>
209                     <artifactId>maven-project-info-reports-plugin</artifactId>
210                     <version>3.0.0</version>
211                 </plugin>
212
213                 <plugin>
214                     <groupId>org.apache.maven.plugins</groupId>
215                     <artifactId>maven-javadoc-plugin</artifactId>
216                     <version>3.1.1</version>
217                 </plugin>
218
219                 <plugin>
220                     <groupId>org.apache.maven.plugins</groupId>
221                     <artifactId>maven-jxr-plugin</artifactId>
222                     <version>3.0.0</version>
223                 </plugin>
224
225                 <plugin>
226                     <groupId>org.apache.maven.plugins</groupId>
227                     <artifactId>maven-checkstyle-plugin</artifactId>
228                     <version>3.1.0</version>
229                     <dependencies>
230                         <dependency>
231                             <groupId>com.puppycrawl.tools</groupId>
232                             <artifactId>checkstyle</artifactId>
233                             <version>8.29</version>
234                         </dependency>
235                     </dependencies>
236                 </plugin>
237
238                 <plugin>
239                     <groupId>org.apache.maven.plugins</groupId>
240                     <artifactId>maven-pmd-plugin</artifactId>
241                     <version>3.13.0</version>
242                 </plugin>
243
244                 <plugin>
245                     <groupId>com.github.spotbugs</groupId>
246                     <artifactId>spotbugs-maven-plugin</artifactId>
247                     <version>3.1.12.2</version>
248                 </plugin>
249
250             </plugins>
251
252         </pluginManagement>
253
254         <plugins>
255
256
257             <!-- clean lifecycle -->
258
259             <plugin>
260                 <groupId>org.apache.maven.plugins</groupId>
261                 <artifactId>maven-clean-plugin</artifactId>
262                 <configuration>
263                     <filesets>
264                         <fileset>
265                             <directory>${project.basedir}</directory>
266                             <includes>
267                                 <include>**/*~</include>
268                                 <include>**/*.swp</include>
269                                 <include>**/*.DS_Store</include>
270                                 <include>**/._*</include>
271                                 <include>**/__MACOSX</include>
272                                 <include>**/Thumbs.db</include>
273                                 <include>**/desktop.ini</include>
274                                 <include>**/core</include>
275                                 <include>**/hs_err_pid*</include>
276                             </includes>
277                         </fileset>
278                     </filesets>
279                 </configuration>
280             </plugin>
281
282
283             <!-- default lifecycle -->
284
285             <plugin>
286                 <groupId>org.apache.maven.plugins</groupId>
287                 <artifactId>maven-enforcer-plugin</artifactId>
288                 <executions>
289                     <execution>
290                         <id>enforce-versions</id>
291                         <goals>
292                             <goal>enforce</goal>
293                         </goals>
294                         <configuration>
295                             <rules>
296                                 <requireMavenVersion>
297                                     <version>[3.3.9,)</version>
298                                 </requireMavenVersion>
299                                 <requireJavaVersion>
300                                     <version>[1.8,)</version>
301                                 </requireJavaVersion>
302                             </rules>
303                         </configuration>
304                     </execution>
305                 </executions>
306             </plugin>
307
308             <plugin>
309                 <groupId>org.apache.maven.plugins</groupId>
310                 <artifactId>maven-compiler-plugin</artifactId>
311                 <configuration>
312                     <source>1.8</source>  <!-- for NetBeans IDE -->
313                     <target>1.8</target>
314                     <compilerArguments>
315                         <Xlint/>
316                     </compilerArguments>
317                     <showWarnings>true</showWarnings>
318                     <showDeprecation>true</showDeprecation>
319                 </configuration>
320             </plugin>
321
322             <plugin>
323                 <groupId>org.apache.maven.plugins</groupId>
324                 <artifactId>maven-surefire-plugin</artifactId>
325                 <configuration>
326                     <enableAssertions>true</enableAssertions>
327                 </configuration>
328             </plugin>
329
330             <plugin>
331                 <groupId>org.jacoco</groupId>
332                 <artifactId>jacoco-maven-plugin</artifactId>
333                 <executions>
334                     <execution>
335                         <id>default-prepare-agent</id>
336                         <goals>
337                             <goal>prepare-agent</goal>
338                         </goals>
339                     </execution>
340                 </executions>
341             </plugin>
342
343             <plugin>
344                 <groupId>org.apache.maven.plugins</groupId>
345                 <artifactId>maven-jar-plugin</artifactId>
346                 <configuration>
347                     <archive>
348                         <manifest>
349                             <addDefaultImplementationEntries>
350                                 true
351                             </addDefaultImplementationEntries>
352                         </manifest>
353                         <manifestEntries>
354                             <Built-By>${project.organization.name}</Built-By>
355                         </manifestEntries>
356                     </archive>
357                 </configuration>
358             </plugin>
359
360
361             <!-- site lifecycle -->
362
363             <plugin>
364                 <groupId>org.apache.maven.plugins</groupId>
365                 <artifactId>maven-site-plugin</artifactId>
366                 <configuration>
367                     <locales>${site.locales}</locales>
368                 </configuration>
369             </plugin>
370
371
372             <!-- goals without lifecycle -->
373
374             <plugin>
375                 <groupId>org.apache.maven.plugins</groupId>
376                 <artifactId>maven-javadoc-plugin</artifactId>
377                 <configuration>
378                     <locale>${javadoc.locale}</locale>
379                     <!-- for JDK11 javadoc -->
380                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
381                     <source>${maven.compiler.source}</source>
382                     <notimestamp>true</notimestamp>
383                     <header>${project.name} ${project.version} API</header>
384                     <nohelp>true</nohelp>
385                     <author>false</author>
386                     <quiet>true</quiet>
387                     <doclint>all</doclint>
388                     <show>protected</show>
389                 </configuration>
390             </plugin>
391
392             <plugin>
393                 <groupId>org.apache.maven.plugins</groupId>
394                 <artifactId>maven-assembly-plugin</artifactId>
395                 <configuration>
396                     <descriptors>
397                         <descriptor>src/assembly/src.xml</descriptor>
398                     </descriptors>
399                 </configuration>
400             </plugin>
401
402             <plugin>
403                 <groupId>org.apache.maven.plugins</groupId>
404                 <artifactId>maven-pmd-plugin</artifactId>
405                 <configuration>
406                     <rulesets>
407                         <ruleset>config/pmd/pmdrules.xml</ruleset>
408                     </rulesets>
409                 </configuration>
410             </plugin>
411
412         </plugins>
413
414         <resources>
415
416             <resource>
417                 <directory>src/main/resources</directory>
418                 <filtering>true</filtering>
419                 <includes>
420                     <include>**/version.properties</include>
421                 </includes>
422             </resource>
423
424             <resource>
425                 <directory>src/main/resources</directory>
426                 <includes>
427                     <include>**/*.txt</include>
428
429                     <include>**/*.properties</include>
430
431                     <include>**/*.xml</include>
432                     <include>**/*.xsd</include>
433                     <include>**/*.dtd</include>
434
435                     <include>**/*.html</include>
436                     <include>**/*.htm</include>
437                     <include>**/*.css</include>
438
439                     <include>**/*.png</include>
440                     <include>**/*.gif</include>
441                     <include>**/*.jpeg</include>
442                     <include>**/*.jpg</include>
443                 </includes>
444                 <excludes>
445                     <exclude>**/version.properties</exclude>
446
447                     <exclude>**/.DS_Store</exclude>
448                     <exclude>**/__MACOSX</exclude>
449                     <exclude>**/Thumbs.db</exclude>
450                     <exclude>**/thumbs.db</exclude>
451                     <exclude>**/Desktop.ini</exclude>
452                     <exclude>**/desktop.ini</exclude>
453                     <exclude>**/core</exclude>
454                 </excludes>
455             </resource>
456
457         </resources>
458
459     </build>
460
461     <reporting>
462
463         <plugins>
464
465             <plugin>
466                 <groupId>org.apache.maven.plugins</groupId>
467                 <artifactId>maven-project-info-reports-plugin</artifactId>
468                 <configuration>
469                     <linkOnly>true</linkOnly>
470                     <offline>true</offline>
471                 </configuration>
472                 <reportSets>
473                     <reportSet>
474                         <reports>
475                             <report>index</report>
476                             <report>summary</report>
477                             <report>licenses</report>
478                             <report>dependency-info</report>
479                             <report>dependencies</report>
480                             <report>dependency-convergence</report>
481                             <report>plugins</report>
482                             <report>team</report>
483                             <report>issue-management</report>
484                             <report>scm</report>
485 <!--
486                             <report>dependency-management</report>
487                             <report>distribution-management</report>
488                             <report>ci-management</report>
489                             <report>mailing-lists</report>
490                             <report>modules</report>
491                             <report>plugin-management</report>
492 -->
493                         </reports>
494                     </reportSet>
495                 </reportSets>
496             </plugin>
497
498             <plugin>
499                 <groupId>org.apache.maven.plugins</groupId>
500                 <artifactId>maven-javadoc-plugin</artifactId>
501                 <configuration>
502                     <locale>${javadoc.locale}</locale>
503                     <!-- for JDK11 javadoc -->
504                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
505                     <source>${maven.compiler.source}</source>
506                     <notimestamp>true</notimestamp>
507                     <header>${project.name} ${project.version} API</header>
508                     <nohelp>true</nohelp>
509                     <author>false</author>
510                     <quiet>true</quiet>
511                     <doclint>all</doclint>
512                     <show>protected</show>
513                 </configuration>
514                 <reportSets>
515                     <reportSet>
516                         <reports>
517                             <report>javadoc</report>
518                         </reports>
519                     </reportSet>
520                 </reportSets>
521             </plugin>
522
523             <plugin>
524                 <groupId>org.apache.maven.plugins</groupId>
525                 <artifactId>maven-jxr-plugin</artifactId>
526             </plugin>
527
528             <plugin>
529                 <groupId>org.apache.maven.plugins</groupId>
530                 <artifactId>maven-surefire-report-plugin</artifactId>
531             </plugin>
532
533             <plugin>
534                 <groupId>org.jacoco</groupId>
535                 <artifactId>jacoco-maven-plugin</artifactId>
536                 <reportSets>
537                     <reportSet>
538                         <reports>
539                             <report>report</report>
540                         </reports>
541                     </reportSet>
542                 </reportSets>
543             </plugin>
544
545             <plugin>
546                 <groupId>org.apache.maven.plugins</groupId>
547                 <artifactId>maven-checkstyle-plugin</artifactId>
548                 <reportSets>
549                     <reportSet>
550                         <reports>
551                             <report>checkstyle</report>
552                         </reports>
553                     </reportSet>
554                 </reportSets>
555             </plugin>
556
557             <plugin>
558                 <groupId>org.apache.maven.plugins</groupId>
559                 <artifactId>maven-pmd-plugin</artifactId>
560                 <configuration>
561                     <rulesets>
562                         <ruleset>config/pmd/pmdrules.xml</ruleset>
563                     </rulesets>
564                 </configuration>
565                 <reportSets>
566                     <reportSet>
567                         <reports>
568                             <report>pmd</report>
569                             <report>cpd</report>
570                         </reports>
571                     </reportSet>
572                 </reportSets>
573             </plugin>
574
575             <plugin>
576                 <groupId>com.github.spotbugs</groupId>
577                 <artifactId>spotbugs-maven-plugin</artifactId>
578             </plugin>
579
580         </plugins>
581
582     </reporting>
583
584     <profiles>
585
586         <profile>
587             <id>release-profile</id>
588
589             <activation>
590                 <property>
591                     <name>performRelease</name>
592                     <value>true</value>
593                 </property>
594             </activation>
595
596             <build>
597                 <plugins>
598
599                     <plugin>
600                         <inherited>true</inherited>
601                         <groupId>org.apache.maven.plugins</groupId>
602                         <artifactId>maven-source-plugin</artifactId>
603                         <configuration>
604                             <includePom>true</includePom>
605                             <archive>
606                                 <manifestEntries>
607                                     <Built-By>${project.organization.name}</Built-By>
608                                 </manifestEntries>
609                             </archive>
610                         </configuration>
611                         <executions>
612                             <execution>
613                                 <id>attach-sources</id>
614                                 <goals>
615                                     <goal>jar-no-fork</goal>
616                                 </goals>
617                             </execution>
618                         </executions>
619                     </plugin>
620
621                     <plugin>
622                         <inherited>true</inherited>
623                         <groupId>org.apache.maven.plugins</groupId>
624                         <artifactId>maven-javadoc-plugin</artifactId>
625                         <configuration>
626                             <show>protected</show>
627                             <archive>
628                                 <manifestEntries>
629                                     <Built-By>${project.organization.name}</Built-By>
630                                 </manifestEntries>
631                             </archive>
632                         </configuration>
633                         <executions>
634                             <execution>
635                                 <id>attach-javadocs</id>
636                                 <goals>
637                                     <goal>jar</goal>
638                                 </goals>
639                             </execution>
640                         </executions>
641                     </plugin>
642
643                 </plugins>
644             </build>
645         </profile>
646
647     </profiles>
648
649 </project>
650
651 <!-- EOF -->