Project Purpose: For interacting with Amazon Web Services CLI & an Operating System's CLI, thus far.
Foremost
mvn clean package
Subsequently
cd commandline/target
and noting that the name of the .jar
partly depends on the project tags
<project>
<groupId>com.grey.libraries</groupId>
<artifactId>commandline</artifactId>
<version>1.0</version>
</project>
in pom.xml
, run
mvn deploy:deploy-file
-Dfile=commandline-1.0.jar
-DgroupId=com.grey.libraries # ref. <groupId>com.grey.libraries</groupId> of pom.xml
-DartifactId=commandline # ref. <artifactId>commandline</artifactId> of pom.xml
-Dversion=1.0 # ref. <version>1.0</version> of pom.xml
-Dpackaging=jar
-Durl=file:///[disk partition letter]:/[path to .m2]/.m2/repository -DrepositoryId=repository