diff --git a/ccm-bundle-devel-wildfly/pom.xml b/ccm-bundle-devel-wildfly/pom.xml index bc86928ff..03a281893 100644 --- a/ccm-bundle-devel-wildfly/pom.xml +++ b/ccm-bundle-devel-wildfly/pom.xml @@ -58,40 +58,91 @@ - - org.wildfly.plugins - wildfly-maven-plugin - - - 10.0.0.Final - - false - - - - - admin - admin1234 - - - - - - - data-source add --jndi-name=java:/comp/env/jdbc/libreccm/db --name=ccm-devel --connection-url=jdbc:h2:${project.build.directory}/libreccm-db;DB_CLOSE_ON_EXIT=FALSE --driver-name=h2 --driver-class=org.h2.Driver --user-name=sa --password=sa - - - - - - + + + pgsql + + + + org.postgresql + postgresql + 9.4.1208 + + + + + + + org.wildfly.plugins + wildfly-maven-plugin + + + 10.0.0.Final + + false + + + + + admin + admin1234 + + + + + + + module add --name=org.postgres --resources=resources/postgresql-9.4.1208.jar --dependencies=javax.api,javax.transaction.api + /subsystem=datasources/jdbc-driver=postgres:add(driver-name="postgres",driver-module-name="org.postgres",driver-class-name=org.postgresql.Driver) + data-source add --jndi-name=java:/comp/env/jdbc/libreccm/db --name=libreccm-devel --connection-url=jdbc:postgresql://localhost:5432/libreccm-devel --driver-name=postgres --driver-class=org.postgresql.Driver --user-name=ccm --password=ccm47web + + + + + + + + + + diff --git a/resources/postgresql-9.4.1208.jar b/resources/postgresql-9.4.1208.jar new file mode 100644 index 000000000..9858b2786 Binary files /dev/null and b/resources/postgresql-9.4.1208.jar differ