Created
June 19, 2012 10:35
-
-
Save yuanmai/2953449 to your computer and use it in GitHub Desktop.
Maven Repo without Nexus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn -DaltDeploymentRepository=release-repo::default::file:local-path/releases clean deploy | |
mvn -DaltDeploymentRepository=snapshot-repo::default::file:local-path/snapshots clean deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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