blob: bba5b10cb019f19352c4a38bf9ae273314e92382 [file] [log] [blame]
ritchiea90fe202015-11-15 06:48:09 +01001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
ritchie8b3f33c2015-02-27 07:23:28 +01002 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>org.sonatype.oss</groupId>
5 <artifactId>oss-parent</artifactId>
6 <version>7</version>
7 </parent>
ritchie0a750cb2015-05-08 07:52:38 +02008 <groupId>org.nanohttpd</groupId>
ritchie8b3f33c2015-02-27 07:23:28 +01009 <artifactId>nanohttpd-project</artifactId>
ritchiea90fe202015-11-15 06:48:09 +010010 <version>2.2.0</version>
ritchie8b3f33c2015-02-27 07:23:28 +010011 <packaging>pom</packaging>
12 <name>NanoHttpd-Project</name>
13 <description>NanoHttpd is a light-weight HTTP server designed for embedding in other applications.</description>
ritchie59db6992015-05-03 15:19:43 +020014 <url>http://www.nanohttpd.org</url>
ritchie8b3f33c2015-02-27 07:23:28 +010015 <scm>
ritchie59db6992015-05-03 15:19:43 +020016 <connection>scm:git:https://github.com/NanoHttpd/nanohttpd.git</connection>
17 <developerConnection>scm:git:https://github.com/NanoHttpd/nanohttpd.git</developerConnection>
ritchie8b3f33c2015-02-27 07:23:28 +010018 <url>https://github.com/NanoHttpd/nanohttpd</url>
ritchiea90fe202015-11-15 06:48:09 +010019 <tag>nanohttpd-project-2.2.0</tag>
ritchie8b3f33c2015-02-27 07:23:28 +010020 </scm>
21 <organization>
22 <name>nanohttpd</name>
23 </organization>
24 <distributionManagement>
25 <repository>
26 <id>sonatype-nexus-staging</id>
27 <name>nanohttpd sonytype Maven 2 repository</name>
28 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
29 </repository>
30 <snapshotRepository>
31 <id>sonatype-nexus-staging</id>
32 <name>nanohttpd sonytype Snapshot Maven 2 repository</name>
33 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
34 </snapshotRepository>
35 <site>
ritchief0842f42015-05-08 07:39:56 +020036 <id>private-deploy</id>
37 <name>private Project Site</name>
38 <url>scp://nanohttpd.org:33333/home/nanohttpd/public_html</url>
ritchie8b3f33c2015-02-27 07:23:28 +010039 </site>
40 </distributionManagement>
41 <inceptionYear>2012</inceptionYear>
42 <developers>
43 <developer>
44 <id>psh</id>
45 <name>Paul Hawke</name>
46 <url>http://www.linkedin.com/in/paulhawke</url>
47 <roles>
48 <role>Administrator</role>
49 <role>Developer</role>
50 </roles>
51 <properties>
52 <picUrl>https://avatars2.githubusercontent.com/u/407647</picUrl>
53 </properties>
54 </developer>
55 <developer>
ritchie59db6992015-05-03 15:19:43 +020056 <id>elonen</id>
57 <name>Jarno Elonen</name>
58 <email>elonen [at] iki [dot] fi</email>
59 <roles>
60 <role>Administrator</role>
61 <role>Developer</role>
62 </roles>
63 <properties>
64 <picUrl>https://avatars0.githubusercontent.com/u/2125766</picUrl>
65 </properties>
66 </developer>
67 <developer>
68 <id>ritchieGitHub</id>
ritchie8b3f33c2015-02-27 07:23:28 +010069 <name>Richard van Nieuwenhoven</name>
70 <email>ritchie [at] gmx [dot] at</email>
71 <roles>
ritchie59db6992015-05-03 15:19:43 +020072 <role>Administrator</role>
ritchie8b3f33c2015-02-27 07:23:28 +010073 <role>Developer</role>
74 </roles>
75 <properties>
76 <picUrl>http://www.gravatar.com/avatar/9e2c2e7aa94335b72952a4b2d56bfc89.png</picUrl>
77 </properties>
78 </developer>
79 </developers>
80 <issueManagement>
81 <system>github</system>
82 <url>https://github.com/NanoHttpd/nanohttpd/issues</url>
83 </issueManagement>
84 <modules>
85 <module>core</module>
86 <module>samples</module>
87 <module>webserver</module>
88 <module>websocket</module>
89 <module>markdown-plugin</module>
ritchie6c4d9f52015-09-11 07:52:45 +020090 <module>nanolets</module>
Victor Nikiforovf22e7382015-08-10 11:46:31 +030091 <module>fileupload</module>
ritchie8b3f33c2015-02-27 07:23:28 +010092 </modules>
93 <licenses>
94 <license>
95 <name>The BSD 3-Clause License</name>
96 <url>http://opensource.org/licenses/BSD-3-Clause</url>
97 <distribution>repo</distribution>
98 </license>
99 </licenses>
100 <build>
101 <extensions>
102 <extension>
ritchie8b3f33c2015-02-27 07:23:28 +0100103 <groupId>org.apache.maven.wagon</groupId>
ritchief0842f42015-05-08 07:39:56 +0200104 <artifactId>wagon-ssh</artifactId>
105 <version>2.7</version>
ritchie8b3f33c2015-02-27 07:23:28 +0100106 </extension>
107 </extensions>
Paul Hawke9a5230b2013-01-07 09:27:16 -0600108
ritchie8b3f33c2015-02-27 07:23:28 +0100109 <plugins>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-compiler-plugin</artifactId>
ritchie0dbe9162015-05-23 15:11:34 +0200113 <version>3.3</version>
ritchie8b3f33c2015-02-27 07:23:28 +0100114 <configuration>
115 <source>1.6</source>
116 <target>1.6</target>
117 </configuration>
118 </plugin>
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-javadoc-plugin</artifactId>
122 <version>2.10.1</version>
123 <configuration>
ritchie8b3f33c2015-02-27 07:23:28 +0100124 <aggregate>false</aggregate>
125 <failOnError>false</failOnError>
126 </configuration>
127 <executions>
128 <execution>
129 <id>attach-javadocs</id>
130 <goals>
131 <goal>jar</goal>
132 </goals>
133 </execution>
134 </executions>
135 </plugin>
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-release-plugin</artifactId>
139 <version>2.5.1</version>
140 <configuration>
141 <mavenExecutorId>forked-path</mavenExecutorId>
142 </configuration>
143 </plugin>
144 <plugin>
ritchief0842f42015-05-08 07:39:56 +0200145 <groupId>org.tinyjee.dim</groupId>
146 <artifactId>doxia-include-macro</artifactId>
147 <version>1.1</version>
148 <executions>
149 <execution>
150 <id>initialize-doxia-include-macro</id>
151 <phase>pre-site</phase>
152 <goals>
153 <goal>initialize</goal>
154 </goals>
155 </execution>
156 </executions>
157 </plugin>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-site-plugin</artifactId>
161 <version>3.4</version>
162 <configuration>
163 <chmod>false</chmod>
164 </configuration>
165 <dependencies>
166 <dependency>
167 <groupId>org.apache.maven.wagon</groupId>
168 <artifactId>wagon-ssh</artifactId>
169 <version>2.7</version>
170 </dependency>
171 <dependency>
172 <groupId>org.tinyjee.dim</groupId>
173 <artifactId>doxia-include-macro</artifactId>
174 <version>1.1</version>
175 </dependency>
176 <dependency>
177 <groupId>net.ju-n.maven.doxia</groupId>
178 <artifactId>doxia-module-markdown</artifactId>
179 <version>1.0.0</version>
180 </dependency>
181 </dependencies>
182 </plugin>
183 <plugin>
ritchie8b3f33c2015-02-27 07:23:28 +0100184 <groupId>org.codehaus.mojo</groupId>
185 <artifactId>license-maven-plugin</artifactId>
186 <version>1.7</version>
187 <configuration>
188 <verbose>false</verbose>
189 </configuration>
190 <executions>
191 <execution>
192 <id>first</id>
193 <goals>
194 <goal>update-file-header</goal>
195 <goal>update-project-license</goal>
196 </goals>
197 <phase>process-sources</phase>
198 <configuration>
199 <licenseName>bsd_3</licenseName>
200 <roots>
201 <root>src/main/java</root>
ritchie8bb6bfb2015-05-14 16:53:11 +0200202 <root>src/test/java</root>
ritchie8b3f33c2015-02-27 07:23:28 +0100203 </roots>
204 </configuration>
205 </execution>
206 </executions>
207 </plugin>
ritchief0842f42015-05-08 07:39:56 +0200208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
ritchied47ed2a2015-05-08 15:09:35 +0200210 <artifactId>maven-surefire-plugin</artifactId>
211 <version>2.18.1</version>
212 <configuration>
213 <forkCount>1</forkCount>
214 <reuseForks>false</reuseForks>
215 </configuration>
216 </plugin>
ritchieb2067792015-05-09 09:38:28 +0200217 <plugin>
ritchie9c4e5f62015-05-10 15:04:38 +0200218 <groupId>org.jacoco</groupId>
219 <artifactId>jacoco-maven-plugin</artifactId>
220 <version>0.7.4.201502262128</version>
221 <executions>
222 <execution>
223 <id>default-prepare-agent</id>
224 <goals>
225 <goal>prepare-agent</goal>
226 </goals>
227 </execution>
228 <execution>
229 <id>default-report</id>
230 <phase>prepare-package</phase>
231 <goals>
232 <goal>report</goal>
233 </goals>
234 </execution>
ritchieffabe5f2015-09-13 06:22:54 +0200235 <execution>
236 <id>default-check</id>
237 <goals>
238 <goal>check</goal>
239 </goals>
240 <configuration>
241 <rules>
242 <rule>
243 <element>BUNDLE</element>
244 <limits>
245 <limit>
246 <counter>LINE</counter>
247 <value>COVEREDRATIO</value>
248 <minimum>${minimal.coverage}</minimum>
249 </limit>
250 </limits>
251 </rule>
252 </rules>
253 </configuration>
254 </execution>
ritchie9c4e5f62015-05-10 15:04:38 +0200255 </executions>
ritchieb2067792015-05-09 09:38:28 +0200256 </plugin>
ritchie8b3f33c2015-02-27 07:23:28 +0100257 </plugins>
258 </build>
ritchief0842f42015-05-08 07:39:56 +0200259 <reporting>
260 <plugins>
261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-project-info-reports-plugin</artifactId>
264 <version>2.8</version>
265 <configuration>
266 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
267 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
268 </configuration>
269 <reportSets>
270 <reportSet>
271 <reports>
272 <report>index</report>
273 <report>dependencies</report>
274 <report>project-team</report>
275 <report>mailing-list</report>
276 <report>cim</report>
277 <report>issue-tracking</report>
278 <report>license</report>
279 <report>scm</report>
280 </reports>
281 </reportSet>
282 </reportSets>
283 </plugin>
284 <plugin>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-javadoc-plugin</artifactId>
287 <version>2.10.1</version>
288 <configuration>
289 <failOnError>false</failOnError>
290 <aggregate>false</aggregate>
291 </configuration>
292 <reportSets>
293 <reportSet><!-- by default, id = "default" -->
294 <reports><!-- select non-aggregate reports -->
295 <report>javadoc-no-fork</report>
296 </reports>
297 </reportSet>
298 </reportSets>
299 </plugin>
300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-jxr-plugin</artifactId>
303 <version>2.4</version>
304 <configuration>
305 <linkJavadoc>true</linkJavadoc>
306 <skip>${nanohttpd.nonjavamodule}</skip>
307 </configuration>
308 </plugin>
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-pmd-plugin</artifactId>
312 <version>3.2</version>
313 <configuration>
314 <linkXref>true</linkXref>
315 <sourceEncoding>UTF-8</sourceEncoding>
ritchie29d1d192015-05-23 14:54:07 +0200316 <targetJdk>1.6</targetJdk>
ritchief0842f42015-05-08 07:39:56 +0200317 <skipEmptyReport>false</skipEmptyReport>
318 <minimumTokens>50</minimumTokens>
319 </configuration>
320 </plugin>
321 <plugin>
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>taglist-maven-plugin</artifactId>
324 <version>2.4</version>
325 </plugin>
326 <plugin>
327 <groupId>org.codehaus.mojo</groupId>
328 <artifactId>findbugs-maven-plugin</artifactId>
329 <version>3.0.0</version>
330 </plugin>
ritchie4decd0f2015-05-10 08:23:17 +0200331 <plugin>
ritchie9c4e5f62015-05-10 15:04:38 +0200332 <groupId>org.jacoco</groupId>
333 <artifactId>jacoco-maven-plugin</artifactId>
334 <version>0.7.4.201502262128</version>
ritchie4decd0f2015-05-10 08:23:17 +0200335 </plugin>
ritchief0842f42015-05-08 07:39:56 +0200336 </plugins>
337 </reporting>
ritchie8b3f33c2015-02-27 07:23:28 +0100338 <dependencies>
339 <dependency>
340 <groupId>junit</groupId>
341 <artifactId>junit</artifactId>
ritchie52e133e2015-09-13 06:59:56 +0200342 <version>4.12</version>
ritchie8b3f33c2015-02-27 07:23:28 +0100343 <scope>test</scope>
344 </dependency>
345 </dependencies>
346 <profiles>
347 <profile>
348 <id>release-sign-artifacts</id>
349 <activation>
350 <property>
351 <name>performRelease</name>
352 <value>true</value>
353 </property>
354 </activation>
355 <build>
356 <plugins>
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-gpg-plugin</artifactId>
360 <executions>
361 <execution>
362 <id>sign-artifacts</id>
363 <phase>verify</phase>
364 <goals>
365 <goal>sign</goal>
366 </goals>
367 <!-- if the local user is not the key user use -Dgpg.keyname=XXXX -->
368 </execution>
369 </executions>
370 </plugin>
371 </plugins>
372 </build>
373 </profile>
ritchief0842f42015-05-08 07:39:56 +0200374 <profile>
375 <id>java</id>
376 <activation>
377 <file>
378 <exists>src/main/java</exists>
379 </file>
380 </activation>
ritchie90584642015-05-10 13:41:19 +0200381 <build>
382 <plugins>
383 <plugin>
ritchie9c4e5f62015-05-10 15:04:38 +0200384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-checkstyle-plugin</artifactId>
386 <version>2.15</version>
387 <configuration>
388 <configLocation>${project.basedir}/../src/main/checkstyle/nanohttpd-style.xml</configLocation>
389 <suppressionsLocation>${project.basedir}/../src/main/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
390 <encoding>UTF-8</encoding>
391 <consoleOutput>true</consoleOutput>
392 <failsOnError>false</failsOnError>
393 <linkXRef>true</linkXRef>
394 </configuration>
395 </plugin>
396 <plugin>
ritchie90584642015-05-10 13:41:19 +0200397 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
398 <artifactId>maven-java-formatter-plugin</artifactId>
399 <version>0.4</version>
400 <executions>
401 <execution>
402 <goals>
403 <goal>format</goal>
404 </goals>
405 </execution>
406 </executions>
407 <configuration>
408 <configFile>${project.basedir}/../src/main/formatter/formatter.xml</configFile>
ritchie5fa02192015-07-10 08:24:16 +0200409 <lineEnding>LF</lineEnding>
ritchie90584642015-05-10 13:41:19 +0200410 </configuration>
411 </plugin>
412 </plugins>
413 </build>
ritchief0842f42015-05-08 07:39:56 +0200414 <reporting>
415 <plugins>
416 <plugin>
417 <groupId>org.apache.maven.plugins</groupId>
418 <artifactId>maven-checkstyle-plugin</artifactId>
419 <version>2.15</version>
ritchief0842f42015-05-08 07:39:56 +0200420 <reportSets>
421 <reportSet>
422 <reports>
423 <report>checkstyle</report>
424 </reports>
425 </reportSet>
426 </reportSets>
427 </plugin>
428 </plugins>
429 </reporting>
430 </profile>
ritchiea029fe82015-05-14 17:13:40 +0200431 <profile>
432 <id>parent-build</id>
433 <activation>
434 <file>
435 <exists>core/pom.xml</exists>
436 </file>
437 </activation>
438 <build>
439 <plugins>
440 <plugin>
441 <groupId>org.jacoco</groupId>
442 <artifactId>jacoco-maven-plugin</artifactId>
443 <version>0.7.4.201502262128</version>
444 <executions>
445 <execution>
446 <id>merge-report</id>
447 <phase>package</phase>
448 <goals>
449 <goal>merge</goal>
450 </goals>
451 </execution>
452 </executions>
453 <configuration>
454 <fileSets>
455 <fileSet>
456 <directory>${project.basedir}/..</directory>
457 <includes>
458 <include>*.exec</include>
459 </includes>
460 </fileSet>
461 </fileSets>
462 </configuration>
463 </plugin>
464 <plugin>
465 <groupId>org.eluder.coveralls</groupId>
466 <artifactId>coveralls-maven-plugin</artifactId>
467 <version>3.1.0</version>
468 </plugin>
469 </plugins>
470 </build>
471 </profile>
ritchie0dbe9162015-05-23 15:11:34 +0200472 <profile>
473 <id>use 1.6 compiler</id>
474 <activation>
475 <file>
476 <exists>/usr/lib/jvm/java-6-openjdk-amd64/bin/javac</exists>
477 </file>
478 </activation>
479 <build>
480 <plugins>
481 <plugin>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-compiler-plugin</artifactId>
484 <version>3.3</version>
485 <configuration>
486 <source>1.6</source>
487 <target>1.6</target>
488 <verbose>true</verbose>
489 <fork>true</fork>
490 <executable>/usr/lib/jvm/java-6-openjdk-amd64/bin/javac</executable>
491 </configuration>
492 </plugin>
493 </plugins>
494 </build>
495 </profile>
ritchie8b3f33c2015-02-27 07:23:28 +0100496 </profiles>
ritchieffabe5f2015-09-13 06:22:54 +0200497 <properties>
ritchieb7c544c2015-09-13 08:06:09 +0200498 <minimal.coverage>0.77</minimal.coverage>
ritchieffabe5f2015-09-13 06:22:54 +0200499 </properties>
Paul Hawkebed84492013-01-07 10:39:38 -0600500</project>