Skip to content

#1467 - Removed explicitely setting the ArchUnit version 1.3.0. Now it will be picked up from the embabel-build-dependencies that now sets the ArchUnit version to 1.4.0#1670

Open
simeshev wants to merge 1 commit into
mainfrom
fix/1647-javalangillegalargumentexception-unsupported-class-file-major-version-70
Open

#1467 - Removed explicitely setting the ArchUnit version 1.3.0. Now it will be picked up from the embabel-build-dependencies that now sets the ArchUnit version to 1.4.0#1670
simeshev wants to merge 1 commit into
mainfrom
fix/1647-javalangillegalargumentexception-unsupported-class-file-major-version-70

Conversation

@simeshev
Copy link
Copy Markdown
Collaborator

This pull request is gated by embabel/embabel-build#78

…t will be picked up from the embabel-build-dependencies that now sets the ArchUnit version to 1.4.0
Copilot AI review requested due to automatic review settings May 11, 2026 00:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the archunit.version override from embabel-agent-api so the ArchUnit version is provided by the upstream dependency/BOM (per the gated embabel-build change), aligning this module with centrally managed dependency versions.

Changes:

  • Removed the module-level <archunit.version>1.3.0</archunit.version> property override so ArchUnit is resolved from the parent dependency management (targeting 1.4.0 via embabel-build-dependencies).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link
Copy Markdown

@igordayen igordayen self-requested a review May 11, 2026 00:31
@igordayen
Copy link
Copy Markdown
Contributor

igordayen commented May 11, 2026

This pull request is gated by embabel/embabel-build#78

@simeshev - could you share evidemce:
a. mvn dep:tree
b. AchUnit regression run (will fail with functiional exceptions most likely)

Thank you

Copy link
Copy Markdown
Contributor

@alexheifetz alexheifetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good. Tnx. Please follow up on @igordayen feedback and we will merge.

@igordayen
Copy link
Copy Markdown
Contributor

PR: embabel/embabel-build#78 should be merged prior to this PR

@simeshev
Copy link
Copy Markdown
Collaborator Author

simeshev commented May 11, 2026

@igordayen

Below is the comparison of the the resolved Maven dependency tree at 1.3.0 and 1.4.2 after installing the change to embabel-build with ArchUnit 1.4.2.

Effective dependency changes

No artifacts were added or removed. The resolved graph shape is unchanged; only versions changed.

Before (1.3.0):

com.tngtech.archunit:archunit-junit5:1.3.0
+- com.tngtech.archunit:archunit-junit5-api:1.3.0
|  \- com.tngtech.archunit:archunit:1.3.0
|     \- org.slf4j:slf4j-api:2.0.12
\- com.tngtech.archunit:archunit-junit5-engine:1.3.0
   \- com.tngtech.archunit:archunit-junit5-engine-api:1.3.0
      \- org.junit.platform:junit-platform-engine:1.10.2
         +- org.opentest4j:opentest4j:1.3.0
         +- org.junit.platform:junit-platform-commons:1.10.2
         \- org.apiguardian:apiguardian-api:1.1.2

After (1.4.2):

com.tngtech.archunit:archunit-junit5:1.4.2
+- com.tngtech.archunit:archunit-junit5-api:1.4.2
|  \- com.tngtech.archunit:archunit:1.4.2
|     \- org.slf4j:slf4j-api:2.0.17
\- com.tngtech.archunit:archunit-junit5-engine:1.4.2
   \- com.tngtech.archunit:archunit-junit5-engine-api:1.4.2
      \- org.junit.platform:junit-platform-engine:1.14.2
         +- org.opentest4j:opentest4j:1.3.0
         +- org.junit.platform:junit-platform-commons:1.14.2
         \- org.apiguardian:apiguardian-api:1.1.2

Delta

  • com.tngtech.archunit:archunit-junit5 1.3.0 -> 1.4.2
  • com.tngtech.archunit:archunit-junit5-api 1.3.0 -> 1.4.2
  • com.tngtech.archunit:archunit 1.3.0 -> 1.4.2
  • com.tngtech.archunit:archunit-junit5-engine 1.3.0 -> 1.4.2
  • com.tngtech.archunit:archunit-junit5-engine-api 1.3.0 -> 1.4.2
  • org.slf4j:slf4j-api 2.0.12 -> 2.0.17
  • org.junit.platform:junit-platform-engine 1.10.2 -> 1.14.2
  • org.junit.platform:junit-platform-commons 1.10.2 -> 1.14.2
  • Unchanged: org.opentest4j:opentest4j:1.3.0
  • Unchanged: org.apiguardian:apiguardian-api:1.1.2

@igordayen
Copy link
Copy Markdown
Contributor

@simeshev - thats good. Please execute regression testing:
mvn test -Dtest=ThreadSafetyRulesTest -Dsurefire.failIfNoSpecifiedTests=false >/tmp/arch-rules

Also - please confirm evidence above results from updating embabel-build locally.

If yes, then this PR should go after embabel-build merge.

Thanks

@igordayen
Copy link
Copy Markdown
Contributor

igordayen commented May 11, 2026

Please sign commit, thanks

and confirm JVM version used in testing, please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

java.lang.IllegalArgumentException: Unsupported class file major version 70

4 participants