Skip to content

Commit e311a9e

Browse files
committed
Use org.sonatype.central plugin for release
1 parent 9c10b27 commit e311a9e

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/target/
1+
/target/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The client is available in the [Maven Central Repository](https://mvnrepository.
1313
<dependency>
1414
<groupId>com.recombee</groupId>
1515
<artifactId>api-client</artifactId>
16-
<version>5.1.0</version>
16+
<version>5.1.1</version>
1717
</dependency>
1818
```
1919

pom.xml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.recombee</groupId>
88
<artifactId>api-client</artifactId>
9-
<version>5.1.0</version>
9+
<version>5.1.1</version>
1010
<name>Recombee API Client</name>
1111
<description>A client library for easy use of the Recombee recommendation API</description>
1212
<url>https://www.recombee.com</url>
@@ -70,13 +70,6 @@
7070
</dependency>
7171
</dependencies>
7272

73-
<distributionManagement>
74-
<snapshotRepository>
75-
<id>ossrh</id>
76-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
77-
</snapshotRepository>
78-
</distributionManagement>
79-
8073
<build>
8174
<plugins>
8275
<plugin>
@@ -129,14 +122,12 @@
129122
</executions>
130123
</plugin>
131124
<plugin>
132-
<groupId>org.sonatype.plugins</groupId>
133-
<artifactId>nexus-staging-maven-plugin</artifactId>
134-
<version>1.6.13</version>
125+
<groupId>org.sonatype.central</groupId>
126+
<artifactId>central-publishing-maven-plugin</artifactId>
127+
<version>0.8.0</version>
135128
<extensions>true</extensions>
136129
<configuration>
137-
<serverId>ossrh</serverId>
138-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
139-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
130+
<publishingServerId>central</publishingServerId>
140131
</configuration>
141132
</plugin>
142133
</plugins>

src/main/java/com/recombee/api_client/RecombeeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public class RecombeeClient {
9797

9898
final int BATCH_MAX_SIZE = 10000; //Maximal number of requests within one batch request
9999

100-
final String USER_AGENT = "recombee-java-api-client/5.1.0";
100+
final String USER_AGENT = "recombee-java-api-client/5.1.1";
101101

102102
private final OkHttpClient httpClient = new OkHttpClient();
103103

0 commit comments

Comments
 (0)