From ae6c62497cbec454b4555e04637afb567399ed20 Mon Sep 17 00:00:00 2001 From: jensp Date: Thu, 18 Jan 2018 16:32:23 +0000 Subject: [PATCH] CCM NG: Added dependencies for the WebJars of JavaScript libraries required by the ccm-editor to the devel bundle git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5203 8810af33-2d31-482b-a856-94f89814c4df --- ccm-bundle-devel-wildfly-web/pom.xml | 48 ++++++--------------------- ccm-editor/src/site/markdown/index.md | 22 ++++++++++++ 2 files changed, 33 insertions(+), 37 deletions(-) diff --git a/ccm-bundle-devel-wildfly-web/pom.xml b/ccm-bundle-devel-wildfly-web/pom.xml index 1096d4966..bd00d72cd 100644 --- a/ccm-bundle-devel-wildfly-web/pom.xml +++ b/ccm-bundle-devel-wildfly-web/pom.xml @@ -12,7 +12,6 @@ org.libreccm - ccm-bundle-devel ../ccm-bundle-devel 7.0.0-SNAPSHOT @@ -26,48 +25,23 @@ LibreCCM Devel Bundle Web for Wildfly http://www.libreccm.org/modules/web/wildfly - - - - - - - - + libreccm-web-wildfly diff --git a/ccm-editor/src/site/markdown/index.md b/ccm-editor/src/site/markdown/index.md index 9bfd9c97c..bc7193319 100644 --- a/ccm-editor/src/site/markdown/index.md +++ b/ccm-editor/src/site/markdown/index.md @@ -73,6 +73,28 @@ the to configuration of the `maven-war-plugin`: ... +The editor needs three external libraries: RequireJS, RequireJS DOMready and +Font Awesome. The easiest way to include them into the bundle is to use the +JARs provided by the [WebJars project](https://www.webjars.org) by adding them +to the dependencies section of the WAR module: + + + org.webjars + font-awesome + 4.7.0 + + + org.webjars + requirejs + 2.3.5 + + + org.webjars + requirejs-domready + 2.0.1-2 + + + In the WAR module add a folder `ccm-editor` to the `src/main/webapp` folder and create a file similar to the following one: