From 20f02af852345f0be1504d2e601e343580b7b552 Mon Sep 17 00:00:00 2001 From: Jens Pelzetter Date: Sun, 14 Jun 2020 12:54:43 +0200 Subject: [PATCH] Added wildfly-maven-plugin to poms --- ccm-bundle-devel-wildfly-web/pom.xml | 101 +++++++++++++++++++++++++-- pom.xml | 12 +++- 2 files changed, 106 insertions(+), 7 deletions(-) diff --git a/ccm-bundle-devel-wildfly-web/pom.xml b/ccm-bundle-devel-wildfly-web/pom.xml index 821c5b196..280cd2476 100644 --- a/ccm-bundle-devel-wildfly-web/pom.xml +++ b/ccm-bundle-devel-wildfly-web/pom.xml @@ -3,6 +3,9 @@ UTF-8 + jdbc:postgresql://localhost:5432/ccm-devel + ccm + ccm 4.0.0 @@ -21,7 +24,7 @@ LibreCCM Devel Bundle Web for Wildfly http://www.libreccm.org/modules/web/wildfly - + org.webjars @@ -121,7 +124,7 @@ link @librecms/ccm-cms-pagemodelseditor - + + + + run-with-wildfly + + + org.postgresql + postgresql + + + + + + org.wildfly.plugins + wildfly-maven-plugin + + + undeploy + clean + + undeploy + + + true + + + + start + package + + start + + + + deploy-jdbc-driver + package + + org.postgresql + postgresql + postgresql.jar + + + deploy-artifact + + + + add-datasource + install + +
subsystem=datasources,data-source=ccm-devel
+ + ${wildfly.datasource.connectionUrl} + java:/comp/env/jdbc/libreccm/db + true + ${wildfly.datasource.username} + ${wildfly.datasource.password} + false + +
+ + add-resource + +
+ + +
+
+
+
+
+
diff --git a/pom.xml b/pom.xml index f3cbc5039..9a2264509 100644 --- a/pom.xml +++ b/pom.xml @@ -329,7 +329,7 @@ org.wildfly.plugins wildfly-maven-plugin - 2.0.1.Final + 2.0.2.Final @@ -358,13 +358,13 @@ - + org.codehaus.mojo @@ -437,6 +437,12 @@ 5.3.15.Final
+ + org.postgresql + postgresql + 42.2.13 + +