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

67
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 -->
@ -78,7 +80,6 @@
<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>
@ -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>