Codeartoken
- CLI tool to refresh AWS CodeArtifact tokens for maven using the
settings.xml
file.
- You can download the release binaries for Linux/macOS/Windows here.
- You can also install using homebrew by running:
brew tap manojkarthick/codeartoken && brew install codeartoken
❯ ./codeartoken --help
NAME:
codeartoken - Refresh AWS CodeArtifact token for maven
USAGE:
codeartoken [global options] command [command options] [arguments...]
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--domain value, -d value
--owner value, -o value
--server value, -s value (default: "codeartifact")
--settings value, -x value (default: "$HOME/.m2/settings.xml")
--help, -h show help (default: false)
Troubleshooting
On macOS, if you encounter the error “codeartoken” cannot be opened because the developer cannot be verified.
, run the following:
xattr -d com.apple.quarantine ./codeartoken