Maven 2 maven-deploy-plugin:deploy-file Goal You can deploy files using the "deploy-file" goal on the Maven deploy plugin. Example without a pom file: mvn deploy:deploy-file -DgroupId=com.somecompany -DartifactId=project -Dversion=1.0.0 -DgeneratePom=true -Dpackaging=jar -DrepositoryId=nexus -Durl=http://localhost:8081/repository/maven-releases -Dfile=target/project-1.0.0.jar With a pom file: mvn