Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amy-keibler/example_switching_between_ossrh_and_portal
https://github.com/amy-keibler/example_switching_between_ossrh_and_portal
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/amy-keibler/example_switching_between_ossrh_and_portal
- Owner: amy-keibler
- Created: 2023-10-03T19:52:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-07T21:44:22.000Z (12 months ago)
- Last Synced: 2023-12-07T22:29:43.451Z (12 months ago)
- Language: Nix
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Switching Between OSSRH and Portal
## Setup
In order to use this, you'll need to create a `settings.xml` file. You can copy
[`settings-example.xml`][settings] as a starting point and then fill in the
credentials with your user token information generated on the [Central
Portal][csc].## Usage
```shell
mvn --settings settings.xml clean deploy -P release,
```where `` is either `ossrh` or `portal`.
Note: Using the Nix DevShell will set the settings file via an environment
variable, so passing it in manually should not be required.[settings]: ./settings-example.xml
[csc]: https://central.sonatype.com