| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@YannickWeber /home/runner/work/testcontainers-java/testcontainers-java/modules/hivemq/src/main/java/org/testcontainers/hivemq/HiveMQExtension.java:27: error: cannot access com.hivemq.extension.sdk.api.ExtensionMain
import com.hivemq.extension.sdk.api.ExtensionMain;
^
bad class file: /home/runner/.gradle/caches/modules-2/files-2.1/com.hivemq/hivemq-extension-sdk/4.4.4/f0c556c64f5ae71249381038f0f86e5ba7b9c4e9/hivemq-extension-sdk-4.4.4.jar(com/hivemq/extension/sdk/api/ExtensionMain.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
Do you have specific Java requirements? Then we should check out using Gradle's Java Toolchain feature for the HiveMQ module. We currently use JDK8. |
Sorry, something went wrong.
The problem is that the hivemq-extension-sdk requires Java 11. We solved the problem in the following way:
What this achieves:
|
Sorry, something went wrong.
|
CI is currently failing in the Javadoc task for the HiveMQ module (https://github.com/testcontainers/testcontainers-java/runs/4609274189?check_suite_focus=true#step:7:70): /home/runner/work/testcontainers-java/testcontainers-java/modules/hivemq/build/delombok/org/testcontainers/hivemq/HiveMQExtension.java:185: error: reference not found
* This class MUST implement {@link com.hivemq.extension.sdk.api.ExtensionMain}.
> Task :hivemq:javadoc FAILED
^
/home/runner/work/testcontainers-java/testcontainers-java/modules/hivemq/build/delombok/org/testcontainers/hivemq/HiveMQExtension.java:189: error: reference not found
* @throws IllegalArgumentException if the provides class does not implement {@link com.hivemq.extension.sdk.api.ExtensionMain}
^
/home/runner/work/testcontainers-java/testcontainers-java/modules/hivemq/build/delombok/org/testcontainers/hivemq/HiveMQExtension.java:190: error: reference not found
* @throws IllegalStateException if {@link com.hivemq.extension.sdk.api.ExtensionMain} is not found in the classpath
^
3 errors
|
Sorry, something went wrong.
There was a problem hiding this comment.
Have added some comments but will try and have another look tomorrow!
Sorry, something went wrong.
Co-authored-by: Yannick Weber <yannick.weber95@googlemail.com>
Co-authored-by: Yannick Weber <yannick.weber95@googlemail.com>
Co-authored-by: Yannick Weber <yannick.weber95@googlemail.com>
RabbitMQ -> HiveMQ
added java-doc to HiveMQExtension added additional check to HiveMQExtension configured gradle to execute tests with Java 11
adapted logback-test.xml reformated code
alter container command only if prepackaged extensions need to be removed
|
Thanks to everyone involved and especially @YannickWeber for your patience. This was indeed a massive PR, but I am very happy we reworked it together and that we get a great new module into Testcontainers. Thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This brings HiveMQ's official Testcontainer to testcontainers-java.
Features: