Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Deploy to Sonatype OSSRH
- name: Deploy to Maven Central
run: mvn -B -ntp deploy -DskipTests -P release
env:
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
Expand Down
18 changes: 12 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>org.smartregister</groupId>
<artifactId>easy-rules</artifactId>
<version>4.1.1-SNAPSHOT</version>
Expand Down Expand Up @@ -47,6 +41,18 @@
<maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
</properties>

<!-- <distributionManagement>
&lt;!&ndash; Overrides oss-parent:7 — targets Sonatype Central Portal with server ID matching settings.xml &ndash;&gt;
<snapshotRepository>
<id>central</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>central</id>
<url>https://central.sonatype.com/repository/maven-releases/</url>
</repository>
</distributionManagement>-->

<scm>
<url>git@github.com:opensrp/easy-rules.git</url>
<connection>scm:git:git@github.com:opensrp/easy-rules.git</connection>
Expand Down
Loading