aboutsummaryrefslogtreecommitdiff
path: root/stage2/plugins/GithubPom.scala
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2016-06-19 16:31:47 -0400
committerGitHub <noreply@github.com>2016-06-19 16:31:47 -0400
commitbb856040475cc15fe0754a52428375bd36f8b782 (patch)
tree3fe563f8596b49a136e12dfd693f7b21c0afc90d /stage2/plugins/GithubPom.scala
parent9596983505f1e0d2e4c582e1c23f04e35b42fde1 (diff)
parent32691b7908150970344a5c3a5c58fef9dec0a6ac (diff)
downloadcbt-bb856040475cc15fe0754a52428375bd36f8b782.tar.gz
cbt-bb856040475cc15fe0754a52428375bd36f8b782.tar.bz2
cbt-bb856040475cc15fe0754a52428375bd36f8b782.zip
Merge pull request #150 from cvogt/chris2
various changes
Diffstat (limited to 'stage2/plugins/GithubPom.scala')
-rw-r--r--stage2/plugins/GithubPom.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/stage2/plugins/GithubPom.scala b/stage2/plugins/GithubPom.scala
new file mode 100644
index 0000000..8b11385
--- /dev/null
+++ b/stage2/plugins/GithubPom.scala
@@ -0,0 +1,11 @@
+package cbt
+import java.net.URL
+trait GithubPom extends Publish{
+ def user: String
+ def githubProject = name
+ def githubUser = user
+ final def githubUserProject = githubUser ++ "/" ++ githubProject
+ override def url = new URL(s"http://github.com/$githubUserProject")
+ override def scmUrl = s"git@github.com:$githubUserProject.git"
+ override def scmConnection = s"scm:git:$scmUrl"
+}