I'm trying to publish to the Central Maven repository staging site (for now). I have the sonatype repo set up but I can't find any documentation on how to configure the sonatype/nexus-repository-publish pipes
- step:
name: deploy snapshot
script:
- pipe: sonatype/nexus-repository-publish:0.0.1
variables:
FILENAME: target/atom-*.jar
ATTRIBUTES: ????
USERNAME: ${SONATYPE_USERNAME}
PASSWORD: ${SONATYPE_PASSWORD}
SERVER_URL: https://oss.sonatype.org/content/repositories/snapshots
# REPOSITORY: '<string>' # Optional.
# FORMAT: '<string>' # Optional.
I don't know what I should put for ATTRIBUTES, and I'm not sure if I can have a wildcard in the FILENAME, since I need to deploy the jar, the source and the javadoc.
I haven't found any examples or documentation.
I'm also trying to determine how to gpg sign my code, which will also mean sending the .asc files.
Any help?
Hi @Jim Richards ,
according to support section in the Readme for Sonatype pipe repository
you can ask Sonatype Community at the Sonatype Exchange .
Cheers,
Alex
Thanks. I figured that the pipe was more for private nexus repos. As I'm pushing to the open source repo, I ended up using the maven deploy plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.