From 846bbed7ee87568817616f7df3480dbd4b403fa2 Mon Sep 17 00:00:00 2001 From: Jens Pelzetter Date: Sun, 14 Jun 2020 18:49:08 +0200 Subject: [PATCH] Added wildfly-maven-plugin to ccm-bundle-devel-wildfly-web Former-commit-id: 9c1af3188334429a01974d112f4b5e5c936bcab8 --- ccm-bundle-devel-wildfly-web/pom.xml | 54 ++++++++++++++++++++-------- pom.xml | 2 +- 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/ccm-bundle-devel-wildfly-web/pom.xml b/ccm-bundle-devel-wildfly-web/pom.xml index 280cd2476..db6b2455a 100644 --- a/ccm-bundle-devel-wildfly-web/pom.xml +++ b/ccm-bundle-devel-wildfly-web/pom.xml @@ -222,7 +222,9 @@ org.wildfly.plugins wildfly-maven-plugin - true + + /subsystem=datasources/data-source=ccm-devel:add(driver-name=postgresql,jndi-name="java:/comp/env/jdbc/libreccm/db",connection-url="${wildfly.datasource.connectionUrl}",user-name="${wildfly.datasource.username}",password="${wildfly.datasource.password}",use-ccm="false") + --> @@ -243,7 +245,7 @@ org.wildfly.plugins wildfly-maven-plugin - + start package start + + System.out + deploy-jdbc-driver @@ -274,22 +279,41 @@ add-datasource - install + package
subsystem=datasources,data-source=ccm-devel
- - ${wildfly.datasource.connectionUrl} - java:/comp/env/jdbc/libreccm/db - true - ${wildfly.datasource.username} - ${wildfly.datasource.password} - false - + + + + + ${wildfly.datasource.connectionUrl} + java:/comp/env/jdbc/libreccm/db + true + ${wildfly.datasource.username} + ${wildfly.datasource.password} + false + postgresql.jar + + + +
add-resource
+ -