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-94f89814c4dfpull/2/head
parent
64c89dc71c
commit
ae6c62497c
|
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.libreccm</groupId>
|
<groupId>org.libreccm</groupId>
|
||||||
<!--<artifactId>libreccm-parent</artifactId>-->
|
|
||||||
<artifactId>ccm-bundle-devel</artifactId>
|
<artifactId>ccm-bundle-devel</artifactId>
|
||||||
<relativePath>../ccm-bundle-devel</relativePath>
|
<relativePath>../ccm-bundle-devel</relativePath>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-SNAPSHOT</version>
|
||||||
|
|
@ -26,48 +25,23 @@
|
||||||
<name>LibreCCM Devel Bundle Web for Wildfly</name>
|
<name>LibreCCM Devel Bundle Web for Wildfly</name>
|
||||||
<url>http://www.libreccm.org/modules/web/wildfly</url>
|
<url>http://www.libreccm.org/modules/web/wildfly</url>
|
||||||
|
|
||||||
<!--<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.libreccm</groupId>
|
<groupId>org.webjars</groupId>
|
||||||
<artifactId>ccm-core</artifactId>
|
<artifactId>font-awesome</artifactId>
|
||||||
<version>${project.parent.version}</version>
|
<version>4.7.0</version>
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.libreccm</groupId>
|
|
||||||
<artifactId>ccm-theme-foundry</artifactId>
|
|
||||||
<version>${project.parent.version}</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.sf.saxon</groupId>
|
|
||||||
<artifactId>Saxon-HE</artifactId>
|
|
||||||
</dependency>-->
|
|
||||||
|
|
||||||
<!-- CCM modules -->
|
|
||||||
<!--<dependency>
|
|
||||||
<groupId>org.libreccm</groupId>
|
|
||||||
<artifactId>ccm-shortcuts</artifactId>
|
|
||||||
<version>${project.parent.version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.librecms</groupId>
|
<groupId>org.webjars</groupId>
|
||||||
<artifactId>ccm-cms</artifactId>
|
<artifactId>requirejs</artifactId>
|
||||||
<version>${project.parent.version}</version>
|
<version>2.3.5</version>
|
||||||
</dependency>-->
|
|
||||||
<!-- CCM Modules end -->
|
|
||||||
|
|
||||||
<!-- Dependencies for log4j 2 including adapter for the log4j 1.2 API -->
|
|
||||||
<!--<dependency>
|
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
|
||||||
<artifactId>log4j-core</artifactId>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.logging.log4j</groupId>
|
<groupId>org.webjars</groupId>
|
||||||
<artifactId>log4j-api</artifactId>
|
<artifactId>requirejs-domready</artifactId>
|
||||||
|
<version>2.0.1-2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
</dependencies>-->
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>libreccm-web-wildfly</finalName>
|
<finalName>libreccm-web-wildfly</finalName>
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,28 @@ the to configuration of the `maven-war-plugin`:
|
||||||
</build>
|
</build>
|
||||||
...
|
...
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.webjars</groupId>
|
||||||
|
<artifactId>font-awesome</artifactId>
|
||||||
|
<version>4.7.0</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.webjars</groupId>
|
||||||
|
<artifactId>requirejs</artifactId>
|
||||||
|
<version>2.3.5</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.webjars</groupId>
|
||||||
|
<artifactId>requirejs-domready</artifactId>
|
||||||
|
<version>2.0.1-2</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
In the WAR module add a folder `ccm-editor` to the `src/main/webapp` folder
|
In the WAR module add a folder `ccm-editor` to the `src/main/webapp` folder
|
||||||
and create a file similar to the following one:
|
and create a file similar to the following one:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue