I am new to JBake, so perhaps I did something wrong. But I don't think so. This seems simple and straightforward: clone project, build, and fail on a Mac with Apple Silicon chip.
In IntelliJ IDEA 2025.1 RC (Ultimate Edition), on macOS Sequoia 15.4 with chip M1 Pro, with Java 17.0.4 Corretto, I did this:
- IntelliJ performed a git clone of https://github.com/jbake-org/jbake.git
- In the Gradle pane of IntelliJ, I ran bake-base > Tasks > clean
- In the Gradle pane of IntelliJ, I ran bake-base > Tasks > build
The smoke tests for templating in Thymeleaf, FreeMarker, and Jade all passed. But these two tests failed:
- shouldBakeWithProject[ groovy ]
- shouldBakeWithProject[ groovy-mte ]
In both cases, the error message was:
org.opentest4j.AssertionFailedError:
expected: 0
but was: 1
Workaround: In BuiltInProjectsTest.java file, comment out lines 40 & 41 to eliminate the "groovy" & "groovy-mte" array elements. This effectively omits these two templating systems from the smoke tests. The project then builds, tests pass.
// {"groovy", "gsp"},
// {"groovy-mte", "tpl"}
This should be easy for anyone to replicate. My first time posting an issue, so let me know if I can improve.