This is a practice project to learn how to use Quarkus, the Supersonic Subatomic Java Framework, with Picocli.
original: scripts/memcached-tool
- JDK 17
$ ./mvnw clean package
# the below jar is an executable jar. Please rename it if necessary.
$ ls target/memcached-tool.jar
target/memcached-tool.jar
$ java -jar target/memcached-tool.jar
Usage: memcached-tool [-hvV] [--host=<configEndpoint>] [-p=<clusterPort>]
[COMMAND]
Simple tool to handle memcached
-h, --help
--host=<configEndpoint>
Cluster hostname.
Default: localhost
-p, --port=<clusterPort> Cluster port number.
Default: 11211
-v, --verbose Enable verbose mode.
-V, --version print version information and exit
Commands:
generate, gen Generate items on memcached!
dump
keys
stats Perform stats command
flush Flush items on memcached
This document describes how to release this library to Maven Central using maven-release-plugin
and central-publishing-maven-plugin
.
- You must have a Sonatype Central Portal account.
- Your project must be registered and approved via OSSRH (JIRA).
- Your
~/.m2/settings.xml
must contain the following credentials:
<servers>
<server>
<id>central</id>
<username>your-token-username</username>
<password>your-token-password</password>
</server>
</servers>
$ mvn -Prelease release:prepare
$ mvn -Prelease release:perform
mvn release:clean
git reset --hard
git clean -fd
git tag -d <TAG: 0.2.1>