diff --git a/.gitignore b/.gitignore index af9f367..2a42c41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /module-ejb/target/ -/module-web/target/ \ No newline at end of file +/module-web/target/ +/module-ear/target/ +/docker/deployments \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..81a7247 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,8 @@ + +FROM jboss/wildfly:14.0.0.Final + +RUN /opt/jboss/wildfly/bin/add-user.sh admin password --silent + +ADD modules /opt/jboss/wildfly/modules + +CMD /opt/jboss/wildfly/bin/standalone.sh --server-config=standalone.xml -bmanagement=0.0.0.0 -b 0.0.0.0 \ No newline at end of file diff --git a/docker/config/application-roles.properties b/docker/config/application-roles.properties new file mode 100644 index 0000000..43e5589 --- /dev/null +++ b/docker/config/application-roles.properties @@ -0,0 +1,23 @@ +# +# Properties declaration of users roles for the realm 'ApplicationRealm' which is the default realm +# for application services on a new installation. +# +# This includes the following protocols: remote ejb, remote jndi, web, remote jms +# +# Users can be added to this properties file at any time, updates after the server has started +# will be automatically detected. +# +# The format of this file is as follows: - +# username=role1,role2,role3 +# +# A utility script is provided which can be executed from the bin folder to add the users: - +# - Linux +# bin/add-user.sh +# +# - Windows +# bin\add-user.bat +# +# The following illustrates how an admin user could be defined. +# +#admin=PowerUser,BillingAdmin, +#guest=guest diff --git a/docker/config/application-users.properties b/docker/config/application-users.properties new file mode 100644 index 0000000..24889c3 --- /dev/null +++ b/docker/config/application-users.properties @@ -0,0 +1,25 @@ +# +# Properties declaration of users for the realm 'ApplicationRealm' which is the default realm +# for application services on a new installation. +# +# This includes the following protocols: remote ejb, remote jndi, web, remote jms +# +# Users can be added to this properties file at any time, updates after the server has started +# will be automatically detected. +# +# The format of this realm is as follows: - +# username=HEX( MD5( username ':' realm ':' password)) +# +# A utility script is provided which can be executed from the bin folder to add the users: - +# - Linux +# bin/add-user.sh +# +# - Windows +# bin\add-user.bat +# +#$REALM_NAME=ApplicationRealm$ This line is used by the add-user utility to identify the realm name already used in this file. +# +# The following illustrates how an admin user could be defined, this +# is for illustration only and does not correspond to a usable password. +# +#admin=2a0923285184943425d1f53ddd58ec7a diff --git a/docker/config/logging.properties b/docker/config/logging.properties new file mode 100644 index 0000000..6290b3b --- /dev/null +++ b/docker/config/logging.properties @@ -0,0 +1,45 @@ +# Note this file has been generated and will be overwritten if a +# logging subsystem has been defined in the XML configuration. + + +# Additional loggers to configure (the root logger is always configured) +loggers=sun.rmi,org.jboss.as.config,com.arjuna + +logger.level=INFO +logger.handlers=FILE,CONSOLE + +logger.sun.rmi.level=WARN +logger.sun.rmi.useParentHandlers=true + +logger.org.jboss.as.config.level=DEBUG +logger.org.jboss.as.config.useParentHandlers=true + +logger.com.arjuna.level=WARN +logger.com.arjuna.useParentHandlers=true + +handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler +handler.CONSOLE.level=INFO +handler.CONSOLE.formatter=COLOR-PATTERN +handler.CONSOLE.properties=autoFlush,target,enabled +handler.CONSOLE.autoFlush=true +handler.CONSOLE.target=SYSTEM_OUT +handler.CONSOLE.enabled=true + +handler.FILE=org.jboss.logmanager.handlers.PeriodicRotatingFileHandler +handler.FILE.level=ALL +handler.FILE.formatter=PATTERN +handler.FILE.properties=append,autoFlush,enabled,suffix,fileName +handler.FILE.constructorProperties=fileName,append +handler.FILE.append=true +handler.FILE.autoFlush=true +handler.FILE.enabled=true +handler.FILE.suffix=.yyyy-MM-dd +handler.FILE.fileName=/opt/jboss/wildfly/standalone/log/server.log + +formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter +formatter.PATTERN.properties=pattern +formatter.PATTERN.pattern=%d{yyyy-MM-dd HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%e%n + +formatter.COLOR-PATTERN=org.jboss.logmanager.formatters.PatternFormatter +formatter.COLOR-PATTERN.properties=pattern +formatter.COLOR-PATTERN.pattern=%K{level}%d{HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%e%n diff --git a/docker/config/mgmt-groups.properties b/docker/config/mgmt-groups.properties new file mode 100644 index 0000000..44742a8 --- /dev/null +++ b/docker/config/mgmt-groups.properties @@ -0,0 +1,22 @@ +# +# Properties declaration of users groups for the realm 'ManagementRealm'. +# +# This is used for domain management, users groups membership information is used to assign the user +# specific management roles. +# +# Users can be added to this properties file at any time, updates after the server has started +# will be automatically detected. +# +# The format of this file is as follows: - +# username=role1,role2,role3 +# +# A utility script is provided which can be executed from the bin folder to add the users: - +# - Linux +# bin/add-user.sh +# +# - Windows +# bin\add-user.bat +# +# The following illustrates how an admin user could be defined. +# +#admin=PowerUser,BillingAdmin, \ No newline at end of file diff --git a/docker/config/mgmt-users.properties b/docker/config/mgmt-users.properties new file mode 100644 index 0000000..4f2d664 --- /dev/null +++ b/docker/config/mgmt-users.properties @@ -0,0 +1,27 @@ +# +# Properties declaration of users for the realm 'ManagementRealm' which is the default realm +# for new installations. Further authentication mechanism can be configured +# as part of the in standalone.xml. +# +# Users can be added to this properties file at any time, updates after the server has started +# will be automatically detected. +# +# By default the properties realm expects the entries to be in the format: - +# username=HEX( MD5( username ':' realm ':' password)) +# +# A utility script is provided which can be executed from the bin folder to add the users: - +# - Linux +# bin/add-user.sh +# +# - Windows +# bin\add-user.bat +# +#$REALM_NAME=ManagementRealm$ This line is used by the add-user utility to identify the realm name already used in this file. +# +# On start-up the server will also automatically add a user $local - this user is specifically +# for local tools running against this AS installation. +# +# The following illustrates how an admin user could be defined, this +# is for illustration only and does not correspond to a usable password. +# +admin=fef4a2d5399b026a4f9e26aa72447eb7 diff --git a/docker/config/standalone-full-ha.xml b/docker/config/standalone-full-ha.xml new file mode 100644 index 0000000..097cbeb --- /dev/null +++ b/docker/config/standalone-full-ha.xml @@ -0,0 +1,628 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + + org.h2.jdbcx.JdbcDataSource + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker/config/standalone-full.xml b/docker/config/standalone-full.xml new file mode 100644 index 0000000..712dfd3 --- /dev/null +++ b/docker/config/standalone-full.xml @@ -0,0 +1,559 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + + org.h2.jdbcx.JdbcDataSource + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker/config/standalone-ha.xml b/docker/config/standalone-ha.xml new file mode 100644 index 0000000..3e78450 --- /dev/null +++ b/docker/config/standalone-ha.xml @@ -0,0 +1,577 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + + org.h2.jdbcx.JdbcDataSource + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker/config/standalone-load-balancer.xml b/docker/config/standalone-load-balancer.xml new file mode 100644 index 0000000..9bc9327 --- /dev/null +++ b/docker/config/standalone-load-balancer.xml @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker/config/standalone.xml b/docker/config/standalone.xml new file mode 100644 index 0000000..cea3cd1 --- /dev/null +++ b/docker/config/standalone.xml @@ -0,0 +1,429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + jdbc:mysql://mysql:3306/db?serverTimezone=UTC + + utf8_general_ci + + + utf8 + + mysql + + root + password + + + + + org.h2.jdbcx.JdbcDataSource + + + com.mysql.cj.jdbc.Driver + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/configs/wildflyConf/standalone/configuration/standalone.xml b/docker/config/standalone_xml_history/20190123-202943625/standalone.v2.xml similarity index 98% rename from configs/wildflyConf/standalone/configuration/standalone.xml rename to docker/config/standalone_xml_history/20190123-202943625/standalone.v2.xml index 6e382d8..d3d63b7 100644 --- a/configs/wildflyConf/standalone/configuration/standalone.xml +++ b/docker/config/standalone_xml_history/20190123-202943625/standalone.v2.xml @@ -154,7 +154,7 @@ - jdbc:mysql://localhost:3306/myboardgames?serverTimezone=UTC + jdbc:mysql://mysql:3306/db?serverTimezone=UTC utf8_general_ci @@ -163,7 +163,8 @@ mysql - root + root + password @@ -525,9 +526,4 @@ - - - - - \ No newline at end of file diff --git a/docker/config/standalone_xml_history/20190123-204547525/standalone.v1.xml b/docker/config/standalone_xml_history/20190123-204547525/standalone.v1.xml new file mode 100644 index 0000000..ae38e3f --- /dev/null +++ b/docker/config/standalone_xml_history/20190123-204547525/standalone.v1.xml @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + jdbc:mysql://mysql:3306/db?serverTimezone=UTC + + utf8_general_ci + + + utf8 + + mysql + + root + password + + + + + org.h2.jdbcx.JdbcDataSource + + + com.mysql.cj.jdbc.Driver + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docker/config/standalone_xml_history/standalone.boot.xml b/docker/config/standalone_xml_history/standalone.boot.xml new file mode 100644 index 0000000..cea3cd1 --- /dev/null +++ b/docker/config/standalone_xml_history/standalone.boot.xml @@ -0,0 +1,429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + jdbc:mysql://mysql:3306/db?serverTimezone=UTC + + utf8_general_ci + + + utf8 + + mysql + + root + password + + + + + org.h2.jdbcx.JdbcDataSource + + + com.mysql.cj.jdbc.Driver + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker/config/standalone_xml_history/standalone.initial.xml b/docker/config/standalone_xml_history/standalone.initial.xml new file mode 100644 index 0000000..fbe23b2 --- /dev/null +++ b/docker/config/standalone_xml_history/standalone.initial.xml @@ -0,0 +1,512 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + + org.h2.jdbcx.JdbcDataSource + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker/config/standalone_xml_history/standalone.last.xml b/docker/config/standalone_xml_history/standalone.last.xml new file mode 100644 index 0000000..cea3cd1 --- /dev/null +++ b/docker/config/standalone_xml_history/standalone.last.xml @@ -0,0 +1,429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + jdbc:mysql://mysql:3306/db?serverTimezone=UTC + + utf8_general_ci + + + utf8 + + mysql + + root + password + + + + + org.h2.jdbcx.JdbcDataSource + + + com.mysql.cj.jdbc.Driver + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..f11de00 --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,43 @@ +version: "3" + +services: + mysql: + image: mysql:8 + environment: + - MYSQL_ROOT_PASSWORD=password + - MYSQL_USER=user + - MYSQL_PASSWORD=password + - MYSQL_DATABASE=db + command: --default-authentication-plugin=mysql_native_password + + phpmyadmin: + image: phpmyadmin/phpmyadmin:4.8.2 + links: + - mysql:db + depends_on: + - mysql + ports: + - 8081:80 + environment: + - PMA_USER=root + - PMA_PASSWORD=password + - MYSQL_ROOT_PASSWORD=password + - MYSQL_USER=user + - MYSQL_PASSWORD=password + - MYSQL_DATABASE=db + + wildfly: + build: + context: ./ + dockerfile: Dockerfile + volumes: + - ./deployments:/opt/jboss/wildfly/standalone/deployments/ + - ./config:/opt/jboss/wildfly/standalone/configuration + links: + - mysql + depends_on: + - phpmyadmin + ports: + - 8085:8080 + - 9990:9990 + diff --git a/configs/wildflyConf/modules/system/layers/base/com/mysql/main/module.xml b/docker/modules/system/layers/base/com/mysql/main/module.xml similarity index 78% rename from configs/wildflyConf/modules/system/layers/base/com/mysql/main/module.xml rename to docker/modules/system/layers/base/com/mysql/main/module.xml index 6060876..3ece7ea 100644 --- a/configs/wildflyConf/modules/system/layers/base/com/mysql/main/module.xml +++ b/docker/modules/system/layers/base/com/mysql/main/module.xml @@ -1,5 +1,5 @@ - + diff --git a/docker/modules/system/layers/base/com/mysql/main/mysql-connector-java-8.0.13.jar b/docker/modules/system/layers/base/com/mysql/main/mysql-connector-java-8.0.13.jar new file mode 100644 index 0000000..362fd6e Binary files /dev/null and b/docker/modules/system/layers/base/com/mysql/main/mysql-connector-java-8.0.13.jar differ diff --git a/module-ear/pom.xml b/module-ear/pom.xml index 4ee47d8..16ad7d5 100644 --- a/module-ear/pom.xml +++ b/module-ear/pom.xml @@ -28,39 +28,55 @@ - org.wildfly.plugins - wildfly-maven-plugin - 2.0.0.Final - - 127.0.0.1 - 9990 - admin - admin - myboardgames.ear - + org.apache.maven.plugins + maven-dependency-plugin - - undeploy - clean - - undeploy - - - true - - - - - - deploy install - deploy + copy + + + + pl.myboardgames + module-ear + ear + true + myboardgames.ear + 1.0-SNAPSHOT + + + ${project.basedir}/../docker/deployments + true + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + install + + exec + + + + + docker-compose + ../docker + + up + -d + --build + --force + + + +