xmolecules / jmolecules-integrations

Technology integration for jMolecules
Apache License 2.0
79 stars 21 forks source link

Failed to check signatures / Bad class file #206

Closed naturzukunft closed 8 months ago

naturzukunft commented 9 months ago

I try to add jmolecules with archunit. The customer is using jdk 8.

mvn --version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /opt/maven
Java version: 1.8.0_302, vendor: Oracle Corporation, runtime: /home/xxxxxx/.sdkman/candidates/java/8.0.302-open/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "6.5.0-10008-tuxedo", arch: "amd64", family: "unix"
<dependency>
    <groupId>org.jmolecules</groupId>
    <artifactId>jmolecules-hexagonal-architecture</artifactId>
    <version>1.9.0</version>
</dependency>

<dependency>
    <groupId>org.jmolecules</groupId>
    <artifactId>jmolecules-onion-architecture</artifactId>
    <version>1.9.0</version>
</dependency>

<dependency>
  <groupId>org.jmolecules.integrations</groupId>
  <artifactId>jmolecules-archunit</artifactId>
  <version>0.17.0</version>
</dependency>

<dependency>
    <groupId>org.moduliths</groupId>
    <artifactId>moduliths-docs</artifactId>
    <version>1.3.0</version>
</dependency>
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check (ensure-java-1.8-api) on project xxxxxxxxxxxxx: Failed to check signatures:  failed to process jar /home/xxxxx/.m2/repository/com/tngtech/archunit/archunit/1.1.0/archunit-1.1.0.jar : Bad class file /home/xxxxxx/.m2/repository/com/tngtech/archunit/archunit/1.1.0/archunit-1.1.0.jar:com/tngtech/archunit/core/domain/Java9DomainPlugin.class: IllegalArgumentException -> [Help 1]

I have no idea, what the problem is ;-(

naturzukunft commented 9 months ago

Java9DomainPlugin doeas archunit requires jre > 1.8 ?

odrotbohm commented 8 months ago

I guess this is solely ArchUnit related, so you'll need to investigate in their tracker?