Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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