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

Dieser Commit ist enthalten in:
sk89q 2012-08-10 23:41:10 -07:00
Ursprung 499e73751d
Commit 95d6ae6475

77
pom.xml
Datei anzeigen

@ -1,9 +1,5 @@
<!-- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Maven build file for WorldEdit 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>
WorldEdit 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>worldedit</artifactId> <artifactId>worldedit</artifactId>
@ -11,20 +7,27 @@
<name>WorldEdit</name> <name>WorldEdit</name>
<description>WorldEdit allows for editing the Minecraft SMP world <description>WorldEdit allows for editing the Minecraft SMP world
en-masse, de-griefing, and fixing issues.</description> en-masse, de-griefing, and fixing issues.</description>
<properties> <licenses>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <license>
</properties> <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/worldedit.git</connection> <connection>scm:git:git://github.com/sk89q/worldedit.git</connection>
<url>https://github.com/sk89q/worldedit</url> <url>https://github.com/sk89q/worldedit</url>
<tag>master</tag>
<developerConnection>scm:git:git@github.com:sk89q/worldedit.git</developerConnection> <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> <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> <repository>
<id>bukkit-repo</id> <id>bukkit-repo</id>
@ -35,7 +38,6 @@
<url>http://repo.spout.org/</url> <url>http://repo.spout.org/</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<!-- Used for Permissions support (this version has both the legacy API <!-- Used for Permissions support (this version has both the legacy API
and the new Permissions API to compile against --> and the new Permissions API to compile against -->
@ -45,7 +47,7 @@
<version>1.6</version> <version>1.6</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- Bukkit --> <!-- Bukkit -->
<dependency> <dependency>
<groupId>org.bukkit</groupId> <groupId>org.bukkit</groupId>
@ -53,21 +55,21 @@
<version>1.2.5-R4.1-SNAPSHOT</version> <version>1.2.5-R4.1-SNAPSHOT</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- Archive reading library for snapshots --> <!-- Archive reading library for snapshots -->
<dependency> <dependency>
<groupId>de.schlichtherle</groupId> <groupId>de.schlichtherle</groupId>
<artifactId>truezip</artifactId> <artifactId>truezip</artifactId>
<version>6.8.3</version> <version>6.8.3</version>
</dependency> </dependency>
<!-- JavaScript library --> <!-- JavaScript library -->
<dependency> <dependency>
<groupId>rhino</groupId> <groupId>rhino</groupId>
<artifactId>js</artifactId> <artifactId>js</artifactId>
<version>1.7R2</version> <version>1.7R2</version>
</dependency> </dependency>
<!-- Time related functions, used for snapshots. This is NOT the original <!-- Time related functions, used for snapshots. This is NOT the original
jchronic as it has been modified to have some extra timezone related methods jchronic as it has been modified to have some extra timezone related methods
(which were hacked in) --> (which were hacked in) -->
@ -78,14 +80,13 @@
<type>jar</type> <type>jar</type>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId> <artifactId>mockito-core</artifactId>
<version>1.9.0-rc1</version> <version>1.9.0-rc1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- Spout --> <!-- Spout -->
<dependency> <dependency>
<groupId>org.spout</groupId> <groupId>org.spout</groupId>
@ -100,7 +101,12 @@
<optional>true</optional> <optional>true</optional>
</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>
@ -216,6 +222,35 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<!-- Site generation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<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>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>