LibreCCM, the Jakarta EE based Web CMS
 
 
 
 
 
 
Go to file
jensp 99fa7d0986 CCM NG: PageModelsEditor bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5612 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 964d762df2
2018-07-19 08:50:38 +00:00
ccm-archetype-module CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-bundle-devel CCM NG: Basic structure for PageModelsEditor build with React.js 2018-05-11 17:17:35 +00:00
ccm-bundle-devel-wildfly CCM NG: Basic structure for PageModelsEditor build with React.js 2018-05-11 17:17:35 +00:00
ccm-bundle-devel-wildfly-swarm CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-bundle-devel-wildfly-web CCM NG: Current status PageModelEditor 2018-06-21 10:26:58 +00:00
ccm-cms CCM NG: Publish button (not yet working) and publish status display for PageModelEditor 2018-06-14 18:26:03 +00:00
ccm-cms-archetype-contenttype CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-cms-js CCM NG: PageModelsEditor bugfixes 2018-07-19 08:50:38 +00:00
ccm-cms-types-agenda CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-cms-types-bookmark CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-cms-types-decisiontree CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-cms-types-externallink CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-cms-types-faqitem CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-cms-types-glossaryitem CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-cms-types-minutes CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-core CCM NG: Progress on the PageModelsEditor 2018-07-12 17:44:03 +00:00
ccm-docrepo CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-editor CCM NG: Updated NPM dependencies for the ccm-editor 2018-05-11 17:14:22 +00:00
ccm-pagemodelseditor CCM NG: PageModelsEditor bugfixes 2018-07-19 08:50:38 +00:00
ccm-shortcuts CCM NG: Publish button (not yet working) and publish status display for PageModelEditor 2018-06-14 18:26:03 +00:00
ccm-testutils CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
ccm-theme-foundry CCM NG: Some work for the PageModelEditor 2018-07-16 18:33:08 +00:00
ccm-xafilesystemadapter CCM NG: RESTful endpoints for the PageModel editor 2018-05-09 17:43:09 +00:00
src/site CCM NG: Code conventions page now states Java 8 as target language. 2016-08-30 11:41:33 +00:00
.svnignore [FEATURE] 2016-11-21 17:39:45 +00:00
README.txt CCM NG/ccm-core: Managed profile which starts Wildfly automatically. 2017-02-27 13:31:55 +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 CCM NG: Helper script now uses Wildfly 12.0.0.Final 2018-03-10 15:10:59 +00:00
maven-version-rules.xml CCM NG: Configuration versions-maven-plugin 2017-08-02 15:26:59 +00:00
pom.xml CCM NG: Integration of Node/NPM modules into build 2018-05-29 06:25:08 +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.txt

LibreCCM
========

The documentation of project is provided as Maven project site. To
create the site run

    mvn package site site:stage

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

To recreate the site run

    mvn clean package site site:stage

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.