libreccm/ccm-bundle-devel-wildfly
Jens Pelzetter a68d25ba61 Some small fixes 2022-04-20 19:50:01 +02:00
..
src Removed XSLT theme processor, not used anymore. 2022-03-26 13:17:57 +01:00
.gitignore Integrated wildfly-jar-maven-plugin 2021-09-03 11:43:38 +02:00
README.md Simplified start procedure for Wildfly runtime 2020-06-19 13:02:22 +02:00
datasource.example.properties Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00
faces-config.NavData Placeholder pages for admin 2020-09-21 21:15:18 +02:00
package-lock.json package-lock updates 2021-05-29 17:55:48 +02:00
package.json Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00
pom.xml Some small fixes 2022-04-20 19:50:01 +02:00
pom.xml.releaseBackup Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00
runtime.example.properties Integrated wildfly-jar-maven-plugin 2021-09-03 11:43:38 +02:00
tsconfig.json Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00
tslint.json Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00
webpack.config.js Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00
wildfly.example.properties Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00

README.md

ccm-bundle-devel-wildfly README

This module creates a WAR which can be deployed to a Wildfly Application Server. For testing, the module also provides an runtime environment and the setup. The runtime is managed using the wildfly-maven-plugin.

At the moment the runtime only supports PostgreSQL as database.

To use these runtime some prepration steps are necessary.

  1. Create the configuration files. The runtime is configured using two files:

    • wildfly.properties allows it to configure the ports used by the Wildfly server

    • datasource.properties provides the configuration data for datasource used by LibreCCM.

      For both files examples are provided (datasource.example.properties, wildfly.example.properties). Copy the example files and customize the settings is necessary.

  2. Run a build using the setup-runtime profile. It is important to add the package goal, otherwise the WAR file which is deployed in this step is not build correctly:

    mvn package -Psetup-runtime -pl ccm-bundle-devel-wildfly -am 
    

    During the package phase of the this module Wildfly will be downloaded, unpackaged into the target directory, the PostgreSQL driver will be deployed, a datasource will be generated and the WAR file will be deployed.

To run LibreCCM in this environment, use the enable-runtime profile and the wildfly:start goal:

mvn -pl ccm-bundle-devel-wildfly wildfly:start

To shutdown the server:

mvn -pl ccm-bundle-devel-wildfly wildfly:shutdown