Post questions or issues to the Ebean google group - https://groups.google.com/forum/#!forum/ebean
- JDK 11 or higher installed
- Maven installed
git clone [email protected]:ebean-orm/ebean.git
mvn clean install
Ebean 13 uses Java modules with module-info. This means that there are stricter compilation rules in place now than when building with classpath pre version 13.
For Maven Surefire testing we use <surefire.useModulePath>false</surefire.useModulePath>
such
that tests run using classpath and not module-path. We are doing this until all the tooling
(Maven, IDE) improves in the area of testing with module-info.
Right now we can't use Eclipse IDE to build Ebean and run its tests due to its poor support for java modules. See ebean/issues/2653
The current recommendation is to use IntelliJ IDEA as the IDE to build and hack Ebean.
We want to get IntelliJ to run tests using classpath similar to Maven Surefire. To do this set:
JUnit -> modify options -> Do not use module-path option
To set this option as the global default for IntelliJ use:
Run - Edit Configurations -> Edit configuration templates -> JUnit -> modify options - Do not use module-path option