https://github.com/skyscanner/hello-ossrh
https://github.com/skyscanner/hello-ossrh
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skyscanner/hello-ossrh
- Owner: Skyscanner
- License: apache-2.0
- Created: 2021-05-11T13:11:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-28T07:46:59.000Z (almost 2 years ago)
- Last Synced: 2025-07-26T07:50:30.508Z (3 months ago)
- Language: Java
- Size: 65.4 KB
- Stars: 0
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.MD
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.MD
Awesome Lists containing this project
README
# hello-ossrh
A sample repo that is used to claim net.skyscanner namespace on maven central. It is based on https://github.com/spring-guides/gs-gradle for setting up a minimalist working gradle build.
If you want to push a new OSS artifact to `net.skyscanner` namespace, please reach out to catalystsquad@skyscanner.net or @artifactory-gf on #engineering-support**DO NOT USE THIS AS A TEMPLATE FOR CREATING AN OPENSOURCE ARTIFACT. USE IT ONLY AS ROUGH GUIDELINES ON HOW TO SIGN YOUR ARTIFACTS
AS PER https://central.sonatype.org/publish/requirements/gpg/**## Setting up gradle to publish signed artifacts
Add to your $HOME gradle.properties:
```gradle.properties
# We recommend publishing the public key to keys.openpgp.org keyserver
# gpg --keyserver keys.openpgp.org --send-keys YourKeyId
# since the keyserver mentioned in https://central.sonatype.org/publish/requirements/gpg/#distributing-your-public-key (hkp://pool.sks-keyservers.net) is down
signing.keyId=YourKeyId
signing.password=YourKeyPassPhrase
signing.secretKeyRingFile=YourKeyRingFile # (Since gpg 2.1, you need to export the keys with command gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpg). See https://docs.gradle.org/current/userguide/signing_plugin.html# Reach out to artifactory greenflag to obtain these..
ossrhUsername=...
ossrhPassword=...
```Run `./gradlew uploadArchives` to publish the artifact