kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject [33/40] git commit: KAFKA-944 fixing up for release pom output from publish and publish-local is not accurate
Date Thu, 11 Jul 2013 06:37:43 GMT
KAFKA-944 fixing up for release pom output from publish and publish-local is not accurate


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/7b43f013
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/7b43f013
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/7b43f013

Branch: refs/heads/trunk
Commit: 7b43f0132ce93a231b21e943d665ec4227f67b6b
Parents: 0a8716f
Author: Joe Stein <joestein@Joes-MacBook-Air.local>
Authored: Wed Jun 19 23:01:26 2013 -0400
Committer: Joe Stein <joestein@Joes-MacBook-Air.local>
Committed: Wed Jun 19 23:01:26 2013 -0400

----------------------------------------------------------------------
 project/Build.scala | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/7b43f013/project/Build.scala
----------------------------------------------------------------------
diff --git a/project/Build.scala b/project/Build.scala
index 9893556..bad93db 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -26,11 +26,26 @@ object KafkaBuild extends Build {
   val buildNumber = SettingKey[String]("build-number", "Build number defaults to $BUILD_NUMBER
environment variable")
   val releaseName = SettingKey[String]("release-name", "the full name of this release")
   val commonSettings = Seq(
-    organization := "org.apache",
+    organization := "org.apache.kafka",
+    pomExtra :=
+<parent>
+  <groupId>org.apache</groupId>
+  <artifactId>apache</artifactId>
+  <version>10</version>
+</parent>    
+<licenses>
+  <license>
+    <name>Apache 2</name>
+    <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+    <distribution>repo</distribution>
+  </license>
+</licenses>,
     scalacOptions ++= Seq("-deprecation", "-unchecked", "-g:none"),
     crossScalaVersions := Seq("2.8.0","2.8.2", "2.9.1", "2.9.2"),
     scalaVersion := "2.8.0",
     version := "0.8.0-beta1",
+    publishTo := Some("Apache Maven Repo" at "https://repository.apache.org/service/local/staging/deploy/maven2"),
+    credentials += Credentials(Path.userHome / ".m2" / ".credentials"),
     buildNumber := System.getProperty("build.number", ""),
     version <<= (buildNumber, version)  { (build, version)  => if (build == "")
version else version + "+" + build},
     releaseName <<= (name, version, scalaVersion) {(name, version, scalaVersion) =>
name + "_" + scalaVersion + "-" + version},


Mime
View raw message