#Github project parent pom
Parent pom for github maven projects. It contains scm setup according to user and repository name
##Getting Started
-
Add this repository to your pom.xml:
<repository> <id>thenewmotion</id> <name>The New Motion Repository</name> <url>http://nexus.thenewmotion.com/content/repositories/releases-public</url> </repository>
-
Add block to your pom.xml:
<parent> <groupId>com.thenewmotion</groupId> <artifactId>github-parent-pom</artifactId> <version>1.7</version> </parent>
-
Define github.repository and github.user properties in your pom.xml:
<properties> <github.user>your github user</github.user> <github.repository>your github repository (not override to use artificatId) </github.repository> </properties>
-
Put this scm block due to maven bug
<scm> <url>${github.repository.url}</url> <connection>${github.connection}</connection> <developerConnection>${github.connection}</developerConnection> </scm>