Updated pom.xml for license, distributionManagement, maven-site-plugin.

This commit is contained in:
sk89q 2012-08-11 00:26:06 -07:00
parent 27e634ae03
commit 1f1e36e9f7

89
pom.xml
View File

@ -1,42 +1,43 @@
<!-- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Maven build file for WorldGuard xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Copyright (c) 2011 sk89q <http://www.sk89q.com>
WorldGuard is available under the GNU General Public License v3
-->
<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> <modelVersion>4.0.0</modelVersion>
<groupId>com.sk89q</groupId> <groupId>com.sk89q</groupId>
<artifactId>worldguard</artifactId> <artifactId>worldguard</artifactId>
<version>5.5.4-SNAPSHOT</version> <version>5.5.4-SNAPSHOT</version>
<name>WorldGuard</name> <name>WorldGuard</name>
<description>WorldGuard protects your Minecraft servers</description> <description>WorldGuard protects your Minecraft servers.</description>
<licenses>
<license>
<name>GNU General Public License 2.0</name>
<url>LICENSE.txt</url>
<distribution>repo</distribution>
<comments>License on all contributions</comments>
</license>
</licenses>
<scm> <scm>
<connection>scm:git:git://github.com/sk89q/worldguard.git</connection> <connection>scm:git:git://github.com/sk89q/worldedit.git</connection>
<url>https://github.com/sk89q/worldguard</url> <url>https://github.com/sk89q/worldedit</url>
<developerConnection>scm:git:git@github.com:sk89q/worldguard.git</developerConnection> <tag>master</tag>
<developerConnection>scm:git:git@github.com:sk89q/worldedit.git</developerConnection>
</scm> </scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories> <repositories>
<!-- Repository for zml's stuff -->
<repository> <repository>
<id>zml-repo</id> <id>zml-repo</id>
<url>http://files.zachsthings.com/repo</url> <url>http://files.zachsthings.com/repo</url>
</repository> </repository>
<!-- Repository for other dependencies of SK's -->
<repository> <repository>
<id>sk89q-mvn2</id> <id>sk89q-repo</id>
<url>http://mvn2.sk89q.com/repo</url> <url>http://maven.sk89q.com/repo/</url>
</repository> </repository>
<!-- Repository for Bukkit -->
<repository> <repository>
<id>bukkit-repo</id> <id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public</url> <url>http://repo.bukkit.org/content/groups/public</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<!-- Required component -->
<dependency> <dependency>
<groupId>com.sk89q</groupId> <groupId>com.sk89q</groupId>
<artifactId>worldedit</artifactId> <artifactId>worldedit</artifactId>
@ -80,9 +81,22 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<distributionManagement>
<site>
<id>sk89q-docs-upload</id>
<url>ftp://sk89q-maven-deploy/worldedit/</url>
</site>
</distributionManagement>
<build> <build>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory> <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
<!-- Resources --> <!-- Resources -->
<resources> <resources>
@ -190,20 +204,35 @@
<tagNameFormat>@{project.version}</tagNameFormat> <tagNameFormat>@{project.version}</tagNameFormat>
</configuration> </configuration>
</plugin> </plugin>
</plugins>
</build> <!-- Site generation -->
<reporting>
<plugins>
<!-- Javadocs -->
<!-- TODO: Get Doclava working -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
<version>2.8</version> <version>3.1</version>
<configuration> <configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.5</version>
<reportSets>
<reportSet>
<reports>
<report>license</report>
<report>index</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
</plugin>
</reportPlugins>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</reporting> </build>
</project> </project>