OSDN Git Service

コマンドライン解析部の整理見直し
[jindolf/JinArchiver.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/maven-v4_0_0.xsd"
12 >
13     <modelVersion>4.0.0</modelVersion>
14     <!--parent/-->
15
16     <groupId>jp.sourceforge.jindolf</groupId>
17     <artifactId>jinarchiver</artifactId>
18
19     <version>1.502.3-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>JinArchiver</name>
23
24     <description><!--
25 -->JinArchiverは、人狼BBSの過去ログを独自のXML形式でローカルディスクに<!--
26 -->保存するためのツールです。<!--
27  --></description>
28
29     <url>https://osdn.jp/projects/jindolf/devel/</url>
30     <inceptionYear>2009</inceptionYear>
31
32     <organization>
33         <name>Jindolf Partners</name>
34         <url>https://osdn.jp/projects/jindolf/devel/</url>
35     </organization>
36
37     <licenses>
38         <license>
39             <name>The MIT License</name>
40             <url>https://opensource.org/licenses/mit-license.php</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://osdn.jp/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         <maven>3.3</maven>
63     </prerequisites>
64
65     <modules/>
66
67     <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>
71     </scm>
72
73     <issueManagement>
74         <system>OSDN.JP</system>
75         <url>https://osdn.jp/projects/jindolf/ticket/</url>
76     </issueManagement>
77
78     <ciManagement/>
79     <distributionManagement/>
80
81     <properties>
82         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
83
84         <maven.compiler.source>1.7</maven.compiler.source>
85         <maven.compiler.target>1.7</maven.compiler.target>
86
87         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
88         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
89
90         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
91         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
92
93         <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
94
95         <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
96         <checkstyle.enable.rss>false</checkstyle.enable.rss>
97
98         <project.mainentry>jp.sourceforge.jindolf.archiver.JinArchiver</project.mainentry>
99
100     </properties>
101
102     <dependencyManagement/>
103
104     <dependencies>
105
106         <dependency>
107             <groupId>junit</groupId>
108             <artifactId>junit</artifactId>
109             <version>4.12</version>
110             <scope>test</scope>
111         </dependency>
112
113         <dependency>
114             <groupId>jp.sourceforge.jindolf</groupId>
115             <artifactId>jinparser</artifactId>
116             <version>1.408.4</version>
117             <scope>compile</scope>
118         </dependency>
119
120     </dependencies>
121
122     <repositories/>
123     <pluginRepositories/>
124
125     <build>
126         <pluginManagement/>
127
128         <plugins>
129
130             <plugin>
131                 <groupId>org.apache.maven.plugins</groupId>
132                 <artifactId>maven-enforcer-plugin</artifactId>
133                 <version>1.4.1</version>
134                 <configuration>
135                     <rules>
136                         <requireMavenVersion>
137                             <version>[3.3,)</version>
138                         </requireMavenVersion>
139                         <requireJavaVersion>
140                             <version>[1.7,)</version>
141                         </requireJavaVersion>
142                     </rules>
143                 </configuration>
144             </plugin>
145
146             <plugin>
147                 <groupId>org.apache.maven.plugins</groupId>
148                 <artifactId>maven-install-plugin</artifactId>
149                 <version>2.5.2</version>
150             </plugin>
151
152             <plugin>
153                 <groupId>org.apache.maven.plugins</groupId>
154                 <artifactId>maven-clean-plugin</artifactId>
155                 <version>3.0.0</version>
156                 <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>
171                 </configuration>
172             </plugin>
173
174             <plugin>
175                 <groupId>org.apache.maven.plugins</groupId>
176                 <artifactId>maven-compiler-plugin</artifactId>
177                 <version>3.5.1</version>
178                 <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>
186                 </configuration>
187             </plugin>
188
189             <plugin>
190                 <groupId>org.apache.maven.plugins</groupId>
191                 <artifactId>maven-jar-plugin</artifactId>
192                 <version>3.0.0</version>
193                 <configuration>
194                     <archive>
195                         <manifest>
196                             <mainClass>${project.mainentry}</mainClass>
197                         </manifest>
198                         <manifestEntries>
199                             <Built-By>${project.organization.name}</Built-By>
200                         </manifestEntries>
201                     </archive>
202                 </configuration>
203             </plugin>
204
205             <plugin>
206                 <groupId>org.apache.maven.plugins</groupId>
207                 <artifactId>maven-shade-plugin</artifactId>
208                 <version>2.4.3</version>
209                 <executions>
210                     <execution>
211                         <phase>package</phase>
212                         <goals>
213                           <goal>shade</goal>
214                         </goals>
215                         <configuration>
216                             <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>
226                         </configuration>
227                     </execution>
228                 </executions>
229             </plugin>
230
231             <plugin>
232                 <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>
245                 <artifactId>maven-source-plugin</artifactId>
246                 <version>3.0.0</version>
247                 <configuration>
248                     <includePom>true</includePom>
249                     <archive>
250                         <manifestEntries>
251                             <Built-By>${project.organization.name}</Built-By>
252                         </manifestEntries>
253                     </archive>
254                 </configuration>
255                 <executions>
256                     <execution>
257                         <id>attach-sources</id>
258                         <phase>verify</phase>
259                         <goals>
260                           <goal>jar-no-fork</goal>
261                         </goals>
262                     </execution>
263                 </executions>
264             </plugin>
265
266             <plugin>
267                 <groupId>org.apache.maven.plugins</groupId>
268                 <artifactId>maven-resources-plugin</artifactId>
269                 <version>3.0.0</version>
270             </plugin>
271
272             <plugin>
273                 <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>
280             </plugin>
281
282             <plugin>
283                 <groupId>org.apache.maven.plugins</groupId>
284                 <artifactId>maven-site-plugin</artifactId>
285                 <version>3.5.1</version>
286                 <configuration>
287                     <generateReports>true</generateReports>
288                     <locales>ja</locales>
289                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
290                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
291                 </configuration>
292             </plugin>
293
294             <plugin>
295                 <groupId>org.apache.maven.plugins</groupId>
296                 <artifactId>maven-checkstyle-plugin</artifactId>
297                 <version>2.15</version>
298                 <!-- config from property value -->
299             </plugin>
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>
338             </plugin>
339
340         </plugins>
341
342         <resources>
343
344             <resource>
345                 <directory>src/main/resources</directory>
346                 <filtering>true</filtering>
347                 <includes>
348                     <include>**/version.properties</include>
349                 </includes>
350             </resource>
351
352             <resource>
353                 <directory>src/main/resources</directory>
354                 <includes>
355                     <include>**/*.txt</include>
356
357                     <include>**/*.properties</include>
358
359                     <include>**/*.xml</include>
360                     <include>**/*.xsd</include>
361                     <include>**/*.dtd</include>
362
363                     <include>**/*.html</include>
364                     <include>**/*.htm</include>
365                     <include>**/*.css</include>
366
367                     <include>**/*.png</include>
368                     <include>**/*.gif</include>
369                     <include>**/*.jpeg</include>
370                     <include>**/*.jpg</include>
371                 </includes>
372                 <excludes>
373                     <exclude>**/version.properties</exclude>
374
375                     <exclude>**/.DS_Store</exclude>
376                     <exclude>**/_MACOSX</exclude>
377                     <exclude>**/Thumbs.db</exclude>
378                     <exclude>**/thumbs.db</exclude>
379                     <exclude>**/Desktop.ini</exclude>
380                     <exclude>**/desktop.ini</exclude>
381                     <exclude>**/core</exclude>
382                 </excludes>
383             </resource>
384
385         </resources>
386
387     </build>
388
389     <reporting>
390
391         <plugins>
392
393             <plugin>
394                 <groupId>org.apache.maven.plugins</groupId>
395                 <artifactId>maven-project-info-reports-plugin</artifactId>
396                 <version>2.9</version>
397                 <configuration>
398                     <linkOnly>true</linkOnly>
399                     <offline>true</offline>
400                 </configuration>
401                 <reportSets>
402                     <reportSet>
403                         <reports>
404                             <report>index</report>
405                             <report>summary</report>
406                             <report>license</report>
407                             <report>dependencies</report>
408                             <report>plugins</report>
409                             <report>scm</report>
410                             <report>project-team</report>
411 <!--
412                             <report>dependency-convergence</report>
413                             <report>dependency-info</report>
414                             <report>dependency-management</report>
415                             <report>distribution-management</report>
416                             <report>issue-tracking</report>
417                             <report>mailing-list</report>
418                             <report>modules</report>
419                             <report>plugin-management</report>
420 -->
421                         </reports>
422                     </reportSet>
423                 </reportSets>
424             </plugin>
425
426             <plugin>
427                 <groupId>org.apache.maven.plugins</groupId>
428                 <artifactId>maven-javadoc-plugin</artifactId>
429                 <version>2.10.3</version>
430                 <configuration>
431                     <skip>false</skip>
432                     <notimestamp>true</notimestamp>
433                     <quiet>true</quiet>
434                     <show>protected</show>
435                 </configuration>
436                 <reportSets>
437                     <reportSet>
438                         <reports>
439                             <report>javadoc</report>
440                         </reports>
441                     </reportSet>
442                 </reportSets>
443             </plugin>
444
445             <plugin>
446                 <groupId>org.apache.maven.plugins</groupId>
447                 <artifactId>maven-jxr-plugin</artifactId>
448                 <version>2.5</version>
449                 <configuration>
450                     <skip>false</skip>
451                 </configuration>
452             </plugin>
453
454             <plugin>
455                 <groupId>org.apache.maven.plugins</groupId>
456                 <artifactId>maven-surefire-report-plugin</artifactId>
457                 <version>2.19.1</version>
458                 <configuration>
459                     <showSuccess>false</showSuccess>
460                 </configuration>
461                 <reportSets>
462                     <reportSet>
463                         <reports>
464                             <report>report-only</report>
465                         </reports>
466                     </reportSet>
467                 </reportSets>
468             </plugin>
469
470             <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>
484                 <groupId>org.apache.maven.plugins</groupId>
485                 <artifactId>maven-checkstyle-plugin</artifactId>
486                 <version>2.15</version>
487                 <configuration>
488                     <skip>false</skip>
489                     <!-- config from property value -->
490                 </configuration>
491                 <reportSets>
492                     <reportSet>
493                         <reports>
494                             <report>checkstyle</report>
495                         </reports>
496                     </reportSet>
497                 </reportSets>
498             </plugin>
499
500             <plugin>
501                 <groupId>org.apache.maven.plugins</groupId>
502                 <artifactId>maven-pmd-plugin</artifactId>
503                 <version>3.6</version>
504                 <configuration>
505                     <skip>false</skip>
506                     <targetJdk>${maven.compiler.target}</targetJdk>
507                     <rulesets>
508                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
509                     </rulesets>
510                 </configuration>
511                 <reportSets>
512                     <reportSet>
513                         <reports>
514                             <report>pmd</report>
515                             <report>cpd</report>
516                         </reports>
517                     </reportSet>
518                 </reportSets>
519             </plugin>
520
521             <plugin>
522                 <groupId>org.codehaus.mojo</groupId>
523                 <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>
547             </plugin>
548
549         </plugins>
550
551     </reporting>
552
553     <profiles/>
554
555 </project>
556
557 <!-- EOF -->