Repository: shiro-site Updated Branches: refs/heads/master 438db9f24 -> 07dae0f8e
Add the command line to download from Maven Central Add the command line to download the -cli jar from Maven Central. Project: http://git-wip-us.apache.org/repos/asf/shiro-site/repo Commit: http://git-wip-us.apache.org/repos/asf/shiro-site/commit/dc4fc8a8 Tree: http://git-wip-us.apache.org/repos/asf/shiro-site/tree/dc4fc8a8 Diff: http://git-wip-us.apache.org/repos/asf/shiro-site/diff/dc4fc8a8 Branch: refs/heads/master Commit: dc4fc8a8a9ec84bde5a3d9d6aaeff543efa25a3e Parents: d656e5a Author: Ewan Mellor <[email protected]> Authored: Thu Mar 15 15:37:10 2018 -0700 Committer: GitHub <[email protected]> Committed: Thu Mar 15 15:37:10 2018 -0700 ---------------------------------------------------------------------- command-line-hasher.md | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/shiro-site/blob/dc4fc8a8/command-line-hasher.md ---------------------------------------------------------------------- diff --git a/command-line-hasher.md b/command-line-hasher.md index d8878c8..1ea5966 100644 --- a/command-line-hasher.md +++ b/command-line-hasher.md @@ -15,6 +15,12 @@ Shiro 1.2.0 and later provides a command line program that can hash strings and Ensure you have access to the `shiro-tools-hasher-`_version_`-cli.jar` file. You can either find this in a source build in the _buildroot_`/tools/hasher/target` directory or via download through Maven. +``` bash +# Use the following to download from Maven Central into +# ~/.m2/repository/org/apache/shiro/tools/shiro-tools-hasher/X.X.X/shiro-tools-hasher-X.X.X-cli.jar +$ mvn dependency:get -DgroupId=org.apache.shiro.tools -DartifactId=shiro-tools-hasher -Dclassifier=cli -Dversion=X.X.X +``` + Once you have access to the jar, you can run the following command: ``` bash
