OSDN Git Service

move assembly description
[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/xsd/maven-4.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.503.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://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         <maven>3.0.1</maven>
63     </prerequisites>
64
65     <modules/>
66
67     <scm>
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>
71     </scm>
72
73     <issueManagement>
74         <system>OSDN.NET</system>
75         <url>https://ja.osdn.net/projects/jindolf/ticket/</url>
76     </issueManagement>
77
78     <ciManagement/>
79     <distributionManagement/>
80
81     <properties>
82         <maven.compiler.source>1.7</maven.compiler.source>
83         <maven.compiler.target>1.7</maven.compiler.target>
84
85         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
86         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
87
88         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
89         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
90         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
91
92         <site.locales>en</site.locales>
93         <javadoc.locale>en</javadoc.locale>
94         <findbugs.jvmArgs>-Duser.language=en</findbugs.jvmArgs>
95         <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
96
97         <jacoco-plugin.version>0.7.9</jacoco-plugin.version>
98
99         <checkstyle-plugin.version>2.17</checkstyle-plugin.version>
100         <checkstyleruntime.version>6.19</checkstyleruntime.version>
101         <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
102         <checkstyle.enable.rss>false</checkstyle.enable.rss>
103
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
112         <project.mainentry>jp.sourceforge.jindolf.archiver.JinArchiver</project.mainentry>
113
114     </properties>
115
116     <dependencyManagement/>
117
118     <dependencies>
119
120         <dependency>
121             <groupId>junit</groupId>
122             <artifactId>junit</artifactId>
123             <version>4.12</version>
124             <scope>test</scope>
125         </dependency>
126
127         <dependency>
128             <groupId>jp.sourceforge.jindolf</groupId>
129             <artifactId>jinparser</artifactId>
130             <version>1.409.4</version>
131             <scope>compile</scope>
132         </dependency>
133
134     </dependencies>
135
136     <repositories/>
137     <pluginRepositories/>
138
139     <build>
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>
162
163         <plugins>
164
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
195             <plugin>
196                 <groupId>org.apache.maven.plugins</groupId>
197                 <artifactId>maven-enforcer-plugin</artifactId>
198                 <version>1.4.1</version>
199                 <configuration>
200                     <rules>
201                         <requireMavenVersion>
202                             <version>[3.0.1,)</version>
203                         </requireMavenVersion>
204                         <requireJavaVersion>
205                             <version>[1.7,)</version>
206                         </requireJavaVersion>
207                     </rules>
208                 </configuration>
209             </plugin>
210
211             <plugin>
212                 <groupId>org.apache.maven.plugins</groupId>
213                 <artifactId>maven-resources-plugin</artifactId>
214                 <version>3.0.2</version>
215             </plugin>
216
217             <plugin>
218                 <groupId>org.apache.maven.plugins</groupId>
219                 <artifactId>maven-compiler-plugin</artifactId>
220                 <version>3.6.1</version>
221                 <configuration>
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>
229                 </configuration>
230             </plugin>
231
232             <plugin>
233                 <groupId>org.apache.maven.plugins</groupId>
234                 <artifactId>maven-surefire-plugin</artifactId>
235                 <version>2.19.1</version>
236                 <configuration>
237                     <enableAssertions>true</enableAssertions>
238                 </configuration>
239             </plugin>
240
241             <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>
283                 <groupId>org.apache.maven.plugins</groupId>
284                 <artifactId>maven-jar-plugin</artifactId>
285                 <version>3.0.2</version>
286                 <configuration>
287                     <archive>
288                         <manifest>
289                             <mainClass>${project.mainentry}</mainClass>
290                             <addDefaultImplementationEntries>
291                                 false
292                             </addDefaultImplementationEntries>
293                         </manifest>
294                         <manifestEntries>
295                             <Built-By>${project.organization.name}</Built-By>
296                         </manifestEntries>
297                     </archive>
298                 </configuration>
299             </plugin>
300
301             <plugin>
302                 <groupId>org.apache.maven.plugins</groupId>
303                 <artifactId>maven-shade-plugin</artifactId>
304                 <version>2.4.3</version>
305                 <executions>
306                     <execution>
307                         <phase>package</phase>
308                         <goals>
309                           <goal>shade</goal>
310                         </goals>
311                         <configuration>
312                             <createDependencyReducedPom>false</createDependencyReducedPom>
313                             <artifactSet>
314                                 <includes>
315                                     <include>jp.sourceforge.jindolf:jincore</include>
316                                     <include>jp.sourceforge.jindolf:jinparser</include>
317                                 </includes>
318                                 <excludes>
319                                     <exclude>junit:junit</exclude>
320                                 </excludes>
321                             </artifactSet>
322                         </configuration>
323                     </execution>
324                 </executions>
325             </plugin>
326
327             <plugin>
328                 <groupId>org.apache.maven.plugins</groupId>
329                 <artifactId>maven-source-plugin</artifactId>
330                 <version>3.0.1</version>
331                 <configuration>
332                     <includePom>true</includePom>
333                     <archive>
334                         <manifestEntries>
335                             <Built-By>${project.organization.name}</Built-By>
336                         </manifestEntries>
337                     </archive>
338                 </configuration>
339                 <executions>
340                     <execution>
341                         <id>attach-sources</id>
342                         <phase>verify</phase>
343                         <goals>
344                           <goal>jar-no-fork</goal>
345                         </goals>
346                     </execution>
347                 </executions>
348             </plugin>
349
350             <plugin>
351                 <groupId>org.apache.maven.plugins</groupId>
352                 <artifactId>maven-install-plugin</artifactId>
353                 <version>2.5.2</version>
354             </plugin>
355
356             <plugin>
357                 <groupId>org.apache.maven.plugins</groupId>
358                 <artifactId>maven-deploy-plugin</artifactId>
359                 <version>2.8.2</version>
360             </plugin>
361
362
363             <!-- site lifecycle -->
364
365             <plugin>
366                 <groupId>org.apache.maven.plugins</groupId>
367                 <artifactId>maven-site-plugin</artifactId>
368                 <version>3.6</version>
369                 <configuration>
370                     <locales>${site.locales}</locales>
371                 </configuration>
372             </plugin>
373
374
375             <!-- goals without lifecycle -->
376
377             <plugin>
378                 <groupId>org.apache.maven.plugins</groupId>
379                 <artifactId>maven-assembly-plugin</artifactId>
380                 <version>3.0.0</version>
381                 <configuration>
382                     <descriptors>
383                         <descriptor>src/assembly/src.xml</descriptor>
384                     </descriptors>
385                 </configuration>
386             </plugin>
387
388             <plugin>
389                 <groupId>org.apache.maven.plugins</groupId>
390                 <artifactId>maven-checkstyle-plugin</artifactId>
391                 <version>${checkstyle-plugin.version}</version>
392             </plugin>
393
394         </plugins>
395
396         <resources>
397
398             <resource>
399                 <directory>src/main/resources</directory>
400                 <filtering>true</filtering>
401                 <includes>
402                     <include>**/version.properties</include>
403                 </includes>
404             </resource>
405
406             <resource>
407                 <directory>src/main/resources</directory>
408                 <includes>
409                     <include>**/*.txt</include>
410
411                     <include>**/*.properties</include>
412
413                     <include>**/*.xml</include>
414                     <include>**/*.xsd</include>
415                     <include>**/*.dtd</include>
416
417                     <include>**/*.html</include>
418                     <include>**/*.htm</include>
419                     <include>**/*.css</include>
420
421                     <include>**/*.png</include>
422                     <include>**/*.gif</include>
423                     <include>**/*.jpeg</include>
424                     <include>**/*.jpg</include>
425                 </includes>
426                 <excludes>
427                     <exclude>**/version.properties</exclude>
428
429                     <exclude>**/.DS_Store</exclude>
430                     <exclude>**/__MACOSX</exclude>
431                     <exclude>**/Thumbs.db</exclude>
432                     <exclude>**/thumbs.db</exclude>
433                     <exclude>**/Desktop.ini</exclude>
434                     <exclude>**/desktop.ini</exclude>
435                     <exclude>**/core</exclude>
436                 </excludes>
437             </resource>
438
439         </resources>
440
441     </build>
442
443     <reporting>
444
445         <plugins>
446
447             <plugin>
448                 <groupId>org.apache.maven.plugins</groupId>
449                 <artifactId>maven-project-info-reports-plugin</artifactId>
450                 <version>2.9</version>
451                 <configuration>
452                     <linkOnly>true</linkOnly>
453                     <offline>true</offline>
454                 </configuration>
455                 <reportSets>
456                     <reportSet>
457                         <reports>
458                             <report>index</report>
459                             <report>summary</report>
460                             <report>license</report>
461                             <report>dependency-info</report>
462                             <report>dependencies</report>
463                             <report>dependency-convergence</report>
464                             <report>plugins</report>
465                             <report>plugin-management</report>
466                             <report>project-team</report>
467                             <report>issue-tracking</report>
468                             <report>scm</report>
469 <!--
470                             <report>dependency-management</report>
471                             <report>distribution-management</report>
472                             <report>cim</report>
473                             <report>mailing-list</report>
474                             <report>modules</report>
475 -->
476                         </reports>
477                     </reportSet>
478                 </reportSets>
479             </plugin>
480
481             <plugin>
482                 <groupId>org.apache.maven.plugins</groupId>
483                 <artifactId>maven-javadoc-plugin</artifactId>
484                 <version>2.10.4</version>
485                 <configuration>
486                     <author>false</author>
487                     <notimestamp>true</notimestamp>
488                     <quiet>true</quiet>
489                     <show>protected</show>
490                     <locale>${javadoc.locale}</locale>
491                     <header>${project.name} ${project.version} API</header>
492                     <version>true</version>
493                 </configuration>
494                 <reportSets>
495                     <reportSet>
496                         <reports>
497                             <report>javadoc</report>
498                         </reports>
499                     </reportSet>
500                 </reportSets>
501             </plugin>
502
503             <plugin>
504                 <groupId>org.apache.maven.plugins</groupId>
505                 <artifactId>maven-jxr-plugin</artifactId>
506                 <version>2.5</version>
507             </plugin>
508
509             <plugin>
510                 <groupId>org.apache.maven.plugins</groupId>
511                 <artifactId>maven-surefire-report-plugin</artifactId>
512                 <version>2.19.1</version>
513             </plugin>
514
515             <plugin>
516                 <groupId>org.jacoco</groupId>
517                 <artifactId>jacoco-maven-plugin</artifactId>
518                 <version>${jacoco-plugin.version}</version>
519                 <reportSets>
520                     <reportSet>
521                         <reports>
522                             <report>report</report>
523                         </reports>
524                     </reportSet>
525                 </reportSets>
526             </plugin>
527
528             <plugin>
529                 <groupId>org.apache.maven.plugins</groupId>
530                 <artifactId>maven-checkstyle-plugin</artifactId>
531                 <version>${checkstyle-plugin.version}</version>
532                 <reportSets>
533                     <reportSet>
534                         <reports>
535                             <report>checkstyle</report>
536                         </reports>
537                     </reportSet>
538                 </reportSets>
539             </plugin>
540
541             <plugin>
542                 <groupId>org.apache.maven.plugins</groupId>
543                 <artifactId>maven-pmd-plugin</artifactId>
544                 <version>${pmd-plugin.version}</version>
545                 <configuration>
546                     <rulesets>
547                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
548                     </rulesets>
549                 </configuration>
550                 <reportSets>
551                     <reportSet>
552                         <reports>
553                             <report>pmd</report>
554                             <report>cpd</report>
555                         </reports>
556                     </reportSet>
557                 </reportSets>
558             </plugin>
559
560             <plugin>
561                 <groupId>org.codehaus.mojo</groupId>
562                 <artifactId>findbugs-maven-plugin</artifactId>
563                 <version>${findbugs-plugin.version}</version>
564             </plugin>
565
566         </plugins>
567
568     </reporting>
569
570     <profiles/>
571
572 </project>
573
574 <!-- EOF -->