File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change @@ -10,7 +10,26 @@ The Client comes in 3 flavors:
10102 . Asynchronous - Responses in CompletableFuture
11113 . 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
Original file line number Diff line number Diff line change 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>
Original file line number Diff line number Diff line change 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>
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments