GeezerVison is showing github.com — Add getting started section · ShettyA/github-maven-example@67605af
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +22Lines changed: 22 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,6 +3,28 @@ This is an example project that uses the [GitHub Maven Plugins](https://github.c |
3 | 3 | See the [POM file](https://github.com/kevinsawicki/github-maven-example/blob/master/example/pom.xml) |
4 | 4 | for how the downloads plugin and site plugin are configured. |
5 | 5 |
|
| 6 | +# Getting started |
| 7 | + |
| 8 | +* Fork this project |
| 9 | +* Update the `pom.xml` file `<url>` element to be the address of your fork |
| 10 | +* Optionally update `<scm>` and `<developers>` section as well to have the information for your fork |
| 11 | +* Add the following to your Maven `settings.xml` file (update with your GitHub login name and password): |
| 12 | + |
| 13 | +```xml |
| 14 | +<profiles> |
| 15 | + <profile> |
| 16 | + <id>github</id> |
| 17 | + <properties> |
| 18 | + <github.global.userName>user</github.global.userName> |
| 19 | + <github.global.password>password</github.global.password> |
| 20 | + </properties> |
| 21 | + </profile> |
| 22 | +</profiles> |
| 23 | + |
| 24 | +<activeProfiles> |
| 25 | + <activeProfile>github</activeProfile> |
| 26 | +</activeProfiles> |
| 27 | +``` |
6 | 28 |
|
7 | 29 | # Using the downloads plugin |
8 | 30 |
|
|