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

David Arthur commented on KAFKA-1171:
-------------------------------------

Figured out the POM thing finally.

After Google utterly failed me, I started looking at Netflix OSS (big Gradle 
users) and see what they are doing different. I came across the following 
tidbit in Archaius 
https://github.com/Netflix/archaius/blob/master/gradle/maven.gradle#L3

{code}
apply plugin: 'maven' // Java plugin has to have been already applied for the 
conf2scope mappings to work
{code}

I added " {{apply plugin: 'java'}} " to the subprojects declaration and now I 
see a fully populated POM in my Nexus repo. My local state is pretty messed up 
at the moment, so I'll have to wait until tomorrow evening to generate a new 
patch - or someone else can do it.

One step closer...

> 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, kafka-1171_v6.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)

Reply via email to