I have created a maven internal repository. I am having jars that were not created using maven i.e. there is not pom.xml file for them. I need to deploy this jar to the internal repository that I have created. For this purpose i used mvn deploy:deploy-file. Following is the command that i have used -
mvn -X deploy:deploy-file -Durl=scp://localhost/my-repo/ -DrepositoryId=localhost -Dfile=temp.jar -DgroupId=com.myorg -DartifactId=temp -Dversion=1.0 -Dpackaging=jar -Dclassifier=test -DgeneratePom=true -DgeneratePom.description="temp test" -DrepositoryLayout=default -DuniqueVersion=false
I am using windows xp and apache-maven-3.0.3. I am getting following error -
"[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts/metadata: No connector available to access repository localhost (scp://localhost/commons-logging/) of type default using the available factories WagonRepositoryConnectorFactory"
I have never used scp on windows as I have worked on linux machines and I also dont do i need to install it for achieving this task then where can i install it from and how to overcome the error that I am facing. Please guide me regarding this issue.
Thanks!!