Skip to content

Commit

Permalink
Add etherip as jar
Browse files Browse the repository at this point in the history
  • Loading branch information
codepitbull committed Aug 9, 2024
1 parent 3f23af3 commit 78212d8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 27 deletions.
12 changes: 0 additions & 12 deletions hivemq-edge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,6 @@ repositories {
includeGroup("com.hivemq.commons")
}
}
exclusiveContent {
forRepository {
maven {
name = "etherip"
url = uri("https://maven.pkg.github.com/hivemq/hivemq-edge")
credentials(PasswordCredentials::class)
}
}
filter {
includeModule("org.epics", "etherip")
}
}
exclusiveContent {
forRepository {
maven {
Expand Down
10 changes: 10 additions & 0 deletions modules/hivemq-edge-module-etherip/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# EtherIP Dependency

For interacting with Ethernet IP/CIP devices we rely on an open source library which isn't published on Maven-Central:

[EtherIP](https://github.com/ornl-epics/etherip/)

We build the library internall and provide the binary in **libs/etherip-1.0.0.jar**.

In case you want to build the libary yourself simply check out the original project, build the libary and put it into
the libs folder.
14 changes: 1 addition & 13 deletions modules/hivemq-edge-module-etherip/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,13 @@ repositories {
includeGroup("com.github.simon622")
}
}
exclusiveContent {
forRepository {
maven {
name = "etherip"
url = uri("https://maven.pkg.github.com/hivemq/hivemq-edge")
credentials(PasswordCredentials::class)
}
}
filter {
includeModule("org.epics", "etherip")
}
}
}

dependencies {
compileOnly(libs.hivemq.edge.adapterSdk)
compileOnly(libs.apache.commonsIO)
compileOnly(libs.apache.commonsLang)
implementation(libs.etherip)
implementation(files("libs/etherip-1.0.0.jar"))
implementation(libs.jackson.databind)
implementation(libs.slf4j.api)
}
Expand Down
2 changes: 0 additions & 2 deletions modules/hivemq-edge-module-etherip/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apache-commonsIO = "2.16.1"
apache-commonsLang = "3.14.0"
apache-plc4x = "0.12.0"
assertj = "3.25.3"
etherip = "1.0.0"
hivemq-edge-adapterSdk = "2024.5"
jackson = "2.17.1"
junit-jupiter = "5.10.3"
Expand All @@ -14,7 +13,6 @@ slf4j = "2.0.13"
apache-commonsIO = { module = "commons-io:commons-io", version.ref = "apache-commonsIO" }
apache-commonsLang = { module = "org.apache.commons:commons-lang3", version.ref = "apache-commonsLang" }
assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }
etherip ={ module = "org.epics:etherip", version.ref="etherip" }
hivemq-edge-adapterSdk = { module = "com.hivemq:hivemq-edge-adapter-sdk", version.ref = "hivemq-edge-adapterSdk" }
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" }
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit-jupiter" }
Expand Down
Binary file not shown.

0 comments on commit 78212d8

Please sign in to comment.