Updating POM to use Sonatype Nexus OSS.

This commit is contained in:
Kristian S. Stangeland 2012-10-11 22:30:46 +02:00
parent 3af9196740
commit 8bd7f75a6d
2 changed files with 168 additions and 179 deletions

View File

@ -1,165 +1,160 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<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> <parent>
<groupId>com.comphenix.protocol</groupId> <artifactId>oss-parent</artifactId>
<artifactId>ProtocolLib</artifactId> <groupId>org.sonatype.oss</groupId>
<name>ProtocolLib</name> <version>7</version>
<version>1.3.1</version> <relativePath>../pom.xml/pom.xml</relativePath>
<description>Provides read/write access to the Minecraft protocol.</description> </parent>
<url>http://dev.bukkit.org/server-mods/protocollib/</url> <modelVersion>4.0.0</modelVersion>
<developers> <groupId>com.comphenix.protocol</groupId>
<developer> <artifactId>ProtocolLib</artifactId>
<id>aadnk</id> <name>ProtocolLib</name>
<name>Kristian S. Stangeland</name> <version>1.3.1</version>
<email>kr_stang@hotmail.com</email> <description>Provides read/write access to the Minecraft protocol.</description>
<url>http://comphenix.net/</url> <url>http://dev.bukkit.org/server-mods/protocollib/</url>
<roles> <developers>
<role>developer</role> <developer>
<role>maintainer</role> <id>aadnk</id>
</roles> <name>Kristian S. Stangeland</name>
<timezone>1</timezone> <email>kr_stang@hotmail.com</email>
</developer> <url>http://comphenix.net/</url>
</developers> <roles>
<licenses> <role>developer</role>
<license> <role>maintainer</role>
<name>GNU GENERAL PUBLIC LICENSE - Version 2, June 1991</name> </roles>
<url>http://www.gnu.org/licenses/gpl-2.0.txt</url> <timezone>1</timezone>
<distribution>repo</distribution> </developer>
</license> </developers>
</licenses> <licenses>
<scm> <license>
<connection>scm:git:git://github.com/aadnk/ProtocolLib.git</connection> <name>GNU GENERAL PUBLIC LICENSE - Version 2, June 1991</name>
<developerConnection>scm:git:git@github.com:aadnk/ProtocolLib.git</developerConnection> <url>http://www.gnu.org/licenses/gpl-2.0.txt</url>
<url>https://github.com/aadnk/ProtocolLib</url> <distribution>repo</distribution>
</scm> </license>
<build> </licenses>
<sourceDirectory>src/main/java</sourceDirectory> <scm>
<testSourceDirectory>src/test/java</testSourceDirectory> <connection>scm:git:git://github.com/aadnk/ProtocolLib.git</connection>
<resources> <developerConnection>scm:git:git@github.com:aadnk/ProtocolLib.git</developerConnection>
<resource> <url>https://github.com/aadnk/ProtocolLib</url>
<directory>src/main/java</directory> </scm>
<excludes> <build>
<exclude>**/*.java</exclude> <sourceDirectory>src/main/java</sourceDirectory>
</excludes> <testSourceDirectory>src/test/java</testSourceDirectory>
</resource> <defaultGoal>clean install</defaultGoal>
</resources> <resources>
<plugins> <resource>
<plugin> <directory>src/main/java</directory>
<artifactId>maven-shade-plugin</artifactId> <excludes>
<version>2.0</version> <exclude>**/*.java</exclude>
<executions> </excludes>
<execution> </resource>
<phase>package</phase> </resources>
<goals> <plugins>
<goal>shade</goal> <plugin>
</goals> <artifactId>maven-shade-plugin</artifactId>
<configuration> <version>2.0</version>
<artifactSet> <executions>
<excludes> <execution>
<exclude>org.bukkit:craftbukkit</exclude> <phase>package</phase>
<exclude>junit:junit</exclude> <goals>
</excludes> <goal>shade</goal>
</artifactSet> </goals>
</configuration> <configuration>
</execution> <artifactSet>
</executions> <excludes>
</plugin> <exclude>org.bukkit:craftbukkit</exclude>
<plugin> <exclude>junit:junit</exclude>
<artifactId>maven-compiler-plugin</artifactId> </excludes>
<version>2.3.2</version> </artifactSet>
<configuration> </configuration>
<source>1.6</source> </execution>
<target>1.6</target> </executions>
</configuration> </plugin>
</plugin> <plugin>
</plugins> <artifactId>maven-compiler-plugin</artifactId>
</build> <version>2.3.2</version>
<profiles> <configuration>
<profile> <source>1.6</source>
<id>release-sign-artifacts</id> <target>1.6</target>
<build> </configuration>
<plugins> </plugin>
<plugin> </plugins>
<artifactId>maven-source-plugin</artifactId> </build>
<version>2.2</version> <profiles>
<executions> <profile>
<execution> <id>release-sign-artifacts</id>
<id>attach-sources</id> <build>
<goals> <plugins>
<goal>jar</goal> <plugin>
</goals> <artifactId>maven-source-plugin</artifactId>
</execution> <version>2.2</version>
</executions> <executions>
</plugin> <execution>
<plugin> <id>attach-sources</id>
<artifactId>maven-javadoc-plugin</artifactId> <goals>
<version>2.9</version> <goal>jar</goal>
<executions> </goals>
<execution> </execution>
<id>attach-javadocs</id> </executions>
<goals> </plugin>
<goal>jar</goal> <plugin>
</goals> <artifactId>maven-javadoc-plugin</artifactId>
</execution> <version>2.9</version>
</executions> <executions>
</plugin> <execution>
<plugin> <id>attach-javadocs</id>
<artifactId>maven-gpg-plugin</artifactId> <goals>
<version>1.4</version> <goal>jar</goal>
<executions> </goals>
<execution> </execution>
<id>sign-artifacts</id> </executions>
<phase>verify</phase> </plugin>
<goals> <plugin>
<goal>sign</goal> <artifactId>maven-gpg-plugin</artifactId>
</goals> <version>1.4</version>
</execution> <executions>
</executions> <execution>
</plugin> <id>sign-artifacts</id>
</plugins> <phase>verify</phase>
</build> <goals>
</profile> <goal>sign</goal>
</profiles> </goals>
<repositories> </execution>
<repository> </executions>
<id>bukkit-rep</id> </plugin>
<url>http://repo.bukkit.org/content/groups/public</url> </plugins>
</repository> </build>
</repositories> </profile>
<dependencies> </profiles>
<dependency> <repositories>
<groupId>org.bukkit</groupId> <repository>
<artifactId>craftbukkit</artifactId> <id>bukkit-rep</id>
<version>1.3.2-R1.0</version> <url>http://repo.bukkit.org/content/groups/public</url>
<scope>compile</scope> </repository>
</dependency> </repositories>
<dependency> <dependencies>
<groupId>junit</groupId> <dependency>
<artifactId>junit</artifactId> <groupId>org.bukkit</groupId>
<version>4.10</version> <artifactId>craftbukkit</artifactId>
<scope>test</scope> <version>1.3.2-R1.0</version>
<exclusions> <scope>compile</scope>
<exclusion> </dependency>
<artifactId>hamcrest-core</artifactId> <dependency>
<groupId>org.hamcrest</groupId> <groupId>junit</groupId>
</exclusion> <artifactId>junit</artifactId>
</exclusions> <version>4.10</version>
</dependency> <scope>test</scope>
</dependencies> <exclusions>
<distributionManagement> <exclusion>
<repository> <artifactId>hamcrest-core</artifactId>
<id>comphenix-releases</id> <groupId>org.hamcrest</groupId>
<name>Comphenix Maven Releases</name> </exclusion>
<url>http://comphenix.net/maven/content/repositories/releases/</url> </exclusions>
</repository> </dependency>
<snapshotRepository> </dependencies>
<id>comphenix-snapshots</id> <properties>
<name>Comphenix Maven Snapshots</name> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<url>http://comphenix.net/maven/content/repositories/snapshots/</url> </properties>
</snapshotRepository> </project>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>

View File

@ -10,27 +10,21 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<distributionManagement> <parent>
<repository> <groupId>org.sonatype.oss</groupId>
<id>comphenix-releases</id> <artifactId>oss-parent</artifactId>
<name>Comphenix Maven Releases</name> <version>7</version>
<url>http://comphenix.net/maven/content/repositories/releases/</url> </parent>
</repository>
<snapshotRepository>
<id>comphenix-snapshots</id>
<name>Comphenix Maven Snapshots</name>
<url>http://comphenix.net/maven/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<repositories> <repositories>
<repository> <repository>
<id>bukkit-rep</id> <id>bukkit-rep</id>
<url>http://repo.bukkit.org/content/groups/public</url> <url>http://repo.bukkit.org/content/groups/public</url>
</repository> </repository>
</repositories> </repositories>
<build> <build>
<defaultGoal>clean install</defaultGoal>
<sourceDirectory>src/main/java</sourceDirectory> <sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory> <testSourceDirectory>src/test/java</testSourceDirectory>
<resources> <resources>