[
https://issues.apache.org/jira/browse/KAFKA-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628350#comment-13628350
]
Dragos Manolescu commented on KAFKA-826:
----------------------------------------
Jun, I understand what you're after. The sbt-assembly task lists the JARs it
packages together when executed:
> assembly-package-dependency
[info] Including metrics-core-2.2.0.jar
[info] Including metrics-annotation-2.2.0.jar
[info] Including snappy-java-1.0.4.1.jar
[info] Including slf4j-api-1.7.2.jar
[info] Including log4j-1.2.15.jar
[info] Including zkclient-0.2.jar
[info] Including scala-compiler.jar
[info] Including zookeeper-3.3.4.jar
[info] Including slf4j-simple-1.6.4.jar
[info] Including scala-library.jar
[info] Including jopt-simple-3.2.jar
Following the execution of the update task these JARs will be available from
the ivy cache (rather than the target folder, which if my understanding is
correct holds only artifacts generated while compiling and building).
I am not aware of a mechanism to have sbt-assembly place the dependencies in
the target folder. As plugins like sbt-assembly, sbt-proguard, sbt-onejar and
others indicate fat JARs are the typical packaging mechanism for releasing JVM
bytecode.
> Make Kafka 0.8 depend on metrics 2.2.0 instead of 3.x
> -----------------------------------------------------
>
> Key: KAFKA-826
> URL: https://issues.apache.org/jira/browse/KAFKA-826
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8
> Reporter: Neha Narkhede
> Assignee: Dragos Manolescu
> Priority: Blocker
> Labels: build, kafka-0.8, metrics
> Attachments: kafka-fix-for-826-complete.patch,
> kafka-fix-for-826.patch, kafka-fix-for-826-take2.patch
>
>
> In order to mavenize Kafka 0.8, we have to depend on metrics 2.2.0 since
> metrics 3.x is a huge change as well as not an officially supported release.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira