Combine project info into ModuleInfo

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/e37c29a5
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/e37c29a5
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/e37c29a5

Branch: refs/heads/master
Commit: e37c29a55f3f20a56f8dd6ec0c5fd2791f98a3b1
Parents: f0784da
Author: Matt Sicker <boa...@gmail.com>
Authored: Fri Mar 30 18:57:47 2018 -0500
Committer: Matt Sicker <boa...@gmail.com>
Committed: Fri Mar 30 18:57:47 2018 -0500

----------------------------------------------------------------------
 build.sbt | 42 +++++++++++++++++++-----------------------
 1 file changed, 19 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/e37c29a5/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index 39f8ac7..b91cbb0 100644
--- a/build.sbt
+++ b/build.sbt
@@ -21,35 +21,31 @@ 
enablePlugins(org.apache.logging.log4j.scala.sbt.copyresources.CopyResourcesPlug
 
 lazy val metadataSettings = Seq(
   organization := "org.apache.logging.log4j",
-  organizationName := "Apache Software Foundation",
-  organizationHomepage := Some(url("https://www.apache.org/";)),
-  homepage := Some(url("https://logging.apache.org/log4j/scala/";)),
-  licenses := Seq("Apache License, Version 2.0" -> 
url("https://www.apache.org/licenses/LICENSE-2.0.txt";)),
-  scmInfo := Some(ScmInfo(
-    
url("https://git-wip-us.apache.org/repos/asf?p=logging-log4j-scala.git;a=summary";),
-    "scm:git:http://git-wip-us.apache.org/repos/asf/logging-log4j-scala.git";,
-    "scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j-scala.git";
-  )),
+  projectInfo := ModuleInfo(
+    nameFormal = "Apache Log4j Scala API",
+    description = "Scala logging API facade for Log4j",
+    homepage = Some(url("https://logging.apache.org/log4j/scala/";)),
+    startYear = Some(2016),
+    licenses = Vector("Apache License, Version 2.0" -> 
url("https://www.apache.org/licenses/LICENSE-2.0.txt";)),
+    organizationName = "Apache Software Foundation",
+    organizationHomepage = Some(url("https://www.apache.org/";)),
+    scmInfo = Some(ScmInfo(
+      
url("https://git-wip-us.apache.org/repos/asf?p=logging-log4j-scala.git;a=summary";),
+      "scm:git:http://git-wip-us.apache.org/repos/asf/logging-log4j-scala.git";,
+      "scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j-scala.git";
+    )),
+    developers = Vector(
+      Developer("mikes", "Mikael Ståldal", "mi...@apache.org", null),
+      Developer("mattsicker", "Matt Sicker", "mattsic...@apache.org", null),
+      Developer("ggregory", "Gary Gregory", "ggreg...@apache.org", null)
+    )
+  ),
   pomExtra := {
     <parent>
       <groupId>org.apache.logging</groupId>
       <artifactId>logging-parent</artifactId>
       <version>2</version>
     </parent>
-    <developers>
-      <developer>
-        <id>mikes</id>
-        <name>Mikael Ståldal</name>
-      </developer>
-      <developer>
-        <id>mattsicker</id>
-        <name>Matt Sicker</name>
-      </developer>
-      <developer>
-        <id>ggregory</id>
-        <name>Gary Gregory</name>
-      </developer>
-    </developers>
   }
 )
 

Reply via email to