From ec7601e898210c0dead95a340df96bc8e6591c27 Mon Sep 17 00:00:00 2001 From: Benjamin Mwalimu Date: Tue, 14 Apr 2026 15:01:52 +0300 Subject: [PATCH 1/2] Remvoe the parent --- .github/workflows/publish.yml | 6 +++--- pom.xml | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1252ae4a..c06e7456 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -80,12 +80,12 @@ jobs: mvn -B -ntp versions:commit - name: Build & Test (signs at verify) - run: mvn -B -ntp clean verify -P release + run: mvn -B -ntp clean verify env: MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - - name: Deploy to Sonatype OSSRH - run: mvn -B -ntp deploy -DskipTests -P release + - name: Deploy to Maven Central + run: mvn -B -ntp deploy -DskipTests env: CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }} CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }} diff --git a/pom.xml b/pom.xml index 9b1d8475..eb0edf69 100644 --- a/pom.xml +++ b/pom.xml @@ -2,12 +2,6 @@ 4.0.0 - - org.sonatype.oss - oss-parent - 7 - - org.smartregister easy-rules 4.1.1-SNAPSHOT @@ -47,6 +41,18 @@ 3.4.1 + + git@github.com:opensrp/easy-rules.git scm:git:git@github.com:opensrp/easy-rules.git From 2c8ee129c9e8ad46a2a4797a374a397f91018334 Mon Sep 17 00:00:00 2001 From: Benjamin Mwalimu Date: Tue, 14 Apr 2026 15:05:25 +0300 Subject: [PATCH 2/2] Return require flags --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c06e7456..afd12f0e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -80,12 +80,12 @@ jobs: mvn -B -ntp versions:commit - name: Build & Test (signs at verify) - run: mvn -B -ntp clean verify + run: mvn -B -ntp clean verify -P release env: MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Deploy to Maven Central - run: mvn -B -ntp deploy -DskipTests + run: mvn -B -ntp deploy -DskipTests -P release env: CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }} CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}