aboutsummaryrefslogtreecommitdiff
path: root/project/Helpers.scala
diff options
context:
space:
mode:
Diffstat (limited to 'project/Helpers.scala')
-rw-r--r--project/Helpers.scala16
1 files changed, 16 insertions, 0 deletions
diff --git a/project/Helpers.scala b/project/Helpers.scala
new file mode 100644
index 0000000..4c426be
--- /dev/null
+++ b/project/Helpers.scala
@@ -0,0 +1,16 @@
+import java.net.URL
+
+object Helpers {
+ def generatePomExtra(scmUrl: String, scmConnection: String,
+ developerId: String, developerName: String): xml.NodeSeq =
+ <scm>
+ <url>{ scmUrl }</url>
+ <connection>{ scmConnection }</connection>
+ </scm>
+ <developers>
+ <developer>
+ <id>{ developerId }</id>
+ <name>{ developerName }</name>
+ </developer>
+ </developers>
+} \ No newline at end of file