2.7 KiB
2.7 KiB
CommonUtil
- Desc: A common utils jar for using redis elasticsearch Rest and file even more these.
Download
Log
2019-12-05 14:33:23
New class for remotely connect to the server and execute the script.SSH2Util
How to use
Import it in your pom
Import jar into your maven
mvn install:install-file -Dfile=<path-to-file> -DgroupId=site.cnkj -DartifactId=CommonUtil -Dversion=1.0 -Dpackaging=jar
Note: is your local jar of full path.
For example:
mvn install:install-file -Dfile=/User/carol/Desktop/CommonUtil-1.0.jar -DgroupId=site.cnkj -DartifactId=CommonUtil -Dversion=1.0 -Dpackaging=jar
Import dependency into your pom.xml
<dependency>
<groupId>site.cnkj</groupId>
<artifactId>CommonUtil</artifactId>
<version>1.0</version>
</dependency>