OSDN Git Service

update site plugin
[jovsonz/Jovsonz.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.jovsonz</groupId>
17     <artifactId>jovsonz</artifactId>
18
19     <version>1.101.103-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>Jovsonz</name>
23
24     <description><!--
25 -->Jovsonz is a JSON library for Java<!--
26  --></description>
27
28     <url>http://jovsonz.osdn.jp/</url>
29     <inceptionYear>2009</inceptionYear>
30
31     <organization>
32         <name>Jovsonz Partners</name>
33         <url>https://osdn.net/projects/jovsonz/</url>
34     </organization>
35
36     <licenses>
37         <license>
38             <name>The MIT License</name>
39             <url>https://opensource.org/licenses/MIT</url>
40             <distribution>manual</distribution>
41         </license>
42     </licenses>
43
44     <developers>
45         <developer>
46             <id>olyutorskii</id>
47             <url>https://sites.google.com/site/olyutorskiipit/</url>
48             <organization>Jovsonz Partners</organization>
49             <organizationUrl>https://osdn.net/projects/jovsonz/</organizationUrl>
50             <roles>
51                 <role>Project Founder</role>
52                 <role>Java Developer</role>
53             </roles>
54         </developer>
55     </developers>
56
57     <contributors/>
58     <mailingLists/>
59
60     <!-- prerequisites/ -->
61
62     <modules/>
63
64     <scm>
65         <connection>scm:git:git://git.osdn.net/gitroot/jovsonz/Jovsonz.git</connection>
66         <developerConnection>scm:git:https://scm.osdn.net/gitroot/jovsonz/Jovsonz.git</developerConnection>
67         <url>https://osdn.net/projects/jovsonz/scm/git/Jovsonz/</url>
68     </scm>
69
70     <issueManagement>
71         <system>OSDN.net</system>
72         <url>https://osdn.net/projects/jovsonz/ticket/</url>
73     </issueManagement>
74
75     <ciManagement/>
76     <distributionManagement/>
77
78     <properties>
79         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
80
81         <maven.compiler.source>1.8</maven.compiler.source>
82         <maven.compiler.target>1.8</maven.compiler.target>
83
84         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
85         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
86
87         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
89
90         <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
91
92         <locale>en</locale>
93         <site.locales>${locale}</site.locales>
94
95         <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
96         <checkstyle.enable.rss>false</checkstyle.enable.rss>
97
98     </properties>
99
100     <dependencyManagement/>
101
102     <dependencies>
103
104         <dependency>
105             <groupId>junit</groupId>
106             <artifactId>junit</artifactId>
107             <version>4.12</version>
108             <scope>test</scope>
109         </dependency>
110
111     </dependencies>
112
113     <repositories/>
114     <pluginRepositories/>
115
116     <build>
117         <pluginManagement/>
118
119         <plugins>
120
121             <plugin>
122                 <groupId>org.apache.maven.plugins</groupId>
123                 <artifactId>maven-enforcer-plugin</artifactId>
124                 <version>3.0.0-M2</version>
125                 <executions>
126                     <execution>
127                         <id>enforce-versions</id>
128                         <goals>
129                             <goal>enforce</goal>
130                         </goals>
131                         <configuration>
132                             <rules>
133                                 <requireMavenVersion>
134                                     <version>[3.3.9,)</version>
135                                 </requireMavenVersion>
136                                 <requireJavaVersion>
137                                     <version>[1.8,)</version>
138                                 </requireJavaVersion>
139                             </rules>
140                         </configuration>
141                     </execution>
142                 </executions>
143             </plugin>
144
145             <plugin>
146                 <groupId>org.apache.maven.plugins</groupId>
147                 <artifactId>maven-install-plugin</artifactId>
148                 <version>2.5.2</version>
149             </plugin>
150
151             <plugin>
152                 <groupId>org.apache.maven.plugins</groupId>
153                 <artifactId>maven-clean-plugin</artifactId>
154                 <version>3.0.0</version>
155                 <configuration>
156                     <filesets>
157                         <fileset>
158                             <directory>${project.basedir}</directory>
159                             <includes>
160                                 <include>**/*~</include>
161                                 <include>**/*.swp</include>
162                                 <include>**/*.DS_Store</include>
163                                 <include>**/._*</include>
164                                 <include>**/__MACOSX</include>
165                                 <include>**/Thumbs.db</include>
166                                 <include>**/desktop.ini</include>
167                                 <include>**/core</include>
168                                 <include>**/hs_err_pid*</include>
169                             </includes>
170                         </fileset>
171                     </filesets>
172                 </configuration>
173             </plugin>
174
175             <plugin>
176                 <groupId>org.apache.maven.plugins</groupId>
177                 <artifactId>maven-compiler-plugin</artifactId>
178                 <version>3.5.1</version>
179                 <configuration>
180                     <source>1.8</source>  <!-- for NetBeans IDE -->
181                     <target>1.8</target>
182                     <showDeprecation>true</showDeprecation>
183                     <showWarnings>true</showWarnings>
184                     <compilerArguments>
185                         <Xlint/>
186                     </compilerArguments>
187                 </configuration>
188             </plugin>
189
190             <plugin>
191                 <groupId>org.apache.maven.plugins</groupId>
192                 <artifactId>maven-jar-plugin</artifactId>
193                 <version>3.0.0</version>
194                 <configuration>
195                     <archive>
196                         <manifestEntries>
197                             <Built-By>${project.organization.name}</Built-By>
198                         </manifestEntries>
199                     </archive>
200                 </configuration>
201             </plugin>
202
203             <plugin>
204                 <groupId>org.apache.maven.plugins</groupId>
205                 <artifactId>maven-assembly-plugin</artifactId>
206                 <version>2.6</version>
207                 <configuration>
208                     <archiveBaseDirectory>.</archiveBaseDirectory>
209                     <descriptors>
210                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
211                     </descriptors>
212                 </configuration>
213             </plugin>
214
215             <plugin>
216                 <groupId>org.apache.maven.plugins</groupId>
217                 <artifactId>maven-source-plugin</artifactId>
218                 <version>3.0.0</version>
219                 <configuration>
220                     <includePom>true</includePom>
221                     <archive>
222                         <manifestEntries>
223                             <Built-By>${project.organization.name}</Built-By>
224                         </manifestEntries>
225                     </archive>
226                 </configuration>
227                 <executions>
228                     <execution>
229                         <id>attach-sources</id>
230                         <phase>verify</phase>
231                         <goals>
232                           <goal>jar-no-fork</goal>
233                         </goals>
234                     </execution>
235                 </executions>
236             </plugin>
237
238             <plugin>
239                 <groupId>org.apache.maven.plugins</groupId>
240                 <artifactId>maven-resources-plugin</artifactId>
241                 <version>3.0.0</version>
242             </plugin>
243
244             <plugin>
245                 <groupId>org.apache.maven.plugins</groupId>
246                 <artifactId>maven-surefire-plugin</artifactId>
247                 <version>2.19.1</version>
248                 <configuration>
249                     <skipTests>false</skipTests>
250                     <enableAssertions>true</enableAssertions>
251                 </configuration>
252             </plugin>
253
254             <plugin>
255                 <groupId>org.apache.maven.plugins</groupId>
256                 <artifactId>maven-site-plugin</artifactId>
257                 <version>3.7.1</version>
258                 <configuration>
259                     <locales>${site.locales}</locales>
260                 </configuration>
261             </plugin>
262
263             <plugin>
264                 <groupId>org.apache.maven.plugins</groupId>
265                 <artifactId>maven-checkstyle-plugin</artifactId>
266                 <version>2.15</version>
267                 <!-- config from property value -->
268             </plugin>
269
270             <plugin>
271                 <groupId>org.apache.maven.plugins</groupId>
272                 <artifactId>maven-pmd-plugin</artifactId>
273                 <version>3.6</version>
274                 <configuration>
275                     <targetJdk>${maven.compiler.target}</targetJdk>
276                     <rulesets>
277                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
278                     </rulesets>
279                 </configuration>
280             </plugin>
281
282             <plugin>
283                 <groupId>org.codehaus.mojo</groupId>
284                 <artifactId>findbugs-maven-plugin</artifactId>
285                 <version>3.0.3</version>
286                 <configuration>
287                     <effort>Max</effort>
288                     <threshold>Low</threshold>
289                     <!-- for Jenkins -->
290                     <findbugsXmlOutput>true</findbugsXmlOutput>
291                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
292                     <xmlOutput>true</xmlOutput>
293                 </configuration>
294             </plugin>
295
296             <plugin>
297                 <groupId>org.codehaus.mojo</groupId>
298                 <artifactId>cobertura-maven-plugin</artifactId>
299                 <version>2.7</version>
300                 <configuration>
301                     <encoding>${project.build.sourceEncoding}</encoding>
302                     <formats>
303                         <format>html</format>
304                         <format>xml</format> <!-- for Jenkins -->
305                     </formats>
306                 </configuration>
307             </plugin>
308
309         </plugins>
310
311         <resources>
312
313             <resource>
314                 <directory>src/main/resources</directory>
315                 <filtering>true</filtering>
316                 <includes>
317                     <include>**/version.properties</include>
318                 </includes>
319             </resource>
320
321             <resource>
322                 <directory>src/main/resources</directory>
323                 <includes>
324                     <include>**/*.txt</include>
325
326                     <include>**/*.properties</include>
327
328                     <include>**/*.xml</include>
329                     <include>**/*.xsd</include>
330                     <include>**/*.dtd</include>
331
332                     <include>**/*.html</include>
333                     <include>**/*.htm</include>
334                     <include>**/*.css</include>
335
336                     <include>**/*.png</include>
337                     <include>**/*.gif</include>
338                     <include>**/*.jpeg</include>
339                     <include>**/*.jpg</include>
340                 </includes>
341                 <excludes>
342                     <exclude>**/version.properties</exclude>
343
344                     <exclude>**/.DS_Store</exclude>
345                     <exclude>**/__MACOSX</exclude>
346                     <exclude>**/Thumbs.db</exclude>
347                     <exclude>**/thumbs.db</exclude>
348                     <exclude>**/Desktop.ini</exclude>
349                     <exclude>**/desktop.ini</exclude>
350                     <exclude>**/core</exclude>
351                 </excludes>
352             </resource>
353
354         </resources>
355
356     </build>
357
358     <reporting>
359
360         <plugins>
361
362             <plugin>
363                 <groupId>org.apache.maven.plugins</groupId>
364                 <artifactId>maven-project-info-reports-plugin</artifactId>
365                 <version>3.0.0</version>
366                 <configuration>
367                     <linkOnly>true</linkOnly>
368                     <offline>true</offline>
369                 </configuration>
370                 <reportSets>
371                     <reportSet>
372                         <reports>
373                             <report>index</report>
374                             <report>summary</report>
375                             <report>licenses</report>
376                             <report>dependency-info</report>
377                             <report>dependencies</report>
378                             <report>dependency-convergence</report>
379                             <report>plugins</report>
380                             <report>plugin-management</report>
381                             <report>team</report>
382                             <report>issue-management</report>
383                             <report>scm</report>
384 <!--
385                             <report>dependency-management</report>
386                             <report>distribution-management</report>
387                             <report>ci-management</report>
388                             <report>mailing-lists</report>
389                             <report>modules</report>
390 -->
391                         </reports>
392                     </reportSet>
393                 </reportSets>
394             </plugin>
395
396             <plugin>
397                 <groupId>org.apache.maven.plugins</groupId>
398                 <artifactId>maven-javadoc-plugin</artifactId>
399                 <version>2.10.3</version>
400                 <configuration>
401                     <skip>false</skip>
402                     <notimestamp>true</notimestamp>
403                     <quiet>true</quiet>
404                     <show>protected</show>
405                 </configuration>
406                 <reportSets>
407                     <reportSet>
408                         <reports>
409                             <report>javadoc</report>
410                         </reports>
411                     </reportSet>
412                 </reportSets>
413             </plugin>
414
415             <plugin>
416                 <groupId>org.apache.maven.plugins</groupId>
417                 <artifactId>maven-jxr-plugin</artifactId>
418                 <version>2.5</version>
419                 <configuration>
420                     <skip>false</skip>
421                 </configuration>
422             </plugin>
423
424             <plugin>
425                 <groupId>org.apache.maven.plugins</groupId>
426                 <artifactId>maven-surefire-report-plugin</artifactId>
427                 <version>2.19.1</version>
428                 <configuration>
429                     <showSuccess>false</showSuccess>
430                 </configuration>
431                 <reportSets>
432                     <reportSet>
433                         <reports>
434                             <report>report-only</report>
435                         </reports>
436                     </reportSet>
437                 </reportSets>
438             </plugin>
439
440             <plugin>
441                 <groupId>org.codehaus.mojo</groupId>
442                 <artifactId>cobertura-maven-plugin</artifactId>
443                 <version>2.7</version>
444                 <configuration>
445                     <encoding>${project.build.sourceEncoding}</encoding>
446                     <formats>
447                         <format>html</format>
448                         <format>xml</format> <!-- for Jenkins -->
449                     </formats>
450                 </configuration>
451             </plugin>
452
453             <plugin>
454                 <groupId>org.apache.maven.plugins</groupId>
455                 <artifactId>maven-checkstyle-plugin</artifactId>
456                 <version>2.15</version>
457                 <configuration>
458                     <skip>false</skip>
459                     <!-- config from property value -->
460                 </configuration>
461                 <reportSets>
462                     <reportSet>
463                         <reports>
464                             <report>checkstyle</report>
465                         </reports>
466                     </reportSet>
467                 </reportSets>
468             </plugin>
469
470             <plugin>
471                 <groupId>org.apache.maven.plugins</groupId>
472                 <artifactId>maven-pmd-plugin</artifactId>
473                 <version>3.6</version>
474                 <configuration>
475                     <skip>false</skip>
476                     <targetJdk>${maven.compiler.target}</targetJdk>
477                     <rulesets>
478                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
479                     </rulesets>
480                 </configuration>
481                 <reportSets>
482                     <reportSet>
483                         <reports>
484                             <report>pmd</report>
485                             <report>cpd</report>
486                         </reports>
487                     </reportSet>
488                 </reportSets>
489             </plugin>
490
491             <plugin>
492                 <groupId>org.codehaus.mojo</groupId>
493                 <artifactId>findbugs-maven-plugin</artifactId>
494                 <version>3.0.3</version>
495                 <configuration>
496                     <skip>false</skip>
497                     <effort>Max</effort>
498                     <threshold>Low</threshold>
499                     <!-- for Jenkins -->
500                     <findbugsXmlOutput>true</findbugsXmlOutput>
501                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
502                     <xmlOutput>true</xmlOutput>
503                     <!-- excludeFilterFile/ -->
504                 </configuration>
505             </plugin>
506
507             <plugin>
508                 <groupId>org.codehaus.mojo</groupId>
509                 <artifactId>javancss-maven-plugin</artifactId>
510                 <version>2.1</version>
511             </plugin>
512
513             <plugin>
514                 <groupId>org.codehaus.mojo</groupId>
515                 <artifactId>jdepend-maven-plugin</artifactId>
516                 <version>2.0</version>
517             </plugin>
518
519         </plugins>
520
521     </reporting>
522
523     <profiles/>
524
525 </project>
526
527 <!-- EOF -->