File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,21 +360,24 @@ uploadArchives {
360360 repositories {
361361 mavenDeployer {
362362 beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
363- repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2/" ) {
363+
364+ snapshotRepository(url : " https://central.sonatype.com/repository/maven-snapshots/" ) {
364365 authentication(userName : ossrhUsername, password : ossrhPassword)
365366 }
366- snapshotRepository(url : " https://oss.sonatype.org/content/repositories/snapshots/" ) {
367+
368+ repository(url : " https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" ) {
367369 authentication(userName : ossrhUsername, password : ossrhPassword)
368370 }
371+
369372 pom. project {
370- name project. name
371- packaging ' jar'
372- description project. description()
373+ name = project. name
374+ packaging = ' jar'
375+ description = project. description
373376 url = ' https://openlmis.org'
374377 licenses {
375378 license {
376- name ' GNU Affero General Public License, Version 3'
377- url ' https://www.gnu.org/licenses/agpl-3.0.txt'
379+ name = ' GNU Affero General Public License, Version 3'
380+ url = ' https://www.gnu.org/licenses/agpl-3.0.txt'
378381 }
379382 }
380383 developers {
@@ -387,8 +390,7 @@ uploadArchives {
387390 }
388391 scm {
389392 connection = ' scm:git:git://github.com/OpenLMIS/openlmis-dhis2-integration.git'
390- developerConnection = ' scm:git:ssh://github.com/OpenLMIS/openlmis-dhis2-integration' +
391- ' .git'
393+ developerConnection = ' scm:git:ssh://github.com/OpenLMIS/openlmis-dhis2-integration.git'
392394 url = ' http://github.com/OpenLMIS/openlmis-dhis2-integration/'
393395 }
394396 }
You can’t perform that action at this time.
0 commit comments