From 23fdb6c14efa517ef870271cf5bf9a51ee6d78bf Mon Sep 17 00:00:00 2001 From: Aras Date: Mon, 25 Aug 2025 15:26:45 -0400 Subject: [PATCH 1/5] IKDT-1155 changes --- .github/workflows/build.yaml | 29 ++++++++++++++++++++++ .github/workflows/post_build.yaml | 40 +++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 .github/workflows/build.yaml create mode 100644 .github/workflows/post_build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..a03a906 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,29 @@ +name: Build Workflow + +run-name: 'Build Workflow -- ${{ github.head_ref || github.ref_name }}' + +# Pipeline/Workflow Triggers +on: + push: + pull_request: + workflow_dispatch: + + +jobs: + pr-verification: + name: Pull Request Validation + runs-on: ubuntu-24.04 + if: github.event_name == 'pull_request' + steps: + - name: Pull Request Version Validation + uses: ikmdev/maven-pull-request-version-validation-action@v2.1.0 + + build-job: + name: Build Job + runs-on: ubuntu-24.04 + steps: + - name: Build IKMDEV Code + uses: ikmdev/maven-clean-install-build-action@v3.5.0 + with: + branch_name: ${{github.ref_name}} + \ No newline at end of file diff --git a/.github/workflows/post_build.yaml b/.github/workflows/post_build.yaml new file mode 100644 index 0000000..c0ef52d --- /dev/null +++ b/.github/workflows/post_build.yaml @@ -0,0 +1,40 @@ +name: Post Build Action + +run-name: 'Post Build Action -- ${{github.event.workflow_run.head_branch}}' + +on: + workflow_run: + workflows: + - Build Workflow + types: + - completed + +permissions: + contents: write + +jobs: + post-build: + name: Post Build Actions + runs-on: ubuntu-24.04 + if: github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'ikmdev' + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + repository: ${{github.event.workflow_run.head_repository.full_name}} + ref: ${{github.event.workflow_run.head_branch}} + fetch-depth: 0 + + - name: IKMDEV Post Build Action + id: ikmdev_post_build + uses: ikmdev/maven-post-build-action@v3.2.0 + with: + nexus_repo_password: ${{secrets.EC2_NEXUS_PASSWORD}} + branch_name: ${{github.event.workflow_run.head_branch}} + github_token: ${{secrets.GITHUB_TOKEN}} + maven_central_username: ${{secrets.MC_SECRET_USERNAME}} + maven_central_password: ${{secrets.MC_SECRET_PASSWORD}} + gpg_key: ${{secrets.GPG_KEY}} + gpg_passphrase: ${{secrets.GPG_PASSPHRASE}} + sonarcloud_token: ${{ secrets.SONAR_TOKEN }} + From 0d8d15347ac1faa207b8725f7033850708c14810 Mon Sep 17 00:00:00 2001 From: Aras Date: Mon, 25 Aug 2025 15:30:00 -0400 Subject: [PATCH 2/5] pom changes --- plugin/loinc-starterdata-maven-plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/loinc-starterdata-maven-plugin/pom.xml b/plugin/loinc-starterdata-maven-plugin/pom.xml index ed81fa7..a192693 100644 --- a/plugin/loinc-starterdata-maven-plugin/pom.xml +++ b/plugin/loinc-starterdata-maven-plugin/pom.xml @@ -18,7 +18,7 @@ org.apache.maven.plugins maven-plugin-plugin - ${maven-plugin-plugin.version} + mojo-descriptor From e6b0d880c52fc40d7680cdd6d016324cd5a9fb5b Mon Sep 17 00:00:00 2001 From: Aras Date: Mon, 25 Aug 2025 15:32:30 -0400 Subject: [PATCH 3/5] pom changes --- plugin/loinc-transformation-maven-plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/loinc-transformation-maven-plugin/pom.xml b/plugin/loinc-transformation-maven-plugin/pom.xml index 5c26711..2fb5475 100644 --- a/plugin/loinc-transformation-maven-plugin/pom.xml +++ b/plugin/loinc-transformation-maven-plugin/pom.xml @@ -19,7 +19,7 @@ org.apache.maven.plugins maven-plugin-plugin - ${maven-plugin-plugin.version} + mojo-descriptor From 1466d25921f2238f6bc5e365da0439deafbca045 Mon Sep 17 00:00:00 2001 From: casaras1 <164526009+casaras1@users.noreply.github.com> Date: Mon, 25 Aug 2025 15:38:32 -0400 Subject: [PATCH 4/5] Update maven-wrapper.properties --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 1a60da7..524ccf2 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar From ae5e176a330ee70b26e3ed222cb374098f74fb80 Mon Sep 17 00:00:00 2001 From: Aras Date: Mon, 25 Aug 2025 18:56:50 -0400 Subject: [PATCH 5/5] config changes for maven central --- .github/workflows/post_build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post_build.yaml b/.github/workflows/post_build.yaml index c0ef52d..842ebdc 100644 --- a/.github/workflows/post_build.yaml +++ b/.github/workflows/post_build.yaml @@ -32,8 +32,8 @@ jobs: nexus_repo_password: ${{secrets.EC2_NEXUS_PASSWORD}} branch_name: ${{github.event.workflow_run.head_branch}} github_token: ${{secrets.GITHUB_TOKEN}} - maven_central_username: ${{secrets.MC_SECRET_USERNAME}} - maven_central_password: ${{secrets.MC_SECRET_PASSWORD}} +# maven_central_username: ${{secrets.MC_SECRET_USERNAME}} +# maven_central_password: ${{secrets.MC_SECRET_PASSWORD}} gpg_key: ${{secrets.GPG_KEY}} gpg_passphrase: ${{secrets.GPG_PASSPHRASE}} sonarcloud_token: ${{ secrets.SONAR_TOKEN }}