configure maven site

This commit is contained in:
Vincent Behar 2011-07-02 19:58:23 +02:00
parent aad9b975a6
commit cdf1fb391d
2 changed files with 276 additions and 17 deletions

278
pom.xml
View file

@ -2,26 +2,46 @@
<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/maven-v4_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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<!-- For deploying to Sonatype OSS Nexus -->
<parent> <parent>
<groupId>org.sonatype.oss</groupId> <groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId> <artifactId>oss-parent</artifactId>
<version>7</version> <version>7</version>
</parent> </parent>
<!-- Project informations -->
<groupId>org.rundeck</groupId> <groupId>org.rundeck</groupId>
<artifactId>rundeck-api-java-client</artifactId> <artifactId>rundeck-api-java-client</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>RunDeck API - Java Client</name> <name>RunDeck API - Java Client</name>
<description>Java client for the RunDeck REST API</description> <description>Java client for the RunDeck REST API</description>
<url>https://github.com/vbehar/rundeck-api-java-client</url> <inceptionYear>2011</inceptionYear>
<url>http://vbehar.github.com/rundeck-api-java-client</url>
<scm> <scm>
<url>https://github.com/vbehar/rundeck-api-java-client</url> <url>https://github.com/vbehar/rundeck-api-java-client</url>
<connection>scm:git:git://github.com/vbehar/rundeck-api-java-client.git</connection> <connection>scm:git:git://github.com/vbehar/rundeck-api-java-client.git</connection>
<developerConnection>scm:git:git@github.com:vbehar/rundeck-api-java-client.git</developerConnection> <developerConnection>scm:git:git@github.com:vbehar/rundeck-api-java-client.git</developerConnection>
</scm> </scm>
<distributionManagement>
<site>
<id>github-site</id>
<url>gitsite:git@github.com/vbehar/rundeck-api-java-client.git</url>
</site>
</distributionManagement>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/vbehar/rundeck-api-java-client/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>rundeck-discuss</name>
<subscribe>rundeck-discuss+subscribe@googlegroups.com</subscribe>
<unsubscribe>rundeck-discuss+unsubscribe@googlegroups.com</unsubscribe>
<post>rundeck-discuss@googlegroups.com</post>
<archive>http://groups.google.com/group/rundeck-discuss</archive>
</mailingList>
</mailingLists>
<licenses> <licenses>
<license> <license>
<name>The Apache Software License, Version 2.0</name> <name>The Apache Software License, Version 2.0</name>
@ -29,7 +49,6 @@
<distribution>repo</distribution> <distribution>repo</distribution>
</license> </license>
</licenses> </licenses>
<developers> <developers>
<developer> <developer>
<id>vbehar</id> <id>vbehar</id>
@ -37,20 +56,138 @@
</developer> </developer>
</developers> </developers>
<properties>
<project.build.sourceJdk>1.5</project.build.sourceJdk>
<project.build.targetJdk>1.5</project.build.targetJdk>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Plugins version -->
<plugin.antrun.version>1.6</plugin.antrun.version>
<plugin.assembly.version>2.2.1</plugin.assembly.version>
<plugin.changes.version>2.6</plugin.changes.version>
<plugin.checkstyle.version>2.6</plugin.checkstyle.version>
<plugin.clean.version>2.4.1</plugin.clean.version>
<plugin.compiler.version>2.3.2</plugin.compiler.version>
<plugin.dependency.version>2.2</plugin.dependency.version>
<plugin.deploy.version>2.6</plugin.deploy.version>
<plugin.eclipse.version>2.8</plugin.eclipse.version>
<plugin.enforcer.version>1.0.1</plugin.enforcer.version>
<plugin.findbugs.version>2.3.2</plugin.findbugs.version>
<plugin.help.version>2.1.1</plugin.help.version>
<plugin.install.version>2.3.1</plugin.install.version>
<plugin.jar.version>2.3.1</plugin.jar.version>
<plugin.javadoc.version>2.8</plugin.javadoc.version>
<plugin.jxr.version>2.2</plugin.jxr.version>
<plugin.pmd.version>2.5</plugin.pmd.version>
<plugin.project-info-reports.version>2.4</plugin.project-info-reports.version>
<plugin.release.version>2.2</plugin.release.version>
<plugin.resources.version>2.5</plugin.resources.version>
<plugin.site.version>2.3</plugin.site.version>
<plugin.source.version>2.1.2</plugin.source.version>
<plugin.surefire.version>2.9</plugin.surefire.version>
<plugin.taglist.version>2.4</plugin.taglist.version>
<plugin.versions.version>1.2</plugin.versions.version>
</properties>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.5</source> <source>${project.build.sourceJdk}</source>
<target>1.5</target> <target>${project.build.targetJdk}</target>
<encoding>${project.build.sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
<showDeprecation>true</showDeprecation> <showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>${plugin.antrun.version}</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${plugin.assembly.version}</version>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${plugin.checkstyle.version}</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${plugin.clean.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${plugin.compiler.version}</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${plugin.dependency.version}</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>${plugin.deploy.version}</version>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>${plugin.eclipse.version}</version>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${plugin.enforcer.version}</version>
</plugin>
<plugin>
<artifactId>maven-help-plugin</artifactId>
<version>${plugin.help.version}</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>${plugin.install.version}</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${plugin.jar.version}</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${plugin.javadoc.version}</version>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>${plugin.pmd.version}</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>${plugin.release.version}</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${plugin.resources.version}</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>${plugin.site.version}</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>${plugin.source.version}</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${plugin.surefire.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${plugin.findbugs.version}</version>
</plugin>
</plugins>
</pluginManagement>
<extensions> <extensions>
<extension> <extension>
<groupId>org.apache.maven.scm</groupId> <groupId>org.apache.maven.scm</groupId>
@ -70,6 +207,123 @@
</extensions> </extensions>
</build> </build>
<!-- Reports for the maven site -->
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${plugin.project-info-reports.version}</version>
<reportSets>
<reportSet>
<reports>
<report>dependencies</report>
<report>distribution-management</report>
<report>index</report>
<report>issue-tracking</report>
<report>license</report>
<report>mailing-list</report>
<report>project-team</report>
<report>scm</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${plugin.javadoc.version}</version>
<configuration>
<links>
<link>http://java.sun.com/javase/6/docs/api/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${plugin.jxr.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>${plugin.taglist.version}</version>
<configuration>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>Todo Work</displayName>
<tags>
<tag>
<matchString>TODO</matchString>
<matchType>ignoreCase</matchType>
</tag>
<tag>
<matchString>FIXME</matchString>
<matchType>exact</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${plugin.changes.version}</version>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${plugin.versions.version}</version>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<comparisonMethod>mercury</comparisonMethod>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${plugin.pmd.version}</version>
<configuration>
<sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
<targetJdk>${project.build.targetJdk}</targetJdk>
<linkXref>true</linkXref>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${plugin.findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
</configuration>
</plugin>
</plugins>
</reporting>
<dependencies> <dependencies>
<!-- HTTP --> <!-- HTTP -->
<dependency> <dependency>
@ -77,14 +331,12 @@
<artifactId>httpclient</artifactId> <artifactId>httpclient</artifactId>
<version>4.1.1</version> <version>4.1.1</version>
</dependency> </dependency>
<!-- Commons --> <!-- Commons -->
<dependency> <dependency>
<groupId>commons-lang</groupId> <groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId> <artifactId>commons-lang</artifactId>
<version>2.6</version> <version>2.6</version>
</dependency> </dependency>
<!-- XML Parsing --> <!-- XML Parsing -->
<dependency> <dependency>
<groupId>dom4j</groupId> <groupId>dom4j</groupId>
@ -96,22 +348,14 @@
<artifactId>jaxen</artifactId> <artifactId>jaxen</artifactId>
<version>1.1.1</version> <version>1.1.1</version>
</dependency> </dependency>
<!-- Test --> <!-- Test -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.8.1</version> <version>4.8.2</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<distributionManagement>
<site>
<id>github-site</id>
<url>gitsite:git@github.com/vbehar/rundeck-api-java-client.git</url>
</site>
</distributionManagement>
</project> </project>

15
src/changes/changes.xml Normal file
View file

@ -0,0 +1,15 @@
<document xmlns="http://maven.apache.org/changes/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
<properties>
<title>Changelog</title>
<author>Vincent Behar</author>
</properties>
<body>
<release version="1.0" date="Not yet released" description="Use RunDeck REST API version 1 (RunDeck 1.2+)">
<action dev="vbehar" type="add">
Initial release
</action>
</release>
</body>
</document>