===== How to deploy jar to maven repo using ssh ===== mvn deploy:deploy-file \ -DgroupId=xalan \ -DartifactId=xalan \ -Dversion=2.7.2 \ -Dpackaging=jar \ -Dfile=xalan-2.7.2.jar \ -DrepositoryId=maven-repo \ -Durl=scpexe://repo.com/data/html/repository/ - Make sure all the requirements of maven is well met by downloading all the necessary [[https://maven.apache.org/wagon-archives/wagon-LATEST/wagon-providers/wagon-ssh/dependencies.html|maven dependencies]] to maven lib folder - [[https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html|Maven deploy howto]]