Skip to content

Commit 90c44c0

Browse files
chrisetekaChristopher EtekaReleaseBot
authored
Develop (#44)
* configure scm * setup dependency management * [maven-release-plugin] prepare release PaystackJavaClient-1.0 * [maven-release-plugin] prepare for next development iteration * cleanup * cleanup * cleanup * cleanup * Develop (#5) (#6) * configure scm * setup dependency management * [maven-release-plugin] prepare release PaystackJavaClient-1.0 * [maven-release-plugin] prepare for next development iteration * cleanup * cleanup * cleanup --------- Co-authored-by: Christopher Eteka <[email protected]> * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * [maven-release-plugin] prepare release PaystackJavaClient-1.0.5 * [maven-release-plugin] prepare for next development iteration * cleanup * cleanup * [maven-release-plugin] prepare release PaystackJavaClient-1.0.6 * cleanup * cleanup * cleanup * Restructure to return execution spec * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * [maven-release-plugin] prepare release PaystackJavaClient-1.0.5 * cleanup * cleanup * cleanup * cleanup and example --------- Co-authored-by: Christopher Eteka <[email protected]> Co-authored-by: ReleaseBot <[email protected]>
1 parent 07a3001 commit 90c44c0

5 files changed

Lines changed: 25 additions & 7 deletions

File tree

.github/workflows/maven-action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
with:
2626
path: ~/.m2/repository
2727
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28-
restore-keys: |
29-
${{ runner.os }}-maven-
28+
restore-keys: ${{ runner.os }}-maven-
3029

3130
- name: Step 3 - Setup JDK 17
3231
uses: actions/setup-java@v3
@@ -63,7 +62,7 @@ jobs:
6362
release-branch-name: "main"
6463
git-release-bot-name: "ReleaseBot"
6564
m2-home-folder: '~/.m2/repository'
66-
access-token: ${{ secrets.GH_PAT }}
65+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
6766
maven-args: "-Dmaven.resolver.transport=wagon -Dmaven.javadoc.skip=true -DskipTests -DskipITs -Ddockerfile.skip -DdockerCompose.skip"
6867

6968
- name: Step 7 - Publish Dependency

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,26 @@ The Client comes in 3 flavors:
1010
2. Asynchronous - Responses in CompletableFuture
1111
3. Reactive - Responses in Mono and Flux
1212

13-
Example:
13+
## Setup
14+
1. Add the dependency to your project
15+
```xml
16+
<dependency>
17+
<groupId>com.chrisworks.paystackclient</groupId>
18+
<artifactId>paystack-clients</artifactId>
19+
<version>${VERSION}</version>
20+
</dependency>
21+
```
22+
2. Add GitHub Maven Package Repository to your POM
23+
```xml
24+
<repositories>
25+
<repository>
26+
<id>github</id>
27+
<url>https://maven.pkg.github.com/chriseteka/paystackjavaclient</url>
28+
</repository>
29+
</repositories>
30+
```
31+
32+
## usage
1433

1534
```java
1635
// Imports here

paystack-clients/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.chrisworks.paystackclient</groupId>
55
<artifactId>paystack-clients</artifactId>
66
<name>paystack-clients</name>
7-
<version>1.0.123-SNAPSHOT</version>
7+
<version>1.0.0-SNAPSHOT</version>
88

99
<properties>
1010
<maven.compiler.source>17</maven.compiler.source>

paystack-domain/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.chrisworks.paystackclient</groupId>
55
<artifactId>paystack-domain</artifactId>
66
<name>paystack-domain</name>
7-
<version>1.0.123-SNAPSHOT</version>
7+
<version>1.0.0-SNAPSHOT</version>
88

99
<properties>
1010
<jackson.version>2.15.3</jackson.version>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.chrisworks.paystackclient</groupId>
66
<artifactId>PaystackJavaClient</artifactId>
7-
<version>1.0.123-SNAPSHOT</version>
7+
<version>1.0.0-SNAPSHOT</version>
88
<packaging>pom</packaging>
99
<modules>
1010
<module>paystack-domain</module>

0 commit comments

Comments
 (0)