Skip to content

Instantly share code, notes, and snippets.

@yuanmai
Created June 19, 2012 10:35
Show Gist options
  • Save yuanmai/2953449 to your computer and use it in GitHub Desktop.
Save yuanmai/2953449 to your computer and use it in GitHub Desktop.
Maven Repo without Nexus
mvn -DaltDeploymentRepository=release-repo::default::file:local-path/releases clean deploy
mvn -DaltDeploymentRepository=snapshot-repo::default::file:local-path/snapshots clean deploy
<distributionManagement>
<repository>
<id>repo</id>
<url>https://host/releases</url>
</repository>
<snapshotRepository>
<id>snapshot-repo</id>
<url>https://host/snapshots</url>
</snapshotRepository>
</distributionManagement>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment