Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retrieve activity messages when closing repository fails #409

Merged
merged 1 commit into from Sep 9, 2022

Conversation

gabrielittner
Copy link
Collaborator

With this the plugin will try to retrieve the error messages when closing failed and then print them. In case retrieving them doesn't work it falls back the current error message that directs users to the sonatype website.

* What went wrong:
Failed to stop service 'sonatype-repository-build-service'.
> Closing the repository failed with the following errors:
  Missing Signature: '/com/gabrielittner/maven/publish/com.gabrielittner.maven.publish.gradle.plugin/gabriel-test1/com.gabrielittner.maven.publish.gradle.plugin-gabriel-test1.pom.asc' does not exist for 'com.gabrielittner.maven.publish.gradle.plugin-gabriel-test1.pom'.
  Missing Signature: '/com/gabrielittner/maven/publish/base/com.gabrielittner.maven.publish.base.gradle.plugin/gabriel-test1/com.gabrielittner.maven.publish.base.gradle.plugin-gabriel-test1.pom.asc' does not exist for 'com.gabrielittner.maven.publish.base.gradle.plugin-gabriel-test1.pom'.
  Missing Signature: '/com/gabrielittner/test/nexus/gabriel-test1/nexus-gabriel-test1-sources.jar.asc' does not exist for 'nexus-gabriel-test1-sources.jar'.
  Missing Signature: '/com/gabrielittner/test/nexus/gabriel-test1/nexus-gabriel-test1.pom.asc' does not exist for 'nexus-gabriel-test1.pom'.
  Missing Signature: '/com/gabrielittner/test/nexus/gabriel-test1/nexus-gabriel-test1.jar.asc' does not exist for 'nexus-gabriel-test1.jar'.
  Missing Signature: '/com/gabrielittner/test/nexus/gabriel-test1/nexus-gabriel-test1-javadoc.jar.asc' does not exist for 'nexus-gabriel-test1-javadoc.jar'.
  Missing Signature: '/com/gabrielittner/test/nexus/gabriel-test1/nexus-gabriel-test1.module.asc' does not exist for 'nexus-gabriel-test1.module'.
  Missing Signature: '/com/gabrielittner/test/gradle-maven-publish-plugin/gabriel-test1/gradle-maven-publish-plugin-gabriel-test1.pom.asc' does not exist for 'gradle-maven-publish-plugin-gabriel-test1.pom'.
  Missing Signature: '/com/gabrielittner/test/gradle-maven-publish-plugin/gabriel-test1/gradle-maven-publish-plugin-gabriel-test1.module.asc' does not exist for 'gradle-maven-publish-plugin-gabriel-test1.module'.
  Missing Signature: '/com/gabrielittner/test/gradle-maven-publish-plugin/gabriel-test1/gradle-maven-publish-plugin-gabriel-test1.jar.asc' does not exist for 'gradle-maven-publish-plugin-gabriel-test1.jar'.
  Missing Signature: '/com/gabrielittner/test/gradle-maven-publish-plugin/gabriel-test1/gradle-maven-publish-plugin-gabriel-test1-javadoc.jar.asc' does not exist for 'gradle-maven-publish-plugin-gabriel-test1-javadoc.jar'.
  Missing Signature: '/com/gabrielittner/test/gradle-maven-publish-plugin/gabriel-test1/gradle-maven-publish-plugin-gabriel-test1-sources.jar.asc' does not exist for 'gradle-maven-publish-plugin-gabriel-test1-sources.jar'.

Copy link
Owner

@vanniktech vanniktech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's pretty neat!

@gabrielittner gabrielittner merged commit 19a8631 into master Sep 9, 2022
@gabrielittner gabrielittner deleted the activity-messages branch September 9, 2022 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants