diff --git a/hivemq-edge/build.gradle.kts b/hivemq-edge/build.gradle.kts index 83b60957f1..eee41ff902 100644 --- a/hivemq-edge/build.gradle.kts +++ b/hivemq-edge/build.gradle.kts @@ -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 { diff --git a/modules/hivemq-edge-module-etherip/README.md b/modules/hivemq-edge-module-etherip/README.md new file mode 100644 index 0000000000..c43b7c345a --- /dev/null +++ b/modules/hivemq-edge-module-etherip/README.md @@ -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. diff --git a/modules/hivemq-edge-module-etherip/build.gradle.kts b/modules/hivemq-edge-module-etherip/build.gradle.kts index 1d206d7d37..40b885a1e1 100644 --- a/modules/hivemq-edge-module-etherip/build.gradle.kts +++ b/modules/hivemq-edge-module-etherip/build.gradle.kts @@ -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) } diff --git a/modules/hivemq-edge-module-etherip/gradle/libs.versions.toml b/modules/hivemq-edge-module-etherip/gradle/libs.versions.toml index b7e544be89..276058cc12 100644 --- a/modules/hivemq-edge-module-etherip/gradle/libs.versions.toml +++ b/modules/hivemq-edge-module-etherip/gradle/libs.versions.toml @@ -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" @@ -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" } diff --git a/modules/hivemq-edge-module-etherip/libs/etherip-1.0.0.jar b/modules/hivemq-edge-module-etherip/libs/etherip-1.0.0.jar new file mode 100644 index 0000000000..f9aae23c8a Binary files /dev/null and b/modules/hivemq-edge-module-etherip/libs/etherip-1.0.0.jar differ