Closed denghejun closed 3 years ago
Related to #131? Could you answer the questions precised there and preferably send a link do your project and CI logs (if publicly available) or - if not - the project configuration related to releasing?
Below is all of my gradle config. I don't config anything else. is that right?
plugins {
id 'java'
id "io.codearte.nexus-staging" version "0.21.1"
}
group 'org.drift'
version '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.5.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.5.2")
testImplementation("org.mockito:mockito-core:3.0.0")
testImplementation("org.mockito:mockito-junit-jupiter:3.0.0")
}
test {
useJUnitPlatform()
}
nexusStaging {
// optional if packageGroup == project.getGroup()
packageGroup = "org.drift"
// when not defined will be got from server using "packageGroup"
// stagingProfileId = "yourStagingProfileId"
}
How do you provide credentials to Nexus?
Please take a look at the proper section in README.
@denghejun Have you been able to check what I asked 10 days ago?
Closing due to inactivity.
./gradlew closeAndReleaseRepository -info Initialized native services in: /Users/hjdeng/.gradle/native The client will now receive all logging from the daemon (pid: 160). The daemon log file: /Users/hjdeng/.gradle/daemon/5.6.2/daemon-160.out.log Starting 11th build in daemon [uptime: 23 mins 18.643 secs, performance: 100%, non-heap usage: 28% of 268.4 MB] Using 8 worker leases. Starting Build Settings evaluated using settings file '/Users/hjdeng/coding/github/drift-programming/settings.gradle'. Projects loaded. Root project using build file '/Users/hjdeng/coding/github/drift-programming/build.gradle'. Included projects: [root project 'drift-programming']
FAILURE: Build failed with an exception.