OSDN Git Service

modify assembly
[jindolf/JinParser.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>jinparser</artifactId>
18
19     <version>1.409.3-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>JinParser</name>
23
24     <description><!--
25 -->JinParserライブラリは、CGIゲーム「人狼BBS」のクライアント制作者向けに<!--
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         <maven>3.0.1</maven>
63     </prerequisites>
64
65     <modules/>
66
67     <scm>
68         <connection>scm:hg:http://hg.osdn.net/view/jindolf/JinParser</connection>
69         <developerConnection>scm:hg:ssh://hg.osdn.net//hgroot/jindolf/JinParser</developerConnection>
70         <url>https://osdn.net/projects/jindolf/scm/hg/JinParser/</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
96         <jacoco-plugin.version>0.7.9</jacoco-plugin.version>
97
98         <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
99
100         <checkstyle-plugin.version>2.17</checkstyle-plugin.version>
101         <checkstyleruntime.version>6.19</checkstyleruntime.version>
102         <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
103         <checkstyle.enable.rss>false</checkstyle.enable.rss>
104
105         <pmd-plugin.version>3.7</pmd-plugin.version>
106
107         <findbugs-plugin.version>3.0.4</findbugs-plugin.version>
108         <findbugs.effort>Max</findbugs.effort>
109         <findbugs.threshold>Low</findbugs.threshold>
110         <!-- for Jenkins -->
111         <findbugs.xmlOutput>true</findbugs.xmlOutput>
112
113     </properties>
114
115     <dependencyManagement/>
116
117     <dependencies>
118
119         <dependency>
120             <groupId>junit</groupId>
121             <artifactId>junit</artifactId>
122             <version>4.12</version>
123             <scope>test</scope>
124         </dependency>
125
126         <dependency>
127             <groupId>jp.sourceforge.jindolf</groupId>
128             <artifactId>jincore</artifactId>
129             <version>1.206.10</version>
130             <scope>compile</scope>
131         </dependency>
132
133     </dependencies>
134
135     <repositories/>
136     <pluginRepositories/>
137
138     <build>
139
140         <pluginManagement>
141
142             <plugins>
143
144                 <plugin>
145                     <groupId>org.apache.maven.plugins</groupId>
146                     <artifactId>maven-checkstyle-plugin</artifactId>
147                     <version>${checkstyle-plugin.version}</version>
148                     <dependencies>
149                         <dependency>
150                             <groupId>com.puppycrawl.tools</groupId>
151                             <artifactId>checkstyle</artifactId>
152                             <!--artifactId>checkstyle-backport-jre6</artifactId-->
153                             <version>${checkstyleruntime.version}</version>
154                         </dependency>
155                     </dependencies>
156                 </plugin>
157
158             </plugins>
159
160         </pluginManagement>
161
162         <plugins>
163
164
165             <!-- clean lifecycle -->
166
167             <plugin>
168                 <groupId>org.apache.maven.plugins</groupId>
169                 <artifactId>maven-clean-plugin</artifactId>
170                 <version>3.0.0</version>
171                 <configuration>
172                     <filesets>
173                         <fileset>
174                             <directory>${project.basedir}</directory>
175                             <includes>
176                                 <include>**/*~</include>
177                                 <include>**/*.swp</include>
178                                 <include>**/*.DS_Store</include>
179                                 <include>**/._*</include>
180                                 <include>**/__MACOSX</include>
181                                 <include>**/Thumbs.db</include>
182                                 <include>**/desktop.ini</include>
183                                 <include>**/core</include>
184                                 <include>**/hs_err_pid*</include>
185                             </includes>
186                         </fileset>
187                     </filesets>
188                 </configuration>
189             </plugin>
190
191
192             <!-- default lifecycle -->
193
194             <plugin>
195                 <groupId>org.apache.maven.plugins</groupId>
196                 <artifactId>maven-enforcer-plugin</artifactId>
197                 <version>1.4.1</version>
198                 <configuration>
199                     <rules>
200                         <requireMavenVersion>
201                             <version>[3.0.1,)</version>
202                         </requireMavenVersion>
203                         <requireJavaVersion>
204                             <version>[1.7,)</version>
205                         </requireJavaVersion>
206                     </rules>
207                 </configuration>
208             </plugin>
209
210             <plugin>
211                 <groupId>org.apache.maven.plugins</groupId>
212                 <artifactId>maven-resources-plugin</artifactId>
213                 <version>3.0.2</version>
214             </plugin>
215
216             <plugin>
217                 <groupId>org.apache.maven.plugins</groupId>
218                 <artifactId>maven-compiler-plugin</artifactId>
219                 <version>3.6.1</version>
220                 <configuration>
221                     <source>1.7</source>  <!-- for NetBeans IDE -->
222                     <target>1.7</target>
223                     <compilerArguments>
224                         <Xlint/>
225                     </compilerArguments>
226                     <showWarnings>true</showWarnings>
227                     <showDeprecation>true</showDeprecation>
228                 </configuration>
229             </plugin>
230
231             <plugin>
232                 <groupId>org.apache.maven.plugins</groupId>
233                 <artifactId>maven-surefire-plugin</artifactId>
234                 <version>2.19.1</version>
235                 <configuration>
236                     <enableAssertions>true</enableAssertions>
237                 </configuration>
238             </plugin>
239
240             <plugin>
241                 <groupId>org.jacoco</groupId>
242                 <artifactId>jacoco-maven-plugin</artifactId>
243                 <version>${jacoco-plugin.version}</version>
244                 <executions>
245                     <execution>
246                         <id>default-prepare-agent</id>
247                         <goals>
248                             <goal>prepare-agent</goal>
249                         </goals>
250                     </execution>
251                     <execution>
252                         <id>default-report</id>
253                         <phase>prepare-package</phase>
254                         <goals>
255                             <goal>report</goal>
256                         </goals>
257                     </execution>
258                     <execution>
259                         <id>default-check</id>
260                         <goals>
261                             <goal>check</goal>
262                         </goals>
263                         <configuration>
264                             <rules>
265                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
266                                     <element>BUNDLE</element>
267                                     <limits>
268                                         <limit implementation="org.jacoco.report.check.Limit">
269                                             <counter>COMPLEXITY</counter>
270                                             <value>COVEREDRATIO</value>
271                                             <minimum>0.0</minimum>
272                                         </limit>
273                                     </limits>
274                                 </rule>
275                             </rules>
276                         </configuration>
277                     </execution>
278                 </executions>
279             </plugin>
280
281             <plugin>
282                 <groupId>org.apache.maven.plugins</groupId>
283                 <artifactId>maven-jar-plugin</artifactId>
284                 <version>3.0.2</version>
285                 <configuration>
286                     <archive>
287                         <manifest>
288                             <addDefaultImplementationEntries>
289                                 true
290                             </addDefaultImplementationEntries>
291                         </manifest>
292                         <manifestEntries>
293                             <Built-By>${project.organization.name}</Built-By>
294                         </manifestEntries>
295                     </archive>
296                 </configuration>
297             </plugin>
298
299             <plugin>
300                 <groupId>org.apache.maven.plugins</groupId>
301                 <artifactId>maven-source-plugin</artifactId>
302                 <version>3.0.1</version>
303                 <configuration>
304                     <includePom>true</includePom>
305                     <archive>
306                         <manifestEntries>
307                             <Built-By>${project.organization.name}</Built-By>
308                         </manifestEntries>
309                     </archive>
310                 </configuration>
311                 <executions>
312                     <execution>
313                         <id>attach-sources</id>
314                         <phase>verify</phase>
315                         <goals>
316                           <goal>jar-no-fork</goal>
317                         </goals>
318                     </execution>
319                 </executions>
320             </plugin>
321
322             <plugin>
323                 <groupId>org.apache.maven.plugins</groupId>
324                 <artifactId>maven-install-plugin</artifactId>
325                 <version>2.5.2</version>
326             </plugin>
327
328             <plugin>
329                 <groupId>org.apache.maven.plugins</groupId>
330                 <artifactId>maven-deploy-plugin</artifactId>
331                 <version>2.8.2</version>
332             </plugin>
333
334
335             <!-- site lifecycle -->
336
337             <plugin>
338                 <groupId>org.apache.maven.plugins</groupId>
339                 <artifactId>maven-site-plugin</artifactId>
340                 <version>3.6</version>
341                 <configuration>
342                     <locales>${site.locales}</locales>
343                 </configuration>
344             </plugin>
345
346
347             <!-- goals without lifecycle -->
348
349             <plugin>
350                 <groupId>org.apache.maven.plugins</groupId>
351                 <artifactId>maven-assembly-plugin</artifactId>
352                 <version>3.0.0</version>
353                 <configuration>
354                     <descriptors>
355                         <descriptor>src/assembly/src.xml</descriptor>
356                     </descriptors>
357                 </configuration>
358             </plugin>
359
360             <plugin>
361                 <groupId>org.apache.maven.plugins</groupId>
362                 <artifactId>maven-checkstyle-plugin</artifactId>
363                 <version>${checkstyle-plugin.version}</version>
364             </plugin>
365
366         </plugins>
367
368         <resources>
369
370             <resource>
371                 <directory>src/main/resources</directory>
372                 <filtering>true</filtering>
373                 <includes>
374                     <include>**/version.properties</include>
375                 </includes>
376             </resource>
377
378             <resource>
379                 <directory>src/main/resources</directory>
380                 <includes>
381                     <include>**/*.txt</include>
382
383                     <include>**/*.properties</include>
384
385                     <include>**/*.xml</include>
386                     <include>**/*.xsd</include>
387                     <include>**/*.dtd</include>
388
389                     <include>**/*.html</include>
390                     <include>**/*.htm</include>
391                     <include>**/*.css</include>
392
393                     <include>**/*.png</include>
394                     <include>**/*.gif</include>
395                     <include>**/*.jpeg</include>
396                     <include>**/*.jpg</include>
397                 </includes>
398                 <excludes>
399                     <exclude>**/version.properties</exclude>
400
401                     <exclude>**/.DS_Store</exclude>
402                     <exclude>**/__MACOSX</exclude>
403                     <exclude>**/Thumbs.db</exclude>
404                     <exclude>**/thumbs.db</exclude>
405                     <exclude>**/Desktop.ini</exclude>
406                     <exclude>**/desktop.ini</exclude>
407                     <exclude>**/core</exclude>
408                 </excludes>
409             </resource>
410
411         </resources>
412
413     </build>
414
415     <reporting>
416
417         <plugins>
418
419             <plugin>
420                 <groupId>org.apache.maven.plugins</groupId>
421                 <artifactId>maven-project-info-reports-plugin</artifactId>
422                 <version>2.9</version>
423                 <configuration>
424                     <linkOnly>true</linkOnly>
425                     <offline>true</offline>
426                 </configuration>
427                 <reportSets>
428                     <reportSet>
429                         <reports>
430                             <report>index</report>
431                             <report>summary</report>
432                             <report>license</report>
433                             <report>dependency-info</report>
434                             <report>dependencies</report>
435                             <report>dependency-convergence</report>
436                             <report>plugins</report>
437                             <report>plugin-management</report>
438                             <report>project-team</report>
439                             <report>issue-tracking</report>
440                             <report>scm</report>
441 <!--
442                             <report>dependency-management</report>
443                             <report>distribution-management</report>
444                             <report>cim</report>
445                             <report>mailing-list</report>
446                             <report>modules</report>
447 -->
448                         </reports>
449                     </reportSet>
450                 </reportSets>
451             </plugin>
452
453             <plugin>
454                 <groupId>org.apache.maven.plugins</groupId>
455                 <artifactId>maven-javadoc-plugin</artifactId>
456                 <version>2.10.4</version>
457                 <configuration>
458                     <author>false</author>
459                     <notimestamp>true</notimestamp>
460                     <quiet>true</quiet>
461                     <show>protected</show>
462                     <locale>${javadoc.locale}</locale>
463                     <header>${project.name} ${project.version} API</header>
464                     <version>true</version>
465                 </configuration>
466                 <reportSets>
467                     <reportSet>
468                         <reports>
469                             <report>javadoc</report>
470                         </reports>
471                     </reportSet>
472                 </reportSets>
473             </plugin>
474
475             <plugin>
476                 <groupId>org.apache.maven.plugins</groupId>
477                 <artifactId>maven-jxr-plugin</artifactId>
478                 <version>2.5</version>
479             </plugin>
480
481             <plugin>
482                 <groupId>org.apache.maven.plugins</groupId>
483                 <artifactId>maven-surefire-report-plugin</artifactId>
484                 <version>2.19.1</version>
485             </plugin>
486
487             <plugin>
488                 <groupId>org.jacoco</groupId>
489                 <artifactId>jacoco-maven-plugin</artifactId>
490                 <version>${jacoco-plugin.version}</version>
491                 <reportSets>
492                     <reportSet>
493                         <reports>
494                             <report>report</report>
495                         </reports>
496                     </reportSet>
497                 </reportSets>
498             </plugin>
499
500             <plugin>
501                 <groupId>org.apache.maven.plugins</groupId>
502                 <artifactId>maven-checkstyle-plugin</artifactId>
503                 <version>${checkstyle-plugin.version}</version>
504                 <reportSets>
505                     <reportSet>
506                         <reports>
507                             <report>checkstyle</report>
508                         </reports>
509                     </reportSet>
510                 </reportSets>
511             </plugin>
512
513             <plugin>
514                 <groupId>org.apache.maven.plugins</groupId>
515                 <artifactId>maven-pmd-plugin</artifactId>
516                 <version>${pmd-plugin.version}</version>
517                 <configuration>
518                     <rulesets>
519                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
520                     </rulesets>
521                 </configuration>
522                 <reportSets>
523                     <reportSet>
524                         <reports>
525                             <report>pmd</report>
526                             <report>cpd</report>
527                         </reports>
528                     </reportSet>
529                 </reportSets>
530             </plugin>
531
532             <plugin>
533                 <groupId>org.codehaus.mojo</groupId>
534                 <artifactId>findbugs-maven-plugin</artifactId>
535                 <version>${findbugs-plugin.version}</version>
536             </plugin>
537
538         </plugins>
539
540     </reporting>
541
542     <profiles/>
543
544 </project>
545
546 <!-- EOF -->