• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<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">
2	<modelVersion>4.0.0</modelVersion>
3	<parent>
4		<groupId>org.sonatype.oss</groupId>
5		<artifactId>oss-parent</artifactId>
6		<version>7</version>
7	</parent>
8	<groupId>org.nanohttpd</groupId>
9	<artifactId>nanohttpd-project</artifactId>
10	<version>2.2.0</version>
11	<packaging>pom</packaging>
12	<name>NanoHttpd-Project</name>
13	<description>NanoHttpd is a light-weight HTTP server designed for embedding in other applications.</description>
14	<url>http://www.nanohttpd.org</url>
15	<scm>
16		<connection>scm:git:https://github.com/NanoHttpd/nanohttpd.git</connection>
17		<developerConnection>scm:git:https://github.com/NanoHttpd/nanohttpd.git</developerConnection>
18		<url>https://github.com/NanoHttpd/nanohttpd</url>
19		<tag>nanohttpd-project-2.2.0</tag>
20	</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>
36			<id>private-deploy</id>
37			<name>private Project Site</name>
38			<url>scp://nanohttpd.org:33333/home/nanohttpd/public_html</url>
39		</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>
56			<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>
69			<name>Richard van Nieuwenhoven</name>
70			<email>ritchie [at] gmx [dot] at</email>
71			<roles>
72				<role>Administrator</role>
73				<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>
90		<module>nanolets</module>
91		<module>fileupload</module>
92	</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>
103				<groupId>org.apache.maven.wagon</groupId>
104				<artifactId>wagon-ssh</artifactId>
105				<version>2.7</version>
106			</extension>
107		</extensions>
108
109		<plugins>
110			<plugin>
111				<groupId>org.apache.maven.plugins</groupId>
112				<artifactId>maven-compiler-plugin</artifactId>
113				<version>3.3</version>
114				<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>
124					<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>
145				<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>
184				<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>
202								<root>src/test/java</root>
203							</roots>
204						</configuration>
205					</execution>
206				</executions>
207			</plugin>
208			<plugin>
209				<groupId>org.apache.maven.plugins</groupId>
210				<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>
217			<plugin>
218				<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>
235					<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>
255				</executions>
256			</plugin>
257		</plugins>
258	</build>
259	<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>
316					<targetJdk>1.6</targetJdk>
317					<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>
331			<plugin>
332				<groupId>org.jacoco</groupId>
333				<artifactId>jacoco-maven-plugin</artifactId>
334				<version>0.7.4.201502262128</version>
335			</plugin>
336		</plugins>
337	</reporting>
338	<dependencies>
339		<dependency>
340			<groupId>junit</groupId>
341			<artifactId>junit</artifactId>
342			<version>4.12</version>
343			<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>
374		<profile>
375			<id>java</id>
376			<activation>
377				<file>
378					<exists>src/main/java</exists>
379				</file>
380			</activation>
381			<build>
382				<plugins>
383					<plugin>
384						<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>
397						<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>
409							<lineEnding>LF</lineEnding>
410						</configuration>
411					</plugin>
412				</plugins>
413			</build>
414			<reporting>
415				<plugins>
416					<plugin>
417						<groupId>org.apache.maven.plugins</groupId>
418						<artifactId>maven-checkstyle-plugin</artifactId>
419						<version>2.15</version>
420						<reportSets>
421							<reportSet>
422								<reports>
423									<report>checkstyle</report>
424								</reports>
425							</reportSet>
426						</reportSets>
427					</plugin>
428				</plugins>
429			</reporting>
430		</profile>
431		<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>
472		<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>
496	</profiles>
497	<properties>
498		<minimal.coverage>0.77</minimal.coverage>
499	</properties>
500</project>
501