Skip to content

Commit 4b9cafa

Browse files
committedMar 9, 2016
Prepare for 1.5 release
1 parent 7dcb78d commit 4b9cafa

File tree

3 files changed

+77
-24
lines changed

3 files changed

+77
-24
lines changed
 

‎cli/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.turn</groupId>
66
<artifactId>ttorrent</artifactId>
7-
<version>1.5-SNAPSHOT</version>
7+
<version>1.5</version>
88
</parent>
99

1010
<name>Java BitTorrent library CLI</name>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.turn</groupId>
1717
<artifactId>ttorrent-core</artifactId>
18-
<version>1.5-SNAPSHOT</version>
18+
<version>1.5</version>
1919
</dependency>
2020

2121
<dependency>

‎core/pom.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.turn</groupId>
66
<artifactId>ttorrent</artifactId>
7-
<version>1.5-SNAPSHOT</version>
7+
<version>1.5</version>
88
</parent>
99

1010
<name>Java BitTorrent library core</name>
@@ -27,11 +27,11 @@
2727
<artifactId>slf4j-api</artifactId>
2828
<version>1.6.4</version>
2929
</dependency>
30-
<dependency>
31-
<groupId>org.testng</groupId>
32-
<artifactId>testng</artifactId>
33-
<version>6.1.1</version>
34-
<scope>test</scope>
35-
</dependency>
30+
<dependency>
31+
<groupId>org.testng</groupId>
32+
<artifactId>testng</artifactId>
33+
<version>6.1.1</version>
34+
<scope>test</scope>
35+
</dependency>
3636
</dependencies>
3737
</project>

‎pom.xml

+68-15
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
<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">
22
<modelVersion>4.0.0</modelVersion>
33

4-
<parent>
5-
<groupId>org.sonatype.oss</groupId>
6-
<artifactId>oss-parent</artifactId>
7-
<version>7</version>
8-
<relativePath />
9-
</parent>
10-
114
<name>Java BitTorrent library</name>
125
<description>
136
ttorrent is a pure-Java implementation of the BitTorrent protocol,
@@ -17,18 +10,18 @@
1710
<url>http://mpetazzoni.github.io/ttorrent/</url>
1811
<groupId>com.turn</groupId>
1912
<artifactId>ttorrent</artifactId>
20-
<version>1.5-SNAPSHOT</version>
13+
<version>1.5</version>
2114
<packaging>pom</packaging>
2215

23-
<modules>
24-
<module>core</module>
25-
<module>cli</module>
26-
</modules>
16+
<modules>
17+
<module>core</module>
18+
<module>cli</module>
19+
</modules>
2720

2821
<scm>
2922
<connection>scm:git:git://github.com/mpetazzoni/ttorrent.git</connection>
3023
<developerConnection>scm:git:ssh://git@github.com/mpetazzoni/ttorrent.git</developerConnection>
31-
<url>http://github.com/mpetazzoni/ttorrent</url>
24+
<url>https://github.com/mpetazzoni/ttorrent</url>
3225
<tag>master</tag>
3326
</scm>
3427

@@ -50,8 +43,8 @@
5043
<name>Maxime Petazzoni</name>
5144
<email>maxime.petazzoni@bulix.org</email>
5245
<url>http://www.bulix.org</url>
53-
<organization>SignalFuse, Inc</organization>
54-
<organizationUrl>http://www.signalfuse.com</organizationUrl>
46+
<organization>SignalFx, Inc</organization>
47+
<organizationUrl>http://www.signalfx.com</organizationUrl>
5548
<roles>
5649
<role>maintainer</role>
5750
<role>architect</role>
@@ -68,6 +61,17 @@
6861
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6962
</properties>
7063

64+
<distributionManagement>
65+
<snapshotRepository>
66+
<id>ossrh</id>
67+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
68+
</snapshotRepository>
69+
<repository>
70+
<id>ossrh</id>
71+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
72+
</repository>
73+
</distributionManagement>
74+
7175
<repositories>
7276
<repository>
7377
<id>jboss-thirdparty-releases</id>
@@ -88,6 +92,20 @@
8892
</configuration>
8993
</plugin>
9094

95+
<plugin>
96+
<groupId>org.apache.maven.plugins</groupId>
97+
<artifactId>maven-source-plugin</artifactId>
98+
<version>2.2.1</version>
99+
<executions>
100+
<execution>
101+
<id>attach-sources</id>
102+
<goals>
103+
<goal>jar-no-fork</goal>
104+
</goals>
105+
</execution>
106+
</executions>
107+
</plugin>
108+
91109
<plugin>
92110
<groupId>org.apache.maven.plugins</groupId>
93111
<artifactId>maven-javadoc-plugin</artifactId>
@@ -96,13 +114,48 @@
96114
<reportOutputDirectory>${basedir}</reportOutputDirectory>
97115
<destDir>doc</destDir>
98116
</configuration>
117+
<executions>
118+
<execution>
119+
<id>attach-javadocs</id>
120+
<goals>
121+
<goal>jar</goal>
122+
</goals>
123+
</execution>
124+
</executions>
125+
</plugin>
126+
127+
<plugin>
128+
<groupId>org.apache.maven.plugins</groupId>
129+
<artifactId>maven-gpg-plugin</artifactId>
130+
<version>1.5</version>
131+
<executions>
132+
<execution>
133+
<id>sign-artifacts</id>
134+
<phase>verify</phase>
135+
<goals>
136+
<goal>sign</goal>
137+
</goals>
138+
</execution>
139+
</executions>
99140
</plugin>
100141

101142
<plugin>
102143
<groupId>org.apache.maven.plugins</groupId>
103144
<artifactId>maven-release-plugin</artifactId>
104145
<version>2.4.2</version>
105146
</plugin>
147+
148+
<plugin>
149+
<groupId>org.sonatype.plugins</groupId>
150+
<artifactId>nexus-staging-maven-plugin</artifactId>
151+
<version>1.6.3</version>
152+
<extensions>true</extensions>
153+
<configuration>
154+
<serverId>ossrh</serverId>
155+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
156+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
157+
</configuration>
158+
</plugin>
106159
</plugins>
107160
</build>
108161
</project>

0 commit comments

Comments
 (0)
Please sign in to comment.