Skip to content

Commit 2d56e4f

Browse files
committed
POM changes after publishing to maven central, README.md update
1 parent 3fca498 commit 2d56e4f

File tree

2 files changed

+56
-5
lines changed

2 files changed

+56
-5
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ Implementation based on [Redlock-rb](https://github.com/antirez/redlock-rb)
55

66
This Java library implements the Redis-based distributed lock manager algorithm [described in this blog post](http://antirez.com/news/77).
77

8+
Include the dependency into your project:
9+
10+
```java
11+
<dependency>
12+
<groupId>io.github.s-sathish</groupId>
13+
<artifactId>redlock-java</artifactId>
14+
<version>1.0.1</version>
15+
</dependency>
16+
```
17+
818
To create a lock manager:
919

1020
```java

pom.xml

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,21 @@
44

55
<groupId>io.github.s-sathish</groupId>
66
<artifactId>redlock-java</artifactId>
7-
<version>1.0</version>
7+
<version>1.0.1</version>
88
<name>RedLock-Java</name>
99
<description>RedLock in Java</description>
1010
<url>https://github.com/s-sathish/redlock-java</url>
1111

12+
<mailingLists>
13+
<mailingList>
14+
<name>RedLock Java Mailing List</name>
15+
<post>redlock-java@googlegroups.com</post>
16+
<archive>
17+
http://groups.google.com/g/redlock-java
18+
</archive>
19+
</mailingList>
20+
</mailingLists>
21+
1222
<developers>
1323
<developer>
1424
<id>s-sathish</id>
@@ -25,11 +35,16 @@
2535
</license>
2636
</licenses>
2737

38+
<issueManagement>
39+
<system>github</system>
40+
<url>https://github.com/s-sathish/redlock-java/issues</url>
41+
</issueManagement>
42+
2843
<scm>
2944
<connection>scm:git:git@github.com:s-sathish/redlock-java.git</connection>
3045
<url>scm:git:git@github.com:s-sathish/redlock-java.git</url>
3146
<developerConnection>scm:git:git@github.com:s-sathish/redlock-java.git</developerConnection>
32-
<tag>redlock-java-1.0</tag>
47+
<tag>redlock-java-1.0.1</tag>
3348
</scm>
3449

3550
<properties>
@@ -66,11 +81,11 @@
6681
<distributionManagement>
6782
<snapshotRepository>
6883
<id>ossrh</id>
69-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
84+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
7085
</snapshotRepository>
7186
<repository>
7287
<id>ossrh</id>
73-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
88+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
7489
</repository>
7590
</distributionManagement>
7691

@@ -135,7 +150,7 @@
135150
<extensions>true</extensions>
136151
<configuration>
137152
<serverId>ossrh</serverId>
138-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
153+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
139154
<autoReleaseAfterClose>true</autoReleaseAfterClose>
140155
</configuration>
141156
</plugin>
@@ -166,6 +181,26 @@
166181
</execution>
167182
</executions>
168183
</plugin>
184+
<plugin>
185+
<groupId>org.apache.maven.plugins</groupId>
186+
<artifactId>maven-gpg-plugin</artifactId>
187+
<version>1.6</version>
188+
<executions>
189+
<execution>
190+
<id>sign-artifacts</id>
191+
<phase>verify</phase>
192+
<goals>
193+
<goal>sign</goal>
194+
</goals>
195+
<configuration>
196+
<gpgArguments>
197+
<arg>--pinentry-mode</arg>
198+
<arg>loopback</arg>
199+
</gpgArguments>
200+
</configuration>
201+
</execution>
202+
</executions>
203+
</plugin>
169204
</plugins>
170205
</build>
171206

@@ -185,6 +220,12 @@
185220
<goals>
186221
<goal>sign</goal>
187222
</goals>
223+
<configuration>
224+
<gpgArguments>
225+
<arg>--pinentry-mode</arg>
226+
<arg>loopback</arg>
227+
</gpgArguments>
228+
</configuration>
188229
</execution>
189230
</executions>
190231
</plugin>

0 commit comments

Comments
 (0)