Skip to content

Commit

Permalink
2.1.1 doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYWoo committed Oct 14, 2020
1 parent 9f8a23c commit 1fc32cd
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,21 @@ To use this project, simply add this to your pom.xml
<dependency>
<groupId>cn.danielw</groupId>
<artifactId>fast-object-pool</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
</dependency>
```

If you want disruptor object pool, add this optional dependency

JDK 8,9,10
```xml
<dependency>
<groupId>com.conversantmedia</groupId>
<artifactId>disruptor</artifactId>
<version>1.2.15</version>
</dependency>
```
JDK 11+
```xml
<dependency>
<groupId>com.conversantmedia</groupId>
Expand All @@ -102,6 +111,5 @@ If you want disruptor object pool, add this optional dependency
</dependency>
```


JDK 8 is required. By default the debug messages are logged to JDK logger because one of the goals of this project is ZERO DEPENDENCY. However we have two optional dependencies, disruptor and SLF4j.
JDK 8/11 is required. By default the debug messages are logged to JDK logger because one of the goals of this project is ZERO DEPENDENCY. However we have two optional dependencies, disruptor and SLF4j.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>cn.danielw</groupId>
<artifactId>fast-object-pool</artifactId>
<packaging>jar</packaging>
<version>2.1.0</version>
<version>2.1.1</version>
<description>An extremely fast object pool with zero dependencies</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
23 changes: 23 additions & 0 deletions src/BUILD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Publish to Nexus on Mac OSX

## prepare the password
update ~/.m2/settings.xml
```
<settings>
<servers>
<server>
<id>ossrh</id>
<username>your-jira-id</username>
<password>your-jira-pwd</password>
</server>
</servers>
</settings>
```


## run the deployment with gpg profile
```
GPG_TTY=$(tty)
export GPG_TTY
mvn clean deploy -P gpg
```

0 comments on commit 1fc32cd

Please sign in to comment.