Rob BygraveandGitHub d96e28991c Merge pull request #2682 from ebean-orm/feature/ebean-migration-system-logger
Bump ebean-migration to 13.6.0 (bumps classpath scanner and ebean-ddl-runner)
2022-05-03 13:36:16 +12:00
2022-05-03 08:55:50 +12:00
2022-05-02 22:31:32 +12:00
2022-05-02 22:31:32 +12:00
2022-05-02 22:31:32 +12:00
2022-05-02 22:31:32 +12:00
2022-05-02 22:31:32 +12:00
2022-05-02 22:31:32 +12:00
2022-05-02 22:31:32 +12:00
2022-05-03 08:55:50 +12:00
2022-05-03 08:55:50 +12:00
2022-05-03 08:55:50 +12:00
2022-05-03 08:55:50 +12:00
2022-05-03 08:55:50 +12:00
2020-12-07 22:47:43 +13:00
2021-08-27 09:24:13 +08:00
2022-05-02 10:08:46 +02:00

Build Maven Central : ebean License Multi-JDK Build JDK 18-ea

H2Database Postgres MySql MariaDB SqlServer Yugabyte

Builds against EA (Early Access) versions of Java (19, Loom, panama etc)

ebean EA datasource EA migration EA test-docker EA ebean-agent EA

Sponsors

Need help?

Post questions or issues to the Ebean google group - https://groups.google.com/forum/#!forum/ebean

Documentation

Goto https://ebean.io/docs/

Maven central

Maven central - io.ebean

Building Ebean from source

  • JDK 11 or higher installed
  • Maven installed
  • git clone git@github.com: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.

Eclipse IDE

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.

IntelliJ IDEA

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

Languages
Java 93.2%
PLpgSQL 3%
TSQL 2.8%
SQLPL 0.7%
Kotlin 0.1%