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