File tree Expand file tree Collapse file tree
paystack-clients-spring-boot-starter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,16 +12,6 @@ The Client comes in 3 flavors:
1212
1313## Setup
1414
15- 1 . Add GitHub Maven Package Repository to your POM
16- ``` xml
17- <repositories >
18- <repository >
19- <id >github</id >
20- <url >https://maven.pkg.github.com/chriseteka/paystackjavaclient</url >
21- </repository >
22- </repositories >
23- ```
24-
2515### 1. When Using SpringBoot
2616- Add the dependency to your spring boot project:
2717``` xml
Original file line number Diff line number Diff line change 1313 <maven .compiler.target>17</maven .compiler.target>
1414 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1515 <spring-boot-http-clients .version>0.1.1</spring-boot-http-clients .version>
16- <distribution-repo .url>https://maven.pkg.github.com/chriseteka/paystackjavaclient</distribution-repo .url>
1716 </properties >
1817
1918 <dependencies >
3534 </dependency >
3635 </dependencies >
3736
38- <repositories >
39- <repository >
40- <id >github</id >
41- <url >${distribution-repo.url} </url >
42- </repository >
43- </repositories >
44-
4537 <distributionManagement >
4638 <repository >
47- <id >github</id >
48- <name >GitHub Packages</name >
49- <url >${distribution-repo.url} </url >
39+ <id >ossrh</id >
40+ <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
5041 </repository >
5142 </distributionManagement >
5243
Original file line number Diff line number Diff line change 1111 <maven .compiler.target>17</maven .compiler.target>
1212 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1313 <okhttp .version>5.0.0-alpha.12</okhttp .version>
14- <distribution-repo .url>https://maven.pkg.github.com/chriseteka/paystackjavaclient</distribution-repo .url>
1514 </properties >
1615
1716 <dependencies >
2726 </dependency >
2827 </dependencies >
2928
30- <repositories >
31- <repository >
32- <id >github</id >
33- <url >${distribution-repo.url} </url >
34- </repository >
35- </repositories >
36-
3729 <distributionManagement >
3830 <repository >
39- <id >github</id >
40- <name >GitHub Packages</name >
41- <url >${distribution-repo.url} </url >
31+ <id >ossrh</id >
32+ <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
4233 </repository >
4334 </distributionManagement >
4435
Original file line number Diff line number Diff line change 1111 <maven .compiler.source>17</maven .compiler.source>
1212 <maven .compiler.target>17</maven .compiler.target>
1313 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14- <distribution-repo .url>https://maven.pkg.github.com/chriseteka/paystackjavaclient</distribution-repo .url>
1514 </properties >
1615
1716 <dependencies >
2928
3029 <distributionManagement >
3130 <repository >
32- <id >github</id >
33- <name >GitHub Packages</name >
34- <url >${distribution-repo.url} </url >
31+ <id >ossrh</id >
32+ <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
3533 </repository >
3634 </distributionManagement >
3735</project >
Original file line number Diff line number Diff line change 2525 <tag >HEAD</tag >
2626 </scm >
2727
28+ <licenses >
29+ <license >
30+ <name >MIT License</name >
31+ <url >https://www.opensource.org/licenses/mit-license.php</url >
32+ <distribution >repo</distribution >
33+ </license >
34+ </licenses >
35+
36+ <developers >
37+ <developer >
38+ <id >chriseteka</id >
39+ <name >Christopher Eteka</name >
40+ </developer >
41+ </developers >
42+
43+ <profiles >
44+ <profile >
45+ <id >release</id >
46+ <build >
47+ <plugins >
48+ <plugin >
49+ <groupId >org.sonatype.central</groupId >
50+ <artifactId >central-publishing-maven-plugin</artifactId >
51+ <version >0.3.0</version >
52+ <extensions >true</extensions >
53+ <configuration >
54+ <publishingServerId >maven</publishingServerId >
55+ <tokenAuth >true</tokenAuth >
56+ <autoPublish >true</autoPublish >
57+ </configuration >
58+ </plugin >
59+ <plugin >
60+ <groupId >org.apache.maven.plugins</groupId >
61+ <artifactId >maven-javadoc-plugin</artifactId >
62+ <version >3.4.1</version >
63+ <executions >
64+ <execution >
65+ <id >attach-javadoc</id >
66+ <goals >
67+ <goal >jar</goal >
68+ </goals >
69+ </execution >
70+ </executions >
71+ </plugin >
72+ <plugin >
73+ <groupId >org.apache.maven.plugins</groupId >
74+ <artifactId >maven-source-plugin</artifactId >
75+ <version >3.2.1</version >
76+ <executions >
77+ <execution >
78+ <id >attach-source</id >
79+ <goals >
80+ <goal >jar</goal >
81+ </goals >
82+ </execution >
83+ </executions >
84+ </plugin >
85+ <plugin >
86+ <groupId >org.apache.maven.plugins</groupId >
87+ <artifactId >maven-gpg-plugin</artifactId >
88+ <version >3.1.0</version >
89+ <configuration >
90+ <gpgArguments >
91+ <arg >--pinentry-mode</arg >
92+ <arg >loopback</arg >
93+ </gpgArguments >
94+ </configuration >
95+ <executions >
96+ <execution >
97+ <id >sign-artifacts</id >
98+ <phase >verify</phase >
99+ <goals >
100+ <goal >sign</goal >
101+ </goals >
102+ </execution >
103+ </executions >
104+ </plugin >
105+ </plugins >
106+ </build >
107+ </profile >
108+ </profiles >
109+
28110</project >
You can’t perform that action at this time.
0 commit comments