LibreCCM, the Jakarta EE based Web CMS
 
 
 
 
 
 
Go to file
Jens Pelzetter ed2a6738b3 Merge branch 'master' of git.libreccm.org:libreccm
Former-commit-id: 67f562bcd6
2019-08-03 14:59:13 +02:00
ccm-archetype-module CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-bundle-devel CCM NG: Removed experimental UI using Vaadin 8. The code does not work with current Vaadin versions anymore. 2019-01-26 13:56:32 +00:00
ccm-bundle-devel-thorntail CCM NG: Dependency version only in parent pom 2019-07-26 18:26:25 +00:00
ccm-bundle-devel-wildfly CCM NG: Updated Maven Modules 2019-01-25 16:14:42 +00:00
ccm-bundle-devel-wildfly-web CCM NG: Dependency version only in parent pom 2019-07-26 18:26:25 +00:00
ccm-cms LICENSE.txt for ccm_ng 2019-08-03 12:31:11 +00:00
ccm-cms-archetype-contenttype CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-cms-js CcmNG: Basic integration for TinyMCE 2018-09-01 17:00:13 +00:00
ccm-cms-pagemodelseditor CCM NG: Restructing JavaScript parts 2018-08-16 18:54:18 +00:00
ccm-cms-tinymce CCM NG: Fixed some poms 2019-01-23 18:56:41 +00:00
ccm-cms-types-agenda CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-cms-types-bookmark CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-cms-types-decisiontree CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-cms-types-externallink CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-cms-types-faqitem CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-cms-types-glossaryitem CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-cms-types-minutes CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-core CCM NG: CcmObjects helper class 2019-07-31 11:44:27 +00:00
ccm-docrepo CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin 2019-05-05 11:42:46 +00:00
ccm-editor Gitignore 2019-08-03 12:58:56 +00:00
ccm-pagemodelseditor CCM NG: Restructing JavaScript parts 2018-08-16 18:54:18 +00:00
ccm-shortcuts CCM NG: Updated Thorntail and Shiro dependencies 2019-05-05 19:54:26 +00:00
ccm-testutils CCM NG: Updated Maven Modules 2019-01-25 16:14:42 +00:00
ccm-theme-foundry CcmNG: Next part of TinyMCE integration 2018-09-05 18:20:57 +00:00
ccm-xafilesystemadapter CCM NG: Updated Maven Modules 2019-01-25 16:14:42 +00:00
src/site CCM NG: Code conventions page now states Java 8 as target language. 2016-08-30 11:41:33 +00:00
.gitignore Gitignore 2019-08-03 12:58:56 +00:00
.svnignore [FEATURE] 2016-11-21 17:39:45 +00:00
Jenkinsfile CCM NG: Enabling integration tests for CI 2019-05-09 18:19:16 +00:00
LICENSE.txt LICENSE.txt for ccm_ng 2019-08-03 12:31:11 +00:00
README.md Merged README files 2019-08-03 12:58:48 +00:00
build-site.sh CCM NG/ccm-cms: BrowsePane migrated to NG APIs 2017-01-20 16:38:39 +00:00
ccm-readme.txt CCM NG: Build helper script: 2017-03-02 18:22:25 +00:00
ccm.sh Changed Wildfly version in ccm.sh to 16.0.0 2019-05-05 10:35:50 +00:00
maven-version-rules.xml CCM NG: Configuration versions-maven-plugin 2017-08-02 15:26:59 +00:00
pom.xml CCM NG: Dependency version only in parent pom 2019-07-26 18:26:25 +00:00
pom.xml.releaseBackup CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
release.properties CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00

README.md

LibreCCM

The https://libreccm.org framework and the https://librecms.org web content management system.

This repository contains the Jakarta EE based, new version of LibreCCM and LibreCMS. We are now using Maven as build tool.

Some more documentation is provided as Maven project site. To create the site run

mvn clean package site site:stage

and open the ./target/staging/index.html file in your browser.

The recreate the site run

mvn clean package site site:stage

again.

To include integration tests into the reports

mvn clean package test site site:stage -P$profile-name

Note: If there are test failures the package goal fails and the site is not build. The build the site anywhy use

mvn clean package site site:stage -Dmaven.test.failure.ignore=true

or with a profile

mvn clean package site site:stage -Dmaven.test.failure.ignore=true -Pwildfly-remote-h2-mem

The available profiles are listed in the documentation. All modules should provide a profile called wildfly-remote-h2-mem. This profile uses a remote Wildfly application server and its integrated H2 in-memory database for running the tests. Before you can run the integration tests you must download Wildfly from http://www.wildfly.org. Unzip the downloaded archive and start the server using the bin/standalone.sh file. Then go to another terminal, navigate to the CCM NG directory and run

mvn clean package test site site:stage -Pwildfly-remote-h2-mem

To run LibreCCM choose the bundle to run, for instance ccm-bundle-devel-wildfly. Depending on the bundle and the selected profile you may have to configure a datasource in the Wildfly server and create a database. Also you need to configure an environement variable which points to your Wildfly installation. Then you can run LibreCCM using

mvn package wildfly:run -DskipTests -pl ccm-bundle-devel-wildfly -am -Pgeneric

The above example skips all tests to speed up the start process. The generic profile used in this example uses an existing Wildfly installation. The JBOSS_HOME environment variable must either be configured or must be provided. Alternativly you can provide the location of your Wildfly installation using the -D switch: mvn -Djboss-as.home=/path/to/wildfly/

To install the archetypes in your local Maven repository run

mvn [clean] install -pl $archetype-module -am

for example

mvn clean install -pl ccm-cms-archetypes-contenttype -am

Using the managed profiles (example is for testing):

mvn clean test -Djboss.home=/path/to/wildfly/ -DstartupTimeoutInSeconds=180 -Pwildfly-managed-h2-mem

You might need to increase the timeout.

For convience, we also provide a small Bash script which makes calling some Maven tasks easier. For more information please refer to the help of the ccm.sh script:

ccm.sh --help