Skip to content

Commit

Permalink
updated pom.xml per sonatype release requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCookieLab committed Jun 13, 2018
1 parent ad9029b commit 1d608dd
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@ Java API client for the Poloniex exchange with focus on simplicity and usability

### Maven configuration

PoloniexClient is available on [Maven Central](http://search.maven.org/#search). You just have to add the following repository to your `pom.xml` file.
PoloniexClient is available on [Maven Central](http://search.maven.org/#search). You just have to add the following dependency in your `pom.xml` file.

```xml
<dependency>
<groupId>com.github.thecookielab</groupId>
<artifactId>PoloniexClient</artifactId>
<version>1.1.1</version>
</dependency>
```

For ***snapshots***, add the following repository to your `pom.xml` file.

```xml
<repository>
Expand All @@ -20,6 +30,8 @@ The current snapshot version is `1.1.1-SNAPSHOT` from the [master](https://githu
</dependency>
```

### User's Guide

Using this client is as simple as instantiating a new PoloniexExchangeService with your Poloniex API Key and API Secret as constructor parameters:

```java
Expand Down
11 changes: 11 additions & 0 deletions nbactions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>CUSTOM-maven central distribution</actionName>
<displayName>maven central distribution</displayName>
<goals>
<goal>clean</goal>
<goal>deploy</goal>
</goals>
</action>
</actions>
24 changes: 17 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,20 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.thecookielab</groupId>
<artifactId>PoloniexClient</artifactId>
<version>1.1.1-SNAPSHOT</version>
<version>1.1.1</version>
<packaging>jar</packaging>

<name>PoloniexClient</name>
<description>A simple to use Poloniex API client Java library</description>
<url>https://github.com/TheCookieLab/poloniex-api-java</url>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<developers>
<developer>
<name>David Pang</name>
Expand All @@ -15,12 +26,11 @@
</developer>
</developers>

<licenses>
<license>
<name>MIT License</name>
<comments>All source code is under the MIT license.</comments>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/TheCookieLab/poloniex-api-java.git</connection>
<developerConnection>scm:git:ssh://github.com:TheCookieLab/poloniex-api-java.git</developerConnection>
<url>http://github.com/TheCookieLab/poloniex-api-java/tree/master</url>
</scm>

<distributionManagement>
<snapshotRepository>
Expand Down

0 comments on commit 1d608dd

Please sign in to comment.