Hosting a Maven Repository on GitHub

Follow the tutorial on http://cemerick.com/2010/08/24/hosting-maven-repos-on-github/


To release to your local repo:
mvn -DaltDeploymentRepository=snapshot-repo::default::file:/Users/$USER/dev/maven-repo/releases clean deploy
mvn -DaltDeploymentRepository=snapshot-repo::default::file:/Users/$USER/dev/maven-repo/snapshots clean deploy

 

After pushing an actualy X.Y.Z.RELEASE version, run the following from maven-repo/releases:

mvn archetype:crawl -Dcatalog=./archetype-catalog.xml -Drepository=./

 

Adding to STS

Add releases repository to STS: https://github.com/dwelch2344/maven-repo/raw/master/releases