diff --git a/bin/prep_bubble_jar b/bin/prep_bubble_jar index b84bc6ea..a221b0f6 100755 --- a/bin/prep_bubble_jar +++ b/bin/prep_bubble_jar @@ -20,8 +20,8 @@ # BUBBLE_PRODUCTION : if this is set to anything, then a production build will be made. # SCRIPT="${0}" -SCRIPT_DIR=$(cd $(dirname ${SCRIPT}) && pwd) -. ${SCRIPT_DIR}/bubble_common +SCRIPT_DIR="$(cd "$(dirname "${SCRIPT}")" && pwd)" +. "${SCRIPT_DIR}/bubble_common" if [[ ! -z "${DEBUG_BUILD}" && "${DEBUG_BUILD}" == "debug" ]] ; then echo "DEBUG_BUILD is set, not doing anything further" @@ -35,23 +35,23 @@ if [[ -z "${BUBBLE_JAR}" ]] ; then die "bubble jar not found: ${BUBBLE_JAR}" fi -mkdir -p ${CLASSES_DIR}/scripts +mkdir -p "${CLASSES_DIR}/scripts" for script in $(cat ${BUBBLE_SERVER}/src/main/resources/ansible/bubble_scripts.txt) ; do - cp ${SCRIPT_DIR}/${script} ${CLASSES_DIR}/scripts || die "Error copying ${SCRIPT_DIR}/${script} -> ${CLASSES_DIR}/scripts" + cp "${SCRIPT_DIR}/${script}" "${CLASSES_DIR}/scripts" || die "Error copying ${SCRIPT_DIR}/${script} -> ${CLASSES_DIR}/scripts" done -cd ${CLASSES_DIR} && jar uvf ${BUBBLE_JAR} scripts || die "Error updating ${BUBBLE_JAR} with scripts" +cd "${CLASSES_DIR}" && jar uvf "${BUBBLE_JAR}" scripts || die "Error updating ${BUBBLE_JAR} with scripts" if [[ ! -z "${BUBBLE_PRODUCTION}" || ( ! -z "${INSTALL_WEB}" && "${INSTALL_WEB}" == "web" ) ]] ; then - mkdir -p ${CLASSES_DIR}/site + mkdir -p "${CLASSES_DIR}/site" BUBBLE_WEB="$(cd "${SCRIPT_DIR}/../bubble-web" && pwd)" if [[ ! -z "${BUBBLE_PRODUCTION}" ]] ; then WEBPACK_OPTIONS="--mode=production" else WEBPACK_OPTIONS="" fi - cd ${BUBBLE_WEB} && npm install && webpack ${WEBPACK_OPTIONS} || die "Error building bubble-web" - cp -R ${BUBBLE_WEB}/dist/* ${CLASSES_DIR}/site/ || die "Error copying ${BUBBLE_WEB}/dist/* -> ${CLASSES_DIR}/site/" - cd ${CLASSES_DIR} && jar uvf ${BUBBLE_JAR} site || die "Error updating ${BUBBLE_JAR} with site" + cd "${BUBBLE_WEB}" && npm install && rm -rf dist/ && webpack "${WEBPACK_OPTIONS}" || die "Error building bubble-web" + cp -R "${BUBBLE_WEB}/dist"/* "${CLASSES_DIR}/site"/ || die "Error copying ${BUBBLE_WEB}/dist/* -> ${CLASSES_DIR}/site/" + cd "${CLASSES_DIR}" && jar uvf "${BUBBLE_JAR}" site || die "Error updating ${BUBBLE_JAR} with site" echo "Installed bubble-web to ${CLASSES_DIR}/site/" fi diff --git a/bubble-server/pom.xml b/bubble-server/pom.xml index 785d5ad9..eb552f22 100644 --- a/bubble-server/pom.xml +++ b/bubble-server/pom.xml @@ -1,6 +1,7 @@ + @@ -23,11 +24,39 @@ + + + + org.apache.poi + poi-ooxml + 4.1.2 + + + org.apache.commons + commons-collections4 + + + org.apache.commons + commons-math3 + + + com.zaxxer + SparseBitSet + + + + + org.cobbzilla cobbzilla-utils 1.0.0-SNAPSHOT + + + org.apache.poi + * + fr.opensagres.xdocreport * @@ -56,10 +85,6 @@ com.opencsv * - - org.apache.poi - * - org.quartz-scheduler * @@ -78,11 +103,17 @@ + + org.cobbzilla wizard-server 1.0.0-SNAPSHOT + + org.eclipse.jetty + * + org.elasticsearch elasticsearch @@ -153,63 +184,12 @@ ${grizzly.version} - - org.glassfish.grizzly - grizzly-framework-monitoring - ${grizzly.version} - - - org.glassfish.grizzly - grizzly-http-monitoring - ${grizzly.version} - - - org.glassfish.grizzly - grizzly-http-server-monitoring - ${grizzly.version} - - - org.eclipse.jetty - jetty-proxy - ${jetty.version} - com.amazonaws aws-java-sdk-ec2 - 1.11.800 + ${aws.sdk.version} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - commons-codec commons-codec @@ -225,7 +205,7 @@ com.maxmind.geoip2 geoip2 - 2.12.0 + 2.15.0 org.apache.httpcomponents @@ -265,7 +245,7 @@ com.twilio.sdk twilio - 7.44.0 + 7.55.3 org.apache.httpcomponents @@ -298,7 +278,7 @@ com.amazonaws aws-java-sdk-s3 - 1.11.659 + ${aws.sdk.version} com.fasterxml.jackson.dataformat @@ -309,7 +289,7 @@ com.amazonaws aws-java-sdk-route53 - 1.11.699 + ${aws.sdk.version} @@ -353,7 +333,7 @@ com.stripe stripe-java - 16.2.0 + 20.30.0 @@ -450,35 +430,38 @@ org/apache/commons/math3/** org/apache/fontbox/** org/apache/pdfbox/** - org/apache/poi/** + + + META-INF/services/org.apache.xmlbeans** + com/microsoft/schemas/** + org/apache/poi/*.class + org/apache/poi/common/** + org/apache/poi/ddf/** + org/apache/poi/extractor/** + org/apache/poi/hpsf/** + org/apache/poi/hssf/** + org/apache/poi/ooxml/** + org/apache/poi/openxml4j/exceptions/** + org/apache/poi/openxml4j/opc/** + org/apache/poi/poifs/** + org/apache/poi/sl/** + org/apache/poi/ss/** + org/apache/poi/util/** + org/apache/poi/wp/** + org/apache/poi/xddf/** + org/apache/poi/xdgf/** + org/apache/poi/xslf/** + org/apache/poi/xssf/** + org/apache/poi/xwpf/** + org/etsi/** + org/w3/** + + + org/cobbzilla/wizard/server/RestWebappServerBase.class org/apache/tools/ant/** org/apache/velocity/** org/apache/xalan/** org/apache/xmlbeans/** - org/eclipse/jetty/client/** - org/eclipse/jetty/favicon.ico/** - org/eclipse/jetty/http/** - org/eclipse/jetty/io/** - org/eclipse/jetty/proxy/** - org/eclipse/jetty/security/** - org/eclipse/jetty/server/handler/** - org/eclipse/jetty/server/jmx/** - org/eclipse/jetty/server/nio/** - org/eclipse/jetty/server/resource/** - org/eclipse/jetty/server/session/** - org/eclipse/jetty/servlet/** - org/eclipse/jetty/util/annotation/** - org/eclipse/jetty/util/compression/** - org/eclipse/jetty/util/log/** - org/eclipse/jetty/util/preventers/** - org/eclipse/jetty/util/resource/** - org/eclipse/jetty/util/security/** - org/eclipse/jetty/util/ssl/** - org/eclipse/jetty/util/statistic/** - org/eclipse/jetty/util/thread/** - org/eclipse/jetty/version/** - org/eclipse/jetty/webapp/** - org/eclipse/jetty/xml/** org/hibernate/internal/jaxb/** org/openqa/selenium/** org/openxmlformats/** diff --git a/bubble-web b/bubble-web index 3c892f6b..99f5069e 160000 --- a/bubble-web +++ b/bubble-web @@ -1 +1 @@ -Subproject commit 3c892f6b4dc931c657a28f58f79330dd36273e75 +Subproject commit 99f5069ee9c4be6ee7182dcbe06dfb4caca95507 diff --git a/utils/cobbzilla-parent b/utils/cobbzilla-parent index f5f957e3..e788472f 160000 --- a/utils/cobbzilla-parent +++ b/utils/cobbzilla-parent @@ -1 +1 @@ -Subproject commit f5f957e381cdf175268a3755d2a7e47eaf657432 +Subproject commit e788472fe7b4de0e3a87dbc3a6d360eb3e3c0daa diff --git a/utils/cobbzilla-utils b/utils/cobbzilla-utils index 7d74b190..f5e6290c 160000 --- a/utils/cobbzilla-utils +++ b/utils/cobbzilla-utils @@ -1 +1 @@ -Subproject commit 7d74b1907dabf0c2fea0cb83b26bbf75e67c67f4 +Subproject commit f5e6290cc6d5c54c75b50609f7c7b4bc99d97af6 diff --git a/utils/cobbzilla-wizard b/utils/cobbzilla-wizard index 129119fd..005ac7b6 160000 --- a/utils/cobbzilla-wizard +++ b/utils/cobbzilla-wizard @@ -1 +1 @@ -Subproject commit 129119fdab37b580d05b96acc9c8897d7ecffa47 +Subproject commit 005ac7b66744912657826d896b69023096ac2ea9