antlr/antlr4 — pull request #681 by steinwaywhw (2014-08-12 20:40:33+00:00)
Title: Add support for Github based maven repo

Hi, I added support for using Github as a Maven repo as suggested [here (please read me)](http://stackoverflow.com/questions/14013644/hosting-a-maven-repository-on-github).

After you merge the request, you need to do the followings.

#### Adding Github Authentication
Add the following code to your `~/.m2/settings.xml`. The id `github` is used by `github` in `pom.xml`. The password is used to commit artifacts to github repository.

```

github
YOUR-USERNAME
YOUR-PASSWORD

```

#### Deploy
Run `mvn clean deploy` to deploy artifacts into Github `mvn-repo` branch.

#### Reference the Repo
Users need to add the following code to reference this repo

In Maven
```

antlr4-mvn-repo
https://raw.github.com/antlr/antlr4/mvn-repo/

true
always

```

In Gradle
```
maven {
url "https://raw.github.com/antlr/antlr4/mvn-repo/"
}
```