From 311c59d20fe1d4c8cc7892eaf517626fea3eeadb Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 13:34:23 -0500 Subject: [PATCH 01/20] Add .circleci/config.yml --- .circleci/config.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..adab6639 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,38 @@ +version: 2.1 + +executors: + java17: + docker: + - image: 'cimg/openjdk:17.0' + +orbs: + maven: circleci/maven@1.3.0 + +# Define a job to be invoked later in a workflow. +jobs: + build: + executor: java17 + steps: + # todo - ssh keys? + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "pom.xml" }} + - run: + name: Build with tests + command: | + mvn clean install + - run: + name: Save test results + command: | + mkdir -p ~/test-results/junit/ + find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \; + when: always + - persist_to_workspace: + root: target + paths: + - qqq-backend-core-*.jar + - save_cache: + paths: + - ~/.m2 + key: v1-dependencies-{{ checksum "pom.xml" }} From 64e8b616b394f17983208c28a891ba11227a16b4 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 13:43:53 -0500 Subject: [PATCH 02/20] Updated config.yml --- .circleci/config.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index adab6639..3057e395 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,9 +8,14 @@ executors: orbs: maven: circleci/maven@1.3.0 -# Define a job to be invoked later in a workflow. +workflows: + maven_test: + jobs: + - maven/test # checkout, build, test, and upload test results + +## I think this job won't run anymore, after I add a workflow. Just leaving it here for reference, and to confirm that. jobs: - build: + shouldnt_run: executor: java17 steps: # todo - ssh keys? @@ -28,10 +33,15 @@ jobs: mkdir -p ~/test-results/junit/ find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \; when: always + - store_test_results: + path: ~/test-results - persist_to_workspace: root: target paths: - - qqq-backend-core-*.jar + - qqq-backend-core-*.jar + - store_artifacts: + path: target/qqq-backend-core-*.jar + destination: qqq-backend-core.jar - save_cache: paths: - ~/.m2 From c562e5574783a72199a53942b105e4b17b11fad2 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 13:46:59 -0500 Subject: [PATCH 03/20] Updated config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3057e395..fe41a469 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,10 @@ orbs: workflows: maven_test: jobs: - - maven/test # checkout, build, test, and upload test results + - maven/test: # checkout, build, test, and upload test results + executor: java17 + + ## I think this job won't run anymore, after I add a workflow. Just leaving it here for reference, and to confirm that. jobs: From caef13eb97b2d602ef2a8eee8db01334d5d3c52b Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 13:52:17 -0500 Subject: [PATCH 04/20] Updated config.yml --- .circleci/config.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fe41a469..89fd7e0c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,17 +8,8 @@ executors: orbs: maven: circleci/maven@1.3.0 -workflows: - maven_test: - jobs: - - maven/test: # checkout, build, test, and upload test results - executor: java17 - - - -## I think this job won't run anymore, after I add a workflow. Just leaving it here for reference, and to confirm that. jobs: - shouldnt_run: + build: executor: java17 steps: # todo - ssh keys? From c158fe7a9e547561af1be423e40bf56fda0c130f Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 14:05:23 -0500 Subject: [PATCH 05/20] Updated config.yml --- .circleci/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89fd7e0c..9ce40326 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ orbs: maven: circleci/maven@1.3.0 jobs: - build: + maven_package: executor: java17 steps: # todo - ssh keys? @@ -20,7 +20,7 @@ jobs: - run: name: Build with tests command: | - mvn clean install + mvn clean package - run: name: Save test results command: | @@ -40,3 +40,8 @@ jobs: paths: - ~/.m2 key: v1-dependencies-{{ checksum "pom.xml" }} + +workflows: + main: + jobs: + - maven_package From b01bf19348f92861538d6605f164153426083f76 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 14:10:52 -0500 Subject: [PATCH 06/20] Updated config.yml --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9ce40326..f8f208a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,8 +40,17 @@ jobs: paths: - ~/.m2 key: v1-dependencies-{{ checksum "pom.xml" }} + github_release: + executor: java17 + steps: + - run: + echo "i don't know how to github release..." workflows: main: jobs: - maven_package + - github_release: + filters: + branches: + only: circleci-project-setup ## todo - change to main From e9e6e2313387dba6373248c154cd0f13127f201b Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 14:12:52 -0500 Subject: [PATCH 07/20] Updated config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8f208a5..89607734 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,6 +51,8 @@ workflows: jobs: - maven_package - github_release: + requires: + - maven_package filters: branches: only: circleci-project-setup ## todo - change to main From 26e13126d49a9ed95afb173b434a39c4ee575ff2 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 14:56:34 -0500 Subject: [PATCH 08/20] QQQ-6 Adding mvn-settings and first attempt at mvn deploy --- .circleci/config.yml | 2 +- .circleci/mvn-settings.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .circleci/mvn-settings.xml diff --git a/.circleci/config.yml b/.circleci/config.yml index 89607734..033b6ed5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,7 @@ jobs: executor: java17 steps: - run: - echo "i don't know how to github release..." + mvn -s .circleci/mvn-settings.xml deploy workflows: main: diff --git a/.circleci/mvn-settings.xml b/.circleci/mvn-settings.xml new file mode 100644 index 00000000..d68651e0 --- /dev/null +++ b/.circleci/mvn-settings.xml @@ -0,0 +1,9 @@ + + + + github-qqq-maven-registry + ${env.NF_QQQ_MAVEN_REGISTRY_USERNAME} + ${env.NF_QQQ_MAVEN_REGISTRY_PASSWORD} + + + \ No newline at end of file From 28a9a408e5fed7ca35533ecfcad88dbd7422cd6b Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:00:23 -0500 Subject: [PATCH 09/20] Updated config.yml --- .circleci/config.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 033b6ed5..8ae45723 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,9 +43,12 @@ jobs: github_release: executor: java17 steps: - - run: + - run: | + echo "working dir:" + pwd + echo "listing" + ls -l mvn -s .circleci/mvn-settings.xml deploy - workflows: main: jobs: From 0eeebfd4983ec389464d6c2e939346ec5d4ce673 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:03:33 -0500 Subject: [PATCH 10/20] Updated config.yml --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ae45723..03e77b9b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,12 +43,17 @@ jobs: github_release: executor: java17 steps: + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "pom.xml" }} - run: | echo "working dir:" pwd echo "listing" ls -l - mvn -s .circleci/mvn-settings.xml deploy + mvn -s .circleci/mvn-settings.xml deploy -DskipTests + workflows: main: jobs: From a3373a2a6398908113147887a4fc72a492c5c3cb Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:16:16 -0500 Subject: [PATCH 11/20] Removing NF_ prefix from variables --- .circleci/mvn-settings.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/mvn-settings.xml b/.circleci/mvn-settings.xml index d68651e0..b2a345f0 100644 --- a/.circleci/mvn-settings.xml +++ b/.circleci/mvn-settings.xml @@ -2,8 +2,8 @@ github-qqq-maven-registry - ${env.NF_QQQ_MAVEN_REGISTRY_USERNAME} - ${env.NF_QQQ_MAVEN_REGISTRY_PASSWORD} + ${env.QQQ_MAVEN_REGISTRY_USERNAME} + ${env.QQQ_MAVEN_REGISTRY_PASSWORD} - \ No newline at end of file + From 2db567d5c32c516c6bf22a168441e7e8b3be7643 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:18:26 -0500 Subject: [PATCH 12/20] Updated config.yml --- .circleci/config.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 03e77b9b..c000c5a6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,13 +29,6 @@ jobs: when: always - store_test_results: path: ~/test-results - - persist_to_workspace: - root: target - paths: - - qqq-backend-core-*.jar - - store_artifacts: - path: target/qqq-backend-core-*.jar - destination: qqq-backend-core.jar - save_cache: paths: - ~/.m2 @@ -48,10 +41,6 @@ jobs: keys: - v1-dependencies-{{ checksum "pom.xml" }} - run: | - echo "working dir:" - pwd - echo "listing" - ls -l mvn -s .circleci/mvn-settings.xml deploy -DskipTests workflows: @@ -59,6 +48,8 @@ workflows: jobs: - maven_package - github_release: + context: + - Production requires: - maven_package filters: From 82ae62e59d04741de2a7425174c130b07e2800df Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:22:10 -0500 Subject: [PATCH 13/20] Updated config.yml --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c000c5a6..69a368a9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ orbs: maven: circleci/maven@1.3.0 jobs: - maven_package: + maven_package: ## delete this if maven/test works executor: java17 steps: # todo - ssh keys? @@ -46,12 +46,13 @@ jobs: workflows: main: jobs: - - maven_package + - maven/test: + executor: java17 - github_release: context: - Production requires: - - maven_package + - maven/test filters: branches: only: circleci-project-setup ## todo - change to main From 2b88fc1b35c5e002e7286b9fe29b4fbf94a41aba Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:47:43 -0500 Subject: [PATCH 14/20] Updated config.yml --- .circleci/config.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 69a368a9..46e024cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,23 +36,24 @@ jobs: github_release: executor: java17 steps: - - checkout - - restore_cache: - keys: - - v1-dependencies-{{ checksum "pom.xml" }} - - run: | - mvn -s .circleci/mvn-settings.xml deploy -DskipTests + - maven/test: + executor: java17 workflows: main: jobs: - maven/test: + name: run_tests executor: java17 - - github_release: + - maven/test: + name: deploy_to_github + executor: java17 + command: 'deploy -DskipTests' + settings_file: .circleci/mvn-settings.xml context: - Production requires: - - maven/test + - run_tests filters: branches: only: circleci-project-setup ## todo - change to main From 5c1690a603b92f5bae09c9b3c68429b0fa64651a Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:53:18 -0500 Subject: [PATCH 15/20] Updated config.yml --- .circleci/config.yml | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 46e024cf..3fc6d0fc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,43 +8,15 @@ executors: orbs: maven: circleci/maven@1.3.0 -jobs: - maven_package: ## delete this if maven/test works - executor: java17 - steps: - # todo - ssh keys? - - checkout - - restore_cache: - keys: - - v1-dependencies-{{ checksum "pom.xml" }} - - run: - name: Build with tests - command: | - mvn clean package - - run: - name: Save test results - command: | - mkdir -p ~/test-results/junit/ - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \; - when: always - - store_test_results: - path: ~/test-results - - save_cache: - paths: - - ~/.m2 - key: v1-dependencies-{{ checksum "pom.xml" }} - github_release: - executor: java17 - steps: - - maven/test: - executor: java17 - workflows: main: jobs: + ## Job (based on maven orb) to test the codebase. Should run for all branches. - maven/test: name: run_tests executor: java17 + + ## Job (based on maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry - maven/test: name: deploy_to_github executor: java17 From 6ca0c3e64e87c60c0a2db251a89cefbce3035f50 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:55:44 -0500 Subject: [PATCH 16/20] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3fc6d0fc..9c020be2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,7 +20,7 @@ workflows: - maven/test: name: deploy_to_github executor: java17 - command: 'deploy -DskipTests' + command: 'deploy:deploy' settings_file: .circleci/mvn-settings.xml context: - Production From 4d769f11aace2ca5f5e2dadd062a6e8c254e867a Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 15:58:57 -0500 Subject: [PATCH 17/20] Updated config.yml --- .circleci/config.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9c020be2..fed4376f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,16 +11,20 @@ orbs: workflows: main: jobs: - ## Job (based on maven orb) to test the codebase. Should run for all branches. + ################################################################################## + ## Job (based on maven orb) to test the codebase. Should run for all branches. ## + ################################################################################## - maven/test: name: run_tests executor: java17 - ## Job (based on maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry + ############################################################################################## + ## Job (based on maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ## + ############################################################################################## - maven/test: name: deploy_to_github executor: java17 - command: 'deploy:deploy' + command: 'deploy -DskipTests' ## tests were previously ran, so okay to skip them here, settings_file: .circleci/mvn-settings.xml context: - Production From 8a3966dbbd63e090aeb6f4745351590c388b0313 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 16:09:04 -0500 Subject: [PATCH 18/20] Updated config.yml --- .circleci/config.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fed4376f..6ddbebb5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,25 +11,24 @@ orbs: workflows: main: jobs: - ################################################################################## - ## Job (based on maven orb) to test the codebase. Should run for all branches. ## - ################################################################################## + ############################################################################## + ## Job (from maven orb) to test the codebase. Should run for all branches. ## + ############################################################################## - maven/test: name: run_tests executor: java17 - ############################################################################################## - ## Job (based on maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ## - ############################################################################################## + ############################################################################################# + ## Job (from maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ## + ## Note: despite "/test" in the name, we specify the mvn sub-command w/ the command param. ## + ############################################################################################# - maven/test: name: deploy_to_github executor: java17 command: 'deploy -DskipTests' ## tests were previously ran, so okay to skip them here, settings_file: .circleci/mvn-settings.xml - context: - - Production - requires: - - run_tests + context: qqq-maven-registry-credentials + requires: [ run_tests ] filters: branches: only: circleci-project-setup ## todo - change to main From 1e92e2bded538cca2d8b1c6bd7c5a64ebe837d05 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 16:20:34 -0500 Subject: [PATCH 19/20] Updated config.yml --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ddbebb5..96ce6b81 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,9 @@ workflows: - maven/test: name: run_tests executor: java17 + filters: + branches: + ignore: circleci-project-setup ## todo - change to main ############################################################################################# ## Job (from maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ## @@ -25,10 +28,9 @@ workflows: - maven/test: name: deploy_to_github executor: java17 - command: 'deploy -DskipTests' ## tests were previously ran, so okay to skip them here, + command: deploy settings_file: .circleci/mvn-settings.xml context: qqq-maven-registry-credentials - requires: [ run_tests ] filters: branches: only: circleci-project-setup ## todo - change to main From 403ab2df1da92ada8fec81177091863260fee1a5 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Mon, 13 Jun 2022 12:14:18 -0500 Subject: [PATCH 20/20] Real-development-mode ready versions of pom and CI scripts --- .circleci/config.yml | 81 ++++++++++++++++++++++++++++--------- .github/workflows/maven.yml | 35 ---------------- README.md | 6 +-- pom.xml | 26 ++++++++++-- 4 files changed, 86 insertions(+), 62 deletions(-) delete mode 100644 .github/workflows/maven.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 96ce6b81..7c158891 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,33 +4,74 @@ executors: java17: docker: - image: 'cimg/openjdk:17.0' + resource_class: small orbs: - maven: circleci/maven@1.3.0 + slack: circleci/slack@4.10.1 + +commands: + run_maven: + parameters: + maven_subcommand: + default: test + type: string + steps: + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "pom.xml" }} + - run: + name: Run Maven + command: | + mvn -s .circleci/mvn-settings.xml << parameters.maven_subcommand >> + - run: + name: Save test results + command: | + mkdir -p ~/test-results/junit/ + find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \; + when: always + - store_test_results: + path: ~/test-results + - save_cache: + paths: + - ~/.m2 + key: v1-dependencies-{{ checksum "pom.xml" }} + +jobs: + mvn_test: + executor: java17 + steps: + - run_maven: + maven_subcommand: test + - slack/notify: + event: fail + + mvn_deploy: + executor: java17 + steps: + - run_maven: + maven_subcommand: deploy + - slack/notify: + event: always workflows: - main: + test_only: jobs: - ############################################################################## - ## Job (from maven orb) to test the codebase. Should run for all branches. ## - ############################################################################## - - maven/test: - name: run_tests - executor: java17 + - mvn_test: + context: [ qqq-maven-registry-credentials, kingsrook-slack ] filters: branches: - ignore: circleci-project-setup ## todo - change to main + ignore: /dev/ + tags: + ignore: /version-.*/ - ############################################################################################# - ## Job (from maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ## - ## Note: despite "/test" in the name, we specify the mvn sub-command w/ the command param. ## - ############################################################################################# - - maven/test: - name: deploy_to_github - executor: java17 - command: deploy - settings_file: .circleci/mvn-settings.xml - context: qqq-maven-registry-credentials + deploy: + jobs: + - mvn_deploy: + context: [ qqq-maven-registry-credentials, kingsrook-slack ] filters: branches: - only: circleci-project-setup ## todo - change to main + only: /dev/ + tags: + only: /version-.*/ + diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml deleted file mode 100644 index 80d00dfd..00000000 --- a/.github/workflows/maven.yml +++ /dev/null @@ -1,35 +0,0 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - -name: Java CI with Maven - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'adopt' - cache: maven - - name: maven-settings-xml-action - uses: whelk-io/maven-settings-xml-action@v20 - with: - servers: '[{ "id": "github-qqq-maven-registry", "username": "${{ secrets.QQQ_MAVEN_REGISTRY_USERNAME }}", "password": "${{ secrets.QQQ_MAVEN_REGISTRY_PASSWORD }}" }]' - repositories: '[{ "id": "github-qqq-maven-registry", "url": "https://maven.pkg.github.com/Kingsrook/qqq-maven-registry", "snapshots": { "enabled": "true" }}]' - - name: Build with Maven - run: mvn -B package --file pom.xml - - name: Publish to GitHub Packages Apache Maven - run: mvn deploy - env: - GITHUB_TOKEN: ${{ github.token }} diff --git a/README.md b/README.md index e13fbeb1..fdfa850d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ # qqq-backend-core -[![Java CI with Maven](https://github.com/Kingsrook/qqq-backend-core/actions/workflows/maven.yml/badge.svg)](https://github.com/Kingsrook/qqq-backend-core/actions/workflows/maven.yml) +This is the Core backend module of qqq. -This is the Core backend module of qqq. - -It defines the standard models (including how meta-data are modeled) and actions of the framework, along with interfaces for backend-modules to implement. +It defines the standard models (including how meta-data are modeled) and actions of the framework, along with interfaces for backend-modules to implement. ## License QQQ - Low-code Application Framework for Engineers. \ diff --git a/pom.xml b/pom.xml index 79af13c4..0176dd30 100644 --- a/pom.xml +++ b/pom.xml @@ -20,15 +20,19 @@ ~ along with this program. If not, see . --> - + 4.0.0 com.kingsrook.qqq qqq-backend-core 0.0-SNAPSHOT + + scm:git:git@github.com:Kingsrook/qqq-backend-core.git + scm:git:git@github.com:Kingsrook/qqq-backend-core.git + HEAD + + @@ -144,6 +148,22 @@ + + com.amashchenko.maven.plugin + gitflow-maven-plugin + 1.18.0 + + + main + dev + version- + + true + install + true + 1 + +