Skip to content

Commit

Permalink
Prepare for 1.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetazzoni committed Mar 9, 2016
1 parent 7dcb78d commit bec5f55
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 24 deletions.
4 changes: 2 additions & 2 deletions cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.turn</groupId>
<artifactId>ttorrent</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>
</parent>

<name>Java BitTorrent library CLI</name>
Expand All @@ -15,7 +15,7 @@
<dependency>
<groupId>com.turn</groupId>
<artifactId>ttorrent-core</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.6-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
14 changes: 7 additions & 7 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.turn</groupId>
<artifactId>ttorrent</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>
</parent>

<name>Java BitTorrent library core</name>
Expand All @@ -27,11 +27,11 @@
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.1.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.1.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
83 changes: 68 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
<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>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
<relativePath />
</parent>

<name>Java BitTorrent library</name>
<description>
ttorrent is a pure-Java implementation of the BitTorrent protocol,
Expand All @@ -17,18 +10,18 @@
<url>http://mpetazzoni.github.io/ttorrent/</url>
<groupId>com.turn</groupId>
<artifactId>ttorrent</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>
<packaging>pom</packaging>

<modules>
<module>core</module>
<module>cli</module>
</modules>
<modules>
<module>core</module>
<module>cli</module>
</modules>

<scm>
<connection>scm:git:git://github.com/mpetazzoni/ttorrent.git</connection>
<developerConnection>scm:git:ssh://[email protected]/mpetazzoni/ttorrent.git</developerConnection>
<url>http://github.com/mpetazzoni/ttorrent</url>
<url>https://github.com/mpetazzoni/ttorrent</url>
<tag>master</tag>
</scm>

Expand All @@ -50,8 +43,8 @@
<name>Maxime Petazzoni</name>
<email>[email protected]</email>
<url>http://www.bulix.org</url>
<organization>SignalFuse, Inc</organization>
<organizationUrl>http://www.signalfuse.com</organizationUrl>
<organization>SignalFx, Inc</organization>
<organizationUrl>http://www.signalfx.com</organizationUrl>
<roles>
<role>maintainer</role>
<role>architect</role>
Expand All @@ -68,6 +61,17 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<id>jboss-thirdparty-releases</id>
Expand All @@ -88,6 +92,20 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand All @@ -96,13 +114,48 @@
<reportOutputDirectory>${basedir}</reportOutputDirectory>
<destDir>doc</destDir>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.2</version>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit bec5f55

Please sign in to comment.