aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-06-14 21:33:43 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-06-15 01:13:47 -0400
commit10dbafc2117ba7b8e0183ac402176e7e815a5280 (patch)
treef588f840a64bebdb00931f19c88c43c2febbac7a
parent62bcf0d5b98e7093c05561b16ccf20b2e5fe4e26 (diff)
downloadcbt-10dbafc2117ba7b8e0183ac402176e7e815a5280.tar.gz
cbt-10dbafc2117ba7b8e0183ac402176e7e815a5280.tar.bz2
cbt-10dbafc2117ba7b8e0183ac402176e7e815a5280.zip
get rid of pomExtra to not promote untyped ways of creating poms (people can always transform the xml later if really needed)
-rw-r--r--stage2/Lib.scala2
-rw-r--r--stage2/PublishBuild.scala2
2 files changed, 0 insertions, 4 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala
index 9f46bd4..71568b5 100644
--- a/stage2/Lib.scala
+++ b/stage2/Lib.scala
@@ -310,7 +310,6 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{
organizationName: String,
organizationUrl: URL,
dependencies: Seq[Dependency],
- pomExtra: Seq[scala.xml.Node],
jarTarget: File
): File = {
val xml =
@@ -351,7 +350,6 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{
<name>{organizationName}</name>
<url>{organizationUrl}</url>
</organization>
- {pomExtra}
<dependencies>
{
dependencies.map{
diff --git a/stage2/PublishBuild.scala b/stage2/PublishBuild.scala
index 9f8265a..208a166 100644
--- a/stage2/PublishBuild.scala
+++ b/stage2/PublishBuild.scala
@@ -14,7 +14,6 @@ abstract class PublishBuild(context: Context) extends PackageBuild(context){
def inceptionYear: Int
def organizationName: String
def organizationUrl: URL
- def pomExtra: Seq[scala.xml.Node] = Seq()
// ========== package ==========
@@ -35,7 +34,6 @@ abstract class PublishBuild(context: Context) extends PackageBuild(context){
organizationName,
organizationUrl,
dependencies = dependencies,
- pomExtra = pomExtra,
jarTarget = jarTarget
)