LibreCCM, the Jakarta EE based Web CMS
 
 
 
 
 
 
Go to file
Jens Pelzetter 7c22396e28 Some bugfixes 2020-08-28 20:37:09 +02:00
ccm-apiclient-commons Java part of the Admin UI 2020-08-24 21:27:40 +02:00
ccm-archetype-module Removed IntegrationTest category, renamed resources, adapted profile for remote wildfly to use the maven-failsafe-plugin 2020-07-18 17:56:34 +02:00
ccm-bundle-devel Adjustments for Freemarker, especially template laoding 2019-12-20 17:38:39 +01:00
ccm-bundle-devel-thorntail removed versions from modules. all versions should be managed by the dependencyManagement and pluginManagement sections in the parent POM 2020-06-22 21:29:34 +02:00
ccm-bundle-devel-wildfly Integration of Vue.js now working 2020-08-27 20:48:00 +02:00
ccm-cms Removed UnitTest category usage and class 2020-07-18 18:09:47 +02:00
ccm-cms-archetype-contenttype Removed obsolete FindBugs plugin (superseeded by SpotBugs) 2020-06-25 16:38:08 +02:00
ccm-cms-js Java part of the Admin UI 2020-08-24 21:27:40 +02:00
ccm-cms-pagemodelseditor Java part of the Admin UI 2020-08-24 21:27:40 +02:00
ccm-cms-profile Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-cms-tinymce No longer using npm link for internal NPM modules, instead npm install ${filePath} is used. 2020-07-10 20:47:09 +02:00
ccm-cms-types-agenda Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-cms-types-bookmark Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-cms-types-decisiontree Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-cms-types-externallink Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-cms-types-faqitem Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-cms-types-glossaryitem Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-cms-types-minutes Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
ccm-core Some bugfixes 2020-08-28 20:37:09 +02:00
ccm-core-apiclient Java part of the Admin UI 2020-08-24 21:27:40 +02:00
ccm-docrepo Removed IntegrationTest category, renamed resources, adapted profile for remote wildfly to use the maven-failsafe-plugin 2020-07-18 17:56:34 +02:00
ccm-editor Java part of the Admin UI 2020-08-24 21:27:40 +02:00
ccm-pagemodelseditor Java part of the Admin UI 2020-08-24 21:27:40 +02:00
ccm-shortcuts Removed UnitTest category usage and class 2020-07-18 18:09:47 +02:00
ccm-testutils Removed UnitTest category usage and class 2020-07-18 18:09:47 +02:00
ccm-theme-foundry Fixed some typos in XSL files 2019-11-30 18:25:57 +01:00
ccm-theme-ftllibs-devel Bugfixes for pagem model components and FTL libs 2019-12-21 17:05:37 +01:00
ccm-xafilesystemadapter Removed obsolete FindBugs plugin (superseeded by SpotBugs) 2020-06-25 16:38:08 +02:00
src/site CCM NG: Code conventions page now states Java 8 as target language. 2016-08-30 11:41:33 +00:00
.gitignore Integrationtests with Wildfly and PostgreSQL for ccm-core 2020-07-16 07:34:29 +02:00
.svnignore [FEATURE] 2016-11-21 17:39:45 +00:00
INSTALL.md Fixed a type in INSTALL.md 2020-02-17 21:30:40 +01:00
Jenkinsfile typo 2020-08-16 14:03:48 +02:00
LICENSE.txt LICENSE.txt for ccm_ng 2019-08-03 12:31:11 +00:00
README.md Updated README and Jenkinsfile 2020-08-16 10:10:53 +02:00
build-site.sh Removed obsolete ccm.sh script, refactored build-site.sh to use new profile 2020-07-18 18:11:49 +02:00
it-pgsql-datasources.example.properties Integrationtests with Wildfly and PostgreSQL for ccm-core 2020-07-16 07:34:29 +02:00
libreccm.npmrc Fixed typo 2020-01-19 10:58:53 +01:00
maven-version-rules.xml CCM NG: Configuration versions-maven-plugin 2017-08-02 15:26:59 +00:00
package-lock.json No longer using npm link for internal NPM modules, instead npm install ${filePath} is used. 2020-07-10 20:47:09 +02:00
pom.xml Java part of the Admin UI 2020-08-24 21:27:40 +02: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.

Overview

This repository contains the Jakarta EE based, new version of https://libreccm.org and https://librecms.org. 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 package site site:stage

again.

Note: The ./target/staging folder is left intact when cleaning. If you want to remove the folder you have delete it manually.

To include integration tests into the reports run

mvn clean verifiy site site:stage -P${profileName}

Note: If there are test failures the build 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 the integration tests included

mvn clean verify site site:stage -Dmaven.test.failure.ignore=true -P${profileName}

Running integration tests

Some of the modules provide integration tests which use Arquillian to run tests inside an application server. If a module provides integration tests it should have at least four profiles for running them (at the time of writing):

  • run-its-with-wildfly-h2mem: This profile uses the wildfly-maven-plugin to start a Wildfly and run the integration tests. The H2 database which is integrated with Wildfly is used for run the tests. No configuration is necessary.
  • run-its-with-wildfly-pgsql: This profile uses the wildfly-maven-plugin to start a Wildfly and run the integration tests. A PostgreSQL database is used to run the tests. The connection parameters are configured using the it-pgsql-datasources.properties file in the project root. Make sure to create a database for all modules and configure them before using this profile.
  • run-its-in-remote-wildfly-h2mem: This profile uses a remote Wildfly and the H2 database for running the tests. The user it responsible for starting the Wildfly container and for creating the required databases.
  • run-its-in-remote-wildfly-pgsql: This profile uses a remote Wildfly and PostgreSQL databases for running the tests. The user it responsible for starting the Wildfly container and for creating the required databases.

To run the integration tests select a profile - we recommend to use the profiles which use the wildfly-maven-plugin` to manage to Wildfly application server - and run

mvn verify site site:stage -P${profileName}

Running LibreCCM (development environment)

Before running a bundle the WAR file has the be generated using

mvn package

To run LibreCCM choose the bundle to run, for instance ccm-bundle-devel-wildfly. You can run the bundle

mvn wildfly:run -pl ${bundleName} -am

This will start a Wildfly server running the selected bundle. Before running the bundle the Wildfly container has the be configured. For these purpose, run

mvn wildfly:run -pl ${bundleName} -am -Psetup-runtime

This will start the Wildfly server, deploy the bundle WAR, and create a datasource. At the moment only PostgreSQL is supported as database. The datasource configuration is provided by the datasource.properties file in the bundle directory. To create one copy the example file and adjust the settings.

You also have to create a wildfly.properties file which contains some settings for the Wildfly server, for isntance the port the Wildfly server binds to. An example file is provided.

Archetypes

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