diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index 401e516974..1548b35851 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -18,12 +18,12 @@ on: - release* - master - 1.* - - develop + - develop* - MOSIP* jobs: build-regclient: - uses: mosip/kattu/.github/workflows/maven-build.yml@master + uses: mosip/kattu/.github/workflows/maven-build.yml@master-java21 with: SERVICE_LOCATION: registration BUILD_ARTIFACT: registration @@ -43,11 +43,11 @@ jobs: BUILD_ARTIFACT: registration-local steps: - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 21 + uses: actions/setup-java@v3 with: - ref: ${{ github.ref }} - java-version: 11 + distribution: 'temurin' + java-version: '21' server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file @@ -83,7 +83,7 @@ jobs: publish_to_nexus: if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' && github.event_name != 'release' && github.event_name != 'prerelease' && github.event_name != 'publish' }}" needs: build-regclient-local - uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master + uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master-java21 with: SERVICE_LOCATION: registration secrets: @@ -105,7 +105,7 @@ jobs: ONLY_DOCKER: true fail-fast: false name: ${{ matrix.SERVICE_NAME }} - uses: mosip/kattu/.github/workflows/docker-build.yml@master + uses: mosip/kattu/.github/workflows/docker-build.yml@master-java21 with: SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }} SERVICE_NAME: ${{ matrix.SERVICE_NAME }} @@ -120,7 +120,7 @@ jobs: sonar_analysis: needs: build-regclient-local if: "${{ github.event_name != 'pull_request' }}" - uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master + uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master-java21 with: SERVICE_LOCATION: registration secrets: diff --git a/registration/pom.xml b/registration/pom.xml index 1c5f7f9504..a5570da34c 100644 --- a/registration/pom.xml +++ b/registration/pom.xml @@ -134,7 +134,7 @@ 1.2.0 2.3.1 - 11.0.2 + 21.0.3 **/dto/**, diff --git a/registration/ref-impl/ref-document-scanner/pom.xml b/registration/ref-impl/ref-document-scanner/pom.xml index 76bf6cb668..c12bbc0c0c 100644 --- a/registration/ref-impl/ref-document-scanner/pom.xml +++ b/registration/ref-impl/ref-document-scanner/pom.xml @@ -46,25 +46,25 @@ morena7 morena7 - system + 1.0 - C:\Users\61044292\Downloads\morena-7.1.36\lib\morena7.jar + morena7-license morena7-license - system + 1.0 - C:\Users\61044292\Downloads\morena-7.1.36\lib\morena_license.jar + morena7-win morena7-win - system + 1.0 - C:\Users\61044292\Downloads\morena-7.1.36\lib\morena7_win.jar + diff --git a/registration/registration-test/pom.xml b/registration/registration-test/pom.xml index 398fba7929..30788f8978 100644 --- a/registration/registration-test/pom.xml +++ b/registration/registration-test/pom.xml @@ -8,6 +8,7 @@ registration-test registration-test Maven project of MOSIP Registration Test + 1.2.1-java21-SNAPSHOT 21