To deploy to a local Maven file based repo, use the following command: mvn deploy -DaltDeploymentRepository=snapshot-repo::default::file:/path-to-your-repo/test-repo