diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index be86a594f4..4c0d5b49fc 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -42,7 +42,7 @@ jobs: secrets: OSSRH_USER: ${{ secrets.OSSRH_USER }} OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} - OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }} + OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} @@ -102,7 +102,7 @@ jobs: secrets: OSSRH_USER: ${{ secrets.OSSRH_USER }} OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} - OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }} + OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} @@ -206,7 +206,7 @@ jobs: secrets: OSSRH_USER: ${{ secrets.OSSRH_USER }} OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} - OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }} + OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} @@ -232,7 +232,7 @@ jobs: secrets: OSSRH_USER: ${{ secrets.OSSRH_USER }} OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} - OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }} + OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} \ No newline at end of file diff --git a/cache-provider-hazelcast/pom.xml b/cache-provider-hazelcast/pom.xml index d0e1c3697d..2672f40e38 100644 --- a/cache-provider-hazelcast/pom.xml +++ b/cache-provider-hazelcast/pom.xml @@ -51,19 +51,19 @@ 3.0.1 3.2.0 2.8.1 - 1.6.14 - + 0.7.0 + 1.3.0-SNAPSHOT 3.12.12 ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com/repository/maven-snapshots/ ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://central.sonatype.com/api/v1/publisher @@ -71,7 +71,7 @@ io.mosip.kernel kernel-bom - 1.3.0-SNAPSHOT + ${kerne.bom.version} pom import @@ -206,23 +206,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-maven-plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} true - - - default-deploy - deploy - - deploy - - - - ossrh - https://oss.sonatype.org/ - false + ossrh + false diff --git a/cache-provider-redis/pom.xml b/cache-provider-redis/pom.xml index 2e8a7bd74f..72b464d1d6 100644 --- a/cache-provider-redis/pom.xml +++ b/cache-provider-redis/pom.xml @@ -45,26 +45,26 @@ 3.0.1 3.2.0 2.8.1 - 1.6.14 + 0.7.0 + 1.3.0-SNAPSHOT ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com/repository/maven-snapshots/ ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://central.sonatype.com/api/v1/publisher - io.mosip.kernel kernel-bom - 1.3.0-SNAPSHOT + ${kerne.bom.version} pom import @@ -203,23 +203,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-maven-plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} true - - - default-deploy - deploy - - deploy - - - - ossrh - https://oss.sonatype.org/ - false + ossrh + false diff --git a/kernel/kernel-ref-idobjectvalidator/pom.xml b/kernel/kernel-ref-idobjectvalidator/pom.xml index 3c84f9069d..d9a7a54b7f 100644 --- a/kernel/kernel-ref-idobjectvalidator/pom.xml +++ b/kernel/kernel-ref-idobjectvalidator/pom.xml @@ -13,13 +13,15 @@ 1.3.0-SNAPSHOT + 1.3.0-SNAPSHOT + 0.7.0 io.mosip.kernel kernel-bom - 1.3.0-SNAPSHOT + ${kerne.bom.version} pom import @@ -86,14 +88,26 @@ spring-cloud-starter-bootstrap - + + + ossrh + https://central.sonatype.com/repository/maven-snapshots/ + + + ossrh + https://central.sonatype.com/api/v1/publisher + + - org.springframework.boot - spring-boot-maven-plugin + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} + true - ZIP + ossrh + false diff --git a/kernel/kernel-smsserviceprovider-msg91/pom.xml b/kernel/kernel-smsserviceprovider-msg91/pom.xml index e0677d9263..3dad1615ce 100644 --- a/kernel/kernel-smsserviceprovider-msg91/pom.xml +++ b/kernel/kernel-smsserviceprovider-msg91/pom.xml @@ -19,7 +19,7 @@ 2.8.1 2.2.1 1.5 - 1.6.14 + 0.7.0 3.0.1 1.3.0-SNAPSHOT 1.3.0-SNAPSHOT @@ -44,26 +44,26 @@ - - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - - - src/main/resources - - bootstrap.properties - - - + + + + ossrh + https://central.sonatype.com/repository/maven-snapshots/ + + + ossrh + https://central.sonatype.com/api/v1/publisher + + + + + + src/main/resources + + bootstrap.properties + + + maven-deploy-plugin @@ -78,27 +78,16 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.staging.plugin.version} + + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} true - - - default-deploy - deploy - - deploy - - - - ossrh - https://oss.sonatype.org/ - false + ossrh + false - - + org.apache.maven.plugins maven-source-plugin diff --git a/kernel/kernel-virusscanner-clamav/pom.xml b/kernel/kernel-virusscanner-clamav/pom.xml index c24e74c901..7e5f20c1bb 100644 --- a/kernel/kernel-virusscanner-clamav/pom.xml +++ b/kernel/kernel-virusscanner-clamav/pom.xml @@ -4,16 +4,18 @@ 4.0.0 io.mosip.kernel - io.mosip.kernel - kernel-ref-parent - 1.3.0-SNAPSHOT - + io.mosip.kernel + kernel-ref-parent + 1.3.0-SNAPSHOT + kernel-virusscanner-clamav - 1.3.0-SNAPSHOT + 1.3.0-SNAPSHOT + kernel-virusscanner-clamav 3.3.0 1.0.4 + 0.7.0 @@ -40,7 +42,16 @@ ${junit.vintage.version} - + + + ossrh + https://central.sonatype.com/repository/maven-snapshots/ + + + ossrh + https://central.sonatype.com/api/v1/publisher + + @@ -65,26 +76,15 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.staging.plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} true - - - default-deploy - deploy - - deploy - - - - ossrh - https://oss.sonatype.org/ - false + ossrh + false - org.apache.maven.plugins maven-source-plugin diff --git a/kernel/pom.xml b/kernel/pom.xml index 691c8e9353..3738ce0309 100644 --- a/kernel/pom.xml +++ b/kernel/pom.xml @@ -34,26 +34,35 @@ - - ossrh - Central Repository - https://oss.sonatype.org/content/repositories/snapshots - default - - true - - + + ossrh-central + MavenCentralRepository + https://central.sonatype.com/repository/maven-snapshots + default + + true + + + + central + MavenCentral + default + https://repo1.maven.org/maven2 + + false + + - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - + + + ossrh + https://central.sonatype.com/repository/maven-snapshots/ + + + ossrh + https://central.sonatype.com/api/v1/publisher + + UTF-8 @@ -72,7 +81,7 @@ 2.8.1 2.2.1 1.5 - 1.6.14 + 0.7.0 3.0.1 @@ -147,27 +156,16 @@ ${maven.compiler.target} - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.staging.plugin.version} - true - - - default-deploy - deploy - - deploy - - - - - ossrh - https://oss.sonatype.org/ - false - - - + + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} + true + + ossrh + false + + org.apache.maven.plugins maven-source-plugin diff --git a/pre-registration-booking-service/pom.xml b/pre-registration-booking-service/pom.xml index 1224734e06..5ca941e80e 100644 --- a/pre-registration-booking-service/pom.xml +++ b/pre-registration-booking-service/pom.xml @@ -68,7 +68,8 @@ 0.8.11 3.7.0.1746 3.2.0 - + 3.3.0 + 0.7.0 4.12 1.1.6 @@ -292,9 +293,43 @@ build-info repackage + + false + + + + + + org.apache.maven.plugins + maven-source-plugin + true + ${maven.source.plugin.version} + + + attach-sources + + jar-no-fork + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven.javadoc.version} + + + attach-javadocs + + jar + + + + + none + src/main/java + + org.apache.maven.plugins maven-gpg-plugin @@ -341,14 +376,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.14 + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} true - ossrh - https://oss.sonatype.org/ - false + ossrh + false @@ -504,11 +538,11 @@ ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com/repository/maven-snapshots/ ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://central.sonatype.com/api/v1/publisher diff --git a/registration-processor/registration-processor-external-integration-service/pom.xml b/registration-processor/registration-processor-external-integration-service/pom.xml index 55020b3fb5..55df705d6a 100644 --- a/registration-processor/registration-processor-external-integration-service/pom.xml +++ b/registration-processor/registration-processor-external-integration-service/pom.xml @@ -42,6 +42,7 @@ 3.7.0.1746 **/constant/**,**/config/**,**/httpfilter/**,**/cache/**,**/entity/**,**/model/**,**/exception/**,**/repository/**,**/verticle/**,**/spi/**,"**/proxy/**","**/entities/**","**/filter/**","**/util/**","**/verifier/**" 3.2.3 + 0.7.0 @@ -103,9 +104,28 @@ spring-cloud-starter-bootstrap - + + + ossrh + https://central.sonatype.com/repository/maven-snapshots/ + + + ossrh + https://central.sonatype.com/api/v1/publisher + + + + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} + true + + ossrh + false + + org.apache.maven.plugins maven-surefire-plugin @@ -195,6 +215,9 @@ build-info repackage + + false + @@ -241,8 +264,21 @@ ZIP + + + build-info-repackage + + build-info + repackage + + + false + + + pre-integration-test + pre-integration-test start @@ -259,18 +295,14 @@ + post-integration-test + post-integration-test stop - - - build-info - repackage - - diff --git a/registration-processor/registration-processor-external-stage/pom.xml b/registration-processor/registration-processor-external-stage/pom.xml index 6ba58458a7..273cfe2911 100644 --- a/registration-processor/registration-processor-external-stage/pom.xml +++ b/registration-processor/registration-processor-external-stage/pom.xml @@ -41,6 +41,7 @@ 0.8.11 3.7.0.1746 3.2.3 + 0.7.0 @@ -101,8 +102,28 @@ + + + ossrh + https://central.sonatype.com/repository/maven-snapshots/ + + + ossrh + https://central.sonatype.com/api/v1/publisher + + + + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.plugin.version} + true + + ossrh + false + + org.apache.maven.plugins maven-surefire-plugin @@ -192,6 +213,9 @@ build-info repackage + + false +