aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorritchie <ritchie@gmx.at>2015-05-08 07:39:56 +0200
committerritchie <ritchie@gmx.at>2015-05-08 07:39:56 +0200
commitf0842f401ebf8723e419f916a55a82fced0eab2b (patch)
tree355d5f4b68ba1f051d2d7a25e7c3f7daf8a89683 /pom.xml
parent59db699430df487f0dfd7d59baef3750bedf2382 (diff)
downloadnanohttpd-f0842f401ebf8723e419f916a55a82fced0eab2b.tar.gz
site configuration added
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml189
1 files changed, 176 insertions, 13 deletions
diff --git a/pom.xml b/pom.xml
index c3540bb..17742d6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,5 @@
-<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">
+<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>
@@ -33,9 +34,9 @@
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<site>
- <id>sourceforge-deploy</id>
- <name>Sourceforge Maven 2 Project Site</name>
- <url>file://${java.io.tmpdir}/stage</url>
+ <id>private-deploy</id>
+ <name>private Project Site</name>
+ <url>scp://nanohttpd.org:33333/home/nanohttpd/public_html</url>
</site>
</distributionManagement>
<inceptionYear>2012</inceptionYear>
@@ -98,14 +99,9 @@
<build>
<extensions>
<extension>
- <groupId>org.jvnet.wagon-svn</groupId>
- <artifactId>wagon-svn</artifactId>
- <version>1.8</version>
- </extension>
- <extension>
<groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ftp</artifactId>
- <version>1.0-alpha-6</version>
+ <artifactId>wagon-ssh</artifactId>
+ <version>2.7</version>
</extension>
</extensions>
@@ -124,7 +120,6 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
<configuration>
- <skip>${jwifisd.nonjavamodule}</skip>
<aggregate>false</aggregate>
<failOnError>false</failOnError>
</configuration>
@@ -143,10 +138,48 @@
<version>2.5.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
- <branchName>${project.artifactId}-2.1.1</branchName>
</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>
@@ -171,8 +204,87 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.13</version>
+ </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.7</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>
+ </plugins>
+ </reporting>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -209,5 +321,56 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>java</id>
+ <activation>
+ <file>
+ <exists>src/main/java</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <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>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <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>
+ <suppressionsFileExpression>${project.basedir}/../src/main/checkstyle/checkstyle-suppressions.xml</suppressionsFileExpression>
+ <encoding>UTF-8</encoding>
+ <consoleOutput>true</consoleOutput>
+ <failsOnError>false</failsOnError>
+ <linkXRef>true</linkXRef>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>checkstyle</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
</profiles>
</project>