Skip to content

MVN publish problem #15

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

Closed
alexeysharandin opened this issue May 23, 2022 · 2 comments
Closed

MVN publish problem #15

alexeysharandin opened this issue May 23, 2022 · 2 comments

Comments

@alexeysharandin
Copy link
Collaborator

alexeysharandin commented May 23, 2022

@gastaldi,
regarding discussed here: quarkusio/quarkus#25700
Need your help:

OSSRH - done - https://issues.sonatype.org/browse/OSSRH-81058
GPG config - done.

Now try to understand why I got error in mvn:release: https://github.com/java-embedded-framework/jef/runs/6549699271?check_suite_focus=true

Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project JEF: Unable to commit files
Error:  Provider message:
Error:  The git-push command failed.
Error:  Command output:
Error:  Warning: Permanently added the ECDSA host key for IP address '192.30.255.113' to the list of known hosts.
Error:  [email protected]: Permission denied (publickey).
Error:  fatal: Could not read from remote repository.

If you able to help - will be very appreciated

@gastaldi
Copy link
Collaborator

@alexeysharandin you can delete the maven-settings.xml.gpg file in this repository. The actions/setup-java can already create the settings.xml necessary to release. See https://github.com/quarkiverse/quarkus-prettytime/blob/main/.github/workflows/release.yml#L32-L38

@alexeysharandin
Copy link
Collaborator Author

@gastaldi
I see what GPG_PASSPHRASE/GPG_PRIVATE_KEY/OSSRH_TOKEN/OSSRH_USERNAME need to be configured in secrets.*

but as I understood problem somewhere with "git push" command and with GITHUB_TOKEN at this moment.

Is GITHUB_TOKEN = Personal access token with name = "GITHUB_TOKEN" and all permissions or something else?

@java-embedded-framework java-embedded-framework closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2022
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

No branches or pull requests

3 participants