-------------- Overview -------------- Jens Pelzetter -------------- 2016-06-03 -------------- LibreCCM Bundle for Wildfly This module provides the LibreCCM development bundle for the Wildfly application server. This bundle is not meant for production use as its contains most of the available modules. Developers can run this LibreCCM directly from Maven. Three profiles are provided: [h2] Uses a H2 database located in the project build directory. This means that the database is deleted every time <<>>. [pgsql] Uses an PostgresSQL database with a generic configuration. The PostgreSQL server must run on localhost and the standard port and there must be a database called with <<>> which is accessible for the user <<>> using the password <<>>. [generic] Uses an existing Wildfly installation. The datasource for the database which is used by LibreCCM has to be configured by the user for this profile. Also, Maven or more exactly the wildfly-maven-plugin has to know the location of the Wildfly instance to use. The location of the Wildfly instance can either be provided on the command line when invoking Maven or by setting the <<>> environment variable. When using the <<

>> it is not necessary to install a Wildfly application server first. The will download the Wildfly application server and extract the server into the <<>> directory. The <<

>> and the <<>> profile add a user to the Wildfly server with the username <<>> and the password <<>> which allow the developer to access the management web UI of the Wildfly server. * Run examples ** Profile h2 To run the LibreCCM bundle using a H2 database: mvn package wildfly:run -pl ccm-bundle-devel-wildfly -am -Ph2 ** Profile pgsql mvn package wildfly:run -pl ccm-bundle-devel-wildfly -am -Ppgsql ** Profile generic mvn -Djboss-as.home=/home/mustermann/java-ee-servers/wildfly/wildfly-10.0.0.Final package wildfly:run -pl ccm-bundle-devel-wildfly -am -Pgeneric ** Additional options The <<>> goal of the provides several other options. For a complete list please refer to the documentation of the {{{https://docs.jboss.org/wildfly/plugins/maven/latest/run-mojo.html}run goal}}.