Mention GitHub scopes and deployment.username in readme.

Closes #179
This commit is contained in:
Mark Paluch
2021-03-31 08:39:25 +02:00
parent a69fd8cb1f
commit 5a6595f40b
2 changed files with 10 additions and 8 deletions

View File

@@ -13,11 +13,12 @@ github.api.url=https://api.github.com
# Maven
maven.mavenHome=
maven.console-logger=false
maven.parallelize=true
# Deployment
deployment.repository-prefix=
# Must be always the encrypted password taken from the Artifactory GUI/Profile view
deployment.username=
deployment.password=
deployment.api-key=
@@ -27,9 +28,9 @@ jira.password=
jira.url=https://jira.spring.io
# GPG
gpg.keyname=
gpg.password=
# gpg.executable=/usr/local/bin/gpg2
deployment.gpg.keyname=
deployment.gpg.password=
# deployment.gpg.executable=/usr/local/bin/gpg2
# A GitHub token with user:email, read:user and read:org scopes.
# User needs to be part of the Spring team on GitHub as well.

View File

@@ -10,16 +10,17 @@
Add an `application-local.properties` to the project root and add the following properties:
- `git.username` - Your GitHub username.
- `git.password` - Your GitHub password or API key.
- `git.password` - Your GitHub Password (or API key with scopes: `public_repo, read:org, repo:status, repo_deployment, user` when using 2FA).
- `git.author` - Your full name (used for preparing commits).
- `git.email` - Your email (used for preparing commits).
- `maven.mavenHome` - Pointing to the location of your Maven installation.
- `deployment.api-key` - The API key to use for artifact promotion.
- `deployment.password` - The password of the deployment user (buildmaster).
- `deployment.username` - Your Artifactory user.
- `deployment.api-key` - The Artifactory API key to use for artifact promotion.
- `deployment.password` - The encrypted Artifactory password..
- `gpg.keyname` - The GPG key name.
- `gpg.password` - The password of your GPG key.
- `gpg.executable` - Path to your GPG executable, typically `/usr/local/MacGPG2/bin/gpg2` or `/usr/local/bin/gpg`.
- `sagan.key` - Sagan authentication token. Must be a valid GitHub token. Can be the same as `git.password` when using a GitHub token as password.
See `application-local.template` for details.