Skip to content

Commit a08f32f

Browse files
committed
github package registry
1 parent 63af3eb commit a08f32f

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,33 @@ Integration of auth0 enables Pulsar client authenticated against [auth0](https:/
66

77
Auth0 integration consists of the client side plugin and a broker auth plugin. The client plugin generates an auth0 jwt, which in turn can be autheticated and authorized by the broker side. The broker plugin has to be configured on Pulsar, not part of this repo. Please contact [Kafkaesque](https://kafkaesque.io/contact/#) to enable the broker side authorization.
88

9+
The Jar artefact is loaded on GitHub package registry.
10+
11+
In .m2/settings.xml,
12+
``` .m2/settings.xml
13+
<repositories>
14+
<repository>
15+
<id>github</id>
16+
<url>https://maven.pkg.github.com/kafkaesque-io/pulsar-client-plugin</url>
17+
</repository>
18+
</repositories>
19+
20+
<servers>
21+
<server>
22+
<id>github</id>
23+
<username>GITHUB_USERNAME</username>
24+
<password>GITHUB_TOKEN</password>
25+
</server>
26+
</servers>
27+
```
28+
29+
In pom.xml,
930
```maven
31+
<dependency>
32+
<groupId>io.kafkaesque.pulsar</groupId>
33+
<artifactId>pulsar-client-plugin</artifactId>
34+
<version>0.0.6</version>
35+
</dependency>
1036
1137
```
1238

java/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@
179179
</developers>
180180

181181
<distributionManagement>
182+
<repository>
183+
<id>github</id>
184+
<name>GitHub Apache Maven Packages</name>
185+
<url>https://maven.pkg.github.com/kafkaesque-io/pulsar-client-plugin</url>
186+
</repository>
187+
</distributionManagement>
188+
189+
<!-- distributionManagement>
182190
<snapshotRepository>
183191
<id>sonatype-nexus-snapshots</id>
184192
<name>Sonatype Nexus Snapshots</name>
@@ -190,6 +198,6 @@
190198
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
191199
</repository>
192200
<downloadUrl>https://oss.sonatype.org/content/groups/public/org/knowm/xchart</downloadUrl>
193-
</distributionManagement>
201+
</distributionManagement -->
194202

195203
</project>

0 commit comments

Comments
 (0)