This repository provides artifacts to integrate JCEF in Maven projects. Supports Linux, Windows and MacOSX.
See the official JCEF git repository:
bitbucket or
github.
See the jcefbuild binary builds for JCEF:
jcefbuild/jcefbuild.
There are two deployment options for JCEF with maven. You can either embed the library in a fat jar or create a bundle using the jcef-bundle-maven-plugin.
Please choose a deploy option below to get instructions:
Option | Advantages | Disadvantages |
---|---|---|
Fat jar | Fat jar is platform independent. | Not MacOSX compatible and 10 second bundle extraction time on first run. Fat jar for all platforms has ~320MB. |
Bundle Plugin | MacOSX compatible and no extraction time. A lot smaller (~80MB). | Bundles are platform dependent. Testing without exporting not possible on MacOSX. |
We recommend using the bundle plugin option.
<repository>
<id>jcef-maven</id>
<name>JCef Maven Repository</name>
<url>https://friwi.me/jcef/maven</url>
</repository>
GroupId | ArtifactId | Description |
---|---|---|
org.cef | jcef | Contains all JCEF artifacts apart from natives (jcef-api and jcef-loader) |
org.cef | jcef-api | Contains the JCEF API from the official JCEF repository |
org.cef | jcef-bundle-maven-plugin | Maven Plugin used to create bundles |
org.cef | jcef-loader | Artifact used to load JCEF in a Maven environment |
org.cef | jcef-main | Contains all JCEF artifacts with natives (jcef-api, jcef-loader and Linux/Windows natives). MacOSX natives not included - MacOSX version only works from bundle! |
org.cef | jcef-natives-linux32 | 32-bit Linux natives |
org.cef | jcef-natives-linux64 | 64-bit Linux natives |
org.cef | jcef-natives-macosx64 | Universal MacOSX natives |
org.cef | jcef-natives-win32 | 32-bit Windows natives |
org.cef | jcef-natives-win64 | 64-bit Windows natives |