Skip to content

Commit 93a6b50

Browse files
committed
Fixed maven publishing issues
1 parent 4cc212f commit 93a6b50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

epub4j-core/build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ tasks.withType(Sign).configureEach {
5555
}
5656
}
5757

58-
def ossrU = project.hasProperty("ossrhToken") ? ossrhToken : ""
59-
def ossrP = project.hasProperty("ossrhTokenPassword") ? ossrhTokenPassword : ""
58+
def ossrU = project.hasProperty("ossrhToken2") ? ossrhToken2 : ""
59+
def ossrP = project.hasProperty("ossrhTokenPassword2") ? ossrhTokenPassword2 : ""
6060

6161
publishing {
6262
publications {
6363
mavenJava(MavenPublication) {
6464
from components.java
6565
groupId = 'io.documentnode'
66-
artifactId = 'epub4j'
66+
artifactId = 'epub4j-core'
6767
version = project.version
6868
pom {
6969
name = 'epub4j'
@@ -97,8 +97,8 @@ publishing {
9797
repositories {
9898
mavenLocal()
9999
maven {
100-
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
101-
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
100+
def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
101+
def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
102102
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
103103
credentials {
104104
username = ossrU

0 commit comments

Comments
 (0)