How to deploy third party artifact to a maven repository :
mvn deploy:deploy-file -DgroupId=myGroupId -DartifactId=myArtifactId -Dversion=2.6.5 -Dfile=filename.jar -Dpackaging=jar -Durl=http://mymavenrepo/
For example, to deploy the eclipse eswt to a repository :
mvn deploy:deploy-file -DgroupId=org.eclipse.eswt -DartifactId=eswt-converged
-win32 -Dversion=1.3.0 -Dfile=eswt-converged.jar -Dpackaging=jar -Durl=http://www.myurl.org/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty
In case of deploying of sources or javadoc use -Dclassifier=javadoc or -Dclassifier=sources
