| <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> |