OSDN Git Service

for Maven 3.3.9
[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         <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
93         <checkstyle.enable.rss>false</checkstyle.enable.rss>
94
95     </properties>
96
97     <dependencyManagement/>
98
99     <dependencies>
100
101         <dependency>
102             <groupId>junit</groupId>
103             <artifactId>junit</artifactId>
104             <version>4.12</version>
105             <scope>test</scope>
106         </dependency>
107
108     </dependencies>
109
110     <repositories/>
111     <pluginRepositories/>
112
113     <build>
114         <pluginManagement/>
115
116         <plugins>
117
118             <plugin>
119                 <groupId>org.apache.maven.plugins</groupId>
120                 <artifactId>maven-enforcer-plugin</artifactId>
121                 <version>3.0.0-M2</version>
122                 <executions>
123                     <execution>
124                         <id>enforce-versions</id>
125                         <goals>
126                             <goal>enforce</goal>
127                         </goals>
128                         <configuration>
129                             <rules>
130                                 <requireMavenVersion>
131                                     <version>[3.3.9,)</version>
132                                 </requireMavenVersion>
133                                 <requireJavaVersion>
134                                     <version>[1.8,)</version>
135                                 </requireJavaVersion>
136                             </rules>
137                         </configuration>
138                     </execution>
139                 </executions>
140             </plugin>
141
142             <plugin>
143                 <groupId>org.apache.maven.plugins</groupId>
144                 <artifactId>maven-install-plugin</artifactId>
145                 <version>2.5.2</version>
146             </plugin>
147
148             <plugin>
149                 <groupId>org.apache.maven.plugins</groupId>
150                 <artifactId>maven-clean-plugin</artifactId>
151                 <version>3.0.0</version>
152                 <configuration>
153                     <filesets>
154                         <fileset>
155                             <directory>${project.basedir}</directory>
156                             <includes>
157                                 <include>**/*~</include>
158                                 <include>**/*.swp</include>
159                                 <include>**/*.DS_Store</include>
160                                 <include>**/._*</include>
161                                 <include>**/__MACOSX</include>
162                                 <include>**/Thumbs.db</include>
163                                 <include>**/desktop.ini</include>
164                                 <include>**/core</include>
165                                 <include>**/hs_err_pid*</include>
166                             </includes>
167                         </fileset>
168                     </filesets>
169                 </configuration>
170             </plugin>
171
172             <plugin>
173                 <groupId>org.apache.maven.plugins</groupId>
174                 <artifactId>maven-compiler-plugin</artifactId>
175                 <version>3.5.1</version>
176                 <configuration>
177                     <source>1.8</source>  <!-- for NetBeans IDE -->
178                     <target>1.8</target>
179                     <showDeprecation>true</showDeprecation>
180                     <showWarnings>true</showWarnings>
181                     <compilerArguments>
182                         <Xlint/>
183                     </compilerArguments>
184                 </configuration>
185             </plugin>
186
187             <plugin>
188                 <groupId>org.apache.maven.plugins</groupId>
189                 <artifactId>maven-jar-plugin</artifactId>
190                 <version>3.0.0</version>
191                 <configuration>
192                     <archive>
193                         <manifestEntries>
194                             <Built-By>${project.organization.name}</Built-By>
195                         </manifestEntries>
196                     </archive>
197                 </configuration>
198             </plugin>
199
200             <plugin>
201                 <groupId>org.apache.maven.plugins</groupId>
202                 <artifactId>maven-assembly-plugin</artifactId>
203                 <version>2.6</version>
204                 <configuration>
205                     <archiveBaseDirectory>.</archiveBaseDirectory>
206                     <descriptors>
207                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
208                     </descriptors>
209                 </configuration>
210             </plugin>
211
212             <plugin>
213                 <groupId>org.apache.maven.plugins</groupId>
214                 <artifactId>maven-source-plugin</artifactId>
215                 <version>3.0.0</version>
216                 <configuration>
217                     <includePom>true</includePom>
218                     <archive>
219                         <manifestEntries>
220                             <Built-By>${project.organization.name}</Built-By>
221                         </manifestEntries>
222                     </archive>
223                 </configuration>
224                 <executions>
225                     <execution>
226                         <id>attach-sources</id>
227                         <phase>verify</phase>
228                         <goals>
229                           <goal>jar-no-fork</goal>
230                         </goals>
231                     </execution>
232                 </executions>
233             </plugin>
234
235             <plugin>
236                 <groupId>org.apache.maven.plugins</groupId>
237                 <artifactId>maven-resources-plugin</artifactId>
238                 <version>3.0.0</version>
239             </plugin>
240
241             <plugin>
242                 <groupId>org.apache.maven.plugins</groupId>
243                 <artifactId>maven-surefire-plugin</artifactId>
244                 <version>2.19.1</version>
245                 <configuration>
246                     <skipTests>false</skipTests>
247                     <enableAssertions>true</enableAssertions>
248                 </configuration>
249             </plugin>
250
251             <plugin>
252                 <groupId>org.apache.maven.plugins</groupId>
253                 <artifactId>maven-site-plugin</artifactId>
254                 <version>3.5.1</version>
255                 <configuration>
256                     <generateReports>true</generateReports>
257                     <locales>ja</locales>
258                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
259                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
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>2.9</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>license</report>
376                             <report>dependencies</report>
377                             <report>plugins</report>
378                             <report>scm</report>
379                             <report>project-team</report>
380 <!--
381                             <report>dependency-convergence</report>
382                             <report>dependency-info</report>
383                             <report>dependency-management</report>
384                             <report>distribution-management</report>
385                             <report>issue-tracking</report>
386                             <report>mailing-list</report>
387                             <report>modules</report>
388                             <report>plugin-management</report>
389 -->
390                         </reports>
391                     </reportSet>
392                 </reportSets>
393             </plugin>
394
395             <plugin>
396                 <groupId>org.apache.maven.plugins</groupId>
397                 <artifactId>maven-javadoc-plugin</artifactId>
398                 <version>2.10.3</version>
399                 <configuration>
400                     <skip>false</skip>
401                     <notimestamp>true</notimestamp>
402                     <quiet>true</quiet>
403                     <show>protected</show>
404                 </configuration>
405                 <reportSets>
406                     <reportSet>
407                         <reports>
408                             <report>javadoc</report>
409                         </reports>
410                     </reportSet>
411                 </reportSets>
412             </plugin>
413
414             <plugin>
415                 <groupId>org.apache.maven.plugins</groupId>
416                 <artifactId>maven-jxr-plugin</artifactId>
417                 <version>2.5</version>
418                 <configuration>
419                     <skip>false</skip>
420                 </configuration>
421             </plugin>
422
423             <plugin>
424                 <groupId>org.apache.maven.plugins</groupId>
425                 <artifactId>maven-surefire-report-plugin</artifactId>
426                 <version>2.19.1</version>
427                 <configuration>
428                     <showSuccess>false</showSuccess>
429                 </configuration>
430                 <reportSets>
431                     <reportSet>
432                         <reports>
433                             <report>report-only</report>
434                         </reports>
435                     </reportSet>
436                 </reportSets>
437             </plugin>
438
439             <plugin>
440                 <groupId>org.codehaus.mojo</groupId>
441                 <artifactId>cobertura-maven-plugin</artifactId>
442                 <version>2.7</version>
443                 <configuration>
444                     <encoding>${project.build.sourceEncoding}</encoding>
445                     <formats>
446                         <format>html</format>
447                         <format>xml</format> <!-- for Jenkins -->
448                     </formats>
449                 </configuration>
450             </plugin>
451
452             <plugin>
453                 <groupId>org.apache.maven.plugins</groupId>
454                 <artifactId>maven-checkstyle-plugin</artifactId>
455                 <version>2.15</version>
456                 <configuration>
457                     <skip>false</skip>
458                     <!-- config from property value -->
459                 </configuration>
460                 <reportSets>
461                     <reportSet>
462                         <reports>
463                             <report>checkstyle</report>
464                         </reports>
465                     </reportSet>
466                 </reportSets>
467             </plugin>
468
469             <plugin>
470                 <groupId>org.apache.maven.plugins</groupId>
471                 <artifactId>maven-pmd-plugin</artifactId>
472                 <version>3.6</version>
473                 <configuration>
474                     <skip>false</skip>
475                     <targetJdk>${maven.compiler.target}</targetJdk>
476                     <rulesets>
477                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
478                     </rulesets>
479                 </configuration>
480                 <reportSets>
481                     <reportSet>
482                         <reports>
483                             <report>pmd</report>
484                             <report>cpd</report>
485                         </reports>
486                     </reportSet>
487                 </reportSets>
488             </plugin>
489
490             <plugin>
491                 <groupId>org.codehaus.mojo</groupId>
492                 <artifactId>findbugs-maven-plugin</artifactId>
493                 <version>3.0.3</version>
494                 <configuration>
495                     <skip>false</skip>
496                     <effort>Max</effort>
497                     <threshold>Low</threshold>
498                     <!-- for Jenkins -->
499                     <findbugsXmlOutput>true</findbugsXmlOutput>
500                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
501                     <xmlOutput>true</xmlOutput>
502                     <!-- excludeFilterFile/ -->
503                 </configuration>
504             </plugin>
505
506             <plugin>
507                 <groupId>org.codehaus.mojo</groupId>
508                 <artifactId>javancss-maven-plugin</artifactId>
509                 <version>2.1</version>
510             </plugin>
511
512             <plugin>
513                 <groupId>org.codehaus.mojo</groupId>
514                 <artifactId>jdepend-maven-plugin</artifactId>
515                 <version>2.0</version>
516             </plugin>
517
518         </plugins>
519
520     </reporting>
521
522     <profiles/>
523
524 </project>
525
526 <!-- EOF -->