Building Opencms 9.5.x from the sources
Note: this is work in progress
Building opencms-core
1. Checkout the sources of the 9_0_x branch1:
git clone https://github.com/alkacon/opencms-core.git -b branch_9_0_x
2. Execute the gradle bindist task:
gradle bindist
3. If you want to also build the opencms oamp, v8 or v7 modules, you also need to install in your local maven repository the corresponding jars2:
gradle install
Building alkacom-oamp
1. Checkout the sources of the 9_0_x branch
git clone https://github.com/alkacon/alkacon-oamp.git -b branch_9_0_x
2. Execute the gradle bindist task3:
gradle bindist
Notes
1. Checking out the tagged build_9_0_1 and executing gradle fails with the following message:
> Could not find property 'distribution' on configuration ':compile'.
2. Currently, the javadocs are broken and gradle fails with the following message:
[...] 100 errors 100 warnings :javadoc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':javadoc'. [...]
I have written a pull-request to work around this issue: https://github.com/alkacon/opencms-core/pull/278
3. Currently, gradle fails with the following message:
> DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
I have written a pull-request to fix this bug: https://github.com/alkacon/alkacon-oamp/pull/30