You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Arthur (JIRA)" <ji...@apache.org> on 2014/02/05 01:06:18 UTC

[jira] [Comment Edited] (KAFKA-1171) Gradle build for Kafka

    [ https://issues.apache.org/jira/browse/KAFKA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891472#comment-13891472 ] 

David Arthur edited comment on KAFKA-1171 at 2/5/14 12:05 AM:
--------------------------------------------------------------

Jun, that's fine. I added the subproject name because it was causing a conflict when publishing to Nexus since our artifact pattern is just kafka-$\{scalaVersion\} - so "perf" and "core" were producing the same artifact. It does appear that we publish "kafka", "kafka-perf", and "contrib" artifacts to Maven Central.

If keeping the name consistent with 0.8.0 is important, then we can do some scripting in the build to achieve this, but otherwise it's simpler to add the subproject name to the artifact.

On a related note, are there plans to split the artifacts up into core, server, and client? Maybe after [~jkreps]'s client refactoring?


was (Author: mumrah):
Jun, that's fine. I added the subproject name because it was causing a conflict when publishing to Nexus since our artifact pattern is just kafka-${scalaVersion} - so "perf" and "core" were producing the same artifact. It does appear that we publish "kafka", "kafka-perf", and "contrib" artifacts to Maven Central.

If keeping the name consistent with 0.8.0 is important, then we can do some scripting in the build to achieve this, but otherwise it's simpler to add the subproject name to the artifact.

On a related note, are there plans to split the artifacts up into core, server, and client? Maybe after [~jkreps]'s client refactoring?

> Gradle build for Kafka
> ----------------------
>
>                 Key: KAFKA-1171
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1171
>             Project: Kafka
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: David Arthur
>            Assignee: David Arthur
>         Attachments: 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, kafka-1171_v10.patch, kafka-1171_v11.patch, kafka-1171_v6.patch, kafka-1171_v7.patch, kafka-1171_v8.patch, kafka-1171_v9.patch
>
>
> We have previously discussed moving away from SBT to an easier-to-comprehend-and-debug build system such as Ant or Gradle. I put up a patch for an Ant+Ivy build a while ago[1], and it sounded like people wanted to check out Gradle as well.
> 1. https://issues.apache.org/jira/browse/KAFKA-855



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)