Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install openbet kafka oauth library #3

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ defmodule KafkaClient.MixProject do
"priv/kafka-client-1.0.jar"
)

File.cp(
"port/repo/com/openbet/openmarket/kafka-oauth2/1.5/kafka-oauth2-1.5.jar",
"priv/kafka-oauth2-1.5.jar"
)

{output, status} ->
Mix.raise("#{output}\n\nPort project build exited with the status #{status}")
end
Expand Down
36 changes: 25 additions & 11 deletions port/pom.xml
Original file line number Diff line number Diff line change
@@ -1,48 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.happening.kafka</groupId>
<artifactId>kafka-client</artifactId>
<version>1.0-SNAPSHOT</version>

<name>kafka-client</name>
<url>https://github.com/happening-oss/kafka-client</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>3.6.0</version>
</dependency>

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.13</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.36</version>
</dependency>

<dependency>
<groupId>org.erlang.otp</groupId>
<artifactId>jinterface</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>com.openbet.openmarket</groupId>
<artifactId>kafka-oauth2</artifactId>
<version>1.5</version>
</dependency>
</dependencies>

<reporting>
<plugins>
<plugin>
Expand All @@ -52,7 +53,6 @@
</plugin>
</plugins>
</reporting>

<build>
<plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
Expand Down Expand Up @@ -101,6 +101,14 @@
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
Expand All @@ -117,4 +125,10 @@
</plugin>
</plugins>
</build>
</project>
<repositories>
<repository>
<id>project-repository</id>
<url>file://${project.basedir}/repo</url>
</repository>
</repositories>
</project>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7d5a508658c1ca465fcff962d85f7ea1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7200eecd181d3903922c286e50e7d3d70be50897
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.openbet.openmarket</groupId>
<artifactId>kafka-oauth2</artifactId>
<version>1.5</version>
<description>POM was created from install:install-file</description>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8ed91f8d5e741f5e2d24d2ba3a581513
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0495f3220d1de557d1aad83e1b16d63ea78c9f8b
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.openbet.openmarket</groupId>
<artifactId>kafka-oauth2</artifactId>
<versioning>
<release>1.5</release>
<versions>
<version>1.5</version>
</versions>
<lastUpdated>20241204103815</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1ff55e817130b3bc607e9e4b74673699
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d2f945969ac2961b729c6bf71a2c38b88a210e74