[
https://issues.apache.org/jira/browse/KAFKA-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao resolved KAFKA-1570.
----------------------------
Resolution: Not a Problem
In 0.8.1.1, the build system is moved from sbt to gradle. You can look at
README for the build instruction based on gradle.
> sbt assembly-package-dependency fails with errors
> -------------------------------------------------
>
> Key: KAFKA-1570
> URL: https://issues.apache.org/jira/browse/KAFKA-1570
> Project: Kafka
> Issue Type: Bug
> Components: build
> Affects Versions: 0.8.1.1
> Reporter: Xuri Nagarin
>
> xnag@xnag-linux:~/Downloads/kafka-0.8.1.1-src$ sbt assembly-package-dependency
> [info] Set current project to kafka-0-8-1-1-src (in build
> file:/home/xnag/Downloads/kafka-0.8.1.1-src/)
> [error] Not a valid command: assembly-package-dependency
> [error] Not a valid project ID: assembly-package-dependency
> [error] Expected ':' (if selecting a configuration)
> [error] Not a valid key: assembly-package-dependency (similar: sbt-dependency)
> [error] assembly-package-dependency
> [error] ^
> xnag@xnag-linux:~/Downloads/kafka-0.8.1.1-src$ sbt about
> [info] Set current project to kafka-0-8-1-1-src (in build
> file:/home/xnag/Downloads/kafka-0.8.1.1-src/)
> [info] This is sbt 0.13.5
> [info] The current project is
> {file:/home/xnag/Downloads/kafka-0.8.1.1-src/}kafka-0-8-1-1-src 0.1-SNAPSHOT
> [info] The current project is built against Scala 2.10.4
> [info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin,
> sbt.plugins.CorePlugin, sbt.plugins.JUnitXmlReportPlugin
> [info] sbt, sbt plugins, and build definitions are using Scala 2.10.4
> xnag@xnag-linux:~/Downloads/kafka-0.8.1.1-src$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 12.04.4 LTS
> Release: 12.04
> Codename: precise
> xnag@xnag-linux:~/Downloads/kafka-0.8.1.1-src$ sbt tasks
> [info] Set current project to kafka-0-8-1-1-src (in build
> file:/home/xnag/Downloads/kafka-0.8.1.1-src/)
> This is a list of tasks defined for the current project.
> It does not list the scopes the tasks are defined in; use the 'inspect'
> command for that.
> Tasks produce values. Use the 'show' command to run the task and print the
> resulting value.
> clean Deletes files produced by the build, such as generated
> sources, compiled classes, and task caches.
> compile Compiles sources.
> console Starts the Scala interpreter with the project classes on
> the classpath.
> consoleProject Starts the Scala interpreter with the sbt and the build
> definition on the classpath and useful imports.
> consoleQuick Starts the Scala interpreter with the project dependencies
> on the classpath.
> copyResources Copies resources to the output directory.
> doc Generates API documentation.
> package Produces the main artifact, such as a binary jar. This is
> typically an alias for the task that actually does the packaging.
> packageBin Produces a main artifact, such as a binary jar.
> packageDoc Produces a documentation artifact, such as a jar
> containing API documentation.
> packageSrc Produces a source artifact, such as a jar containing
> sources and resources.
> publish Publishes artifacts to a repository.
> publishLocal Publishes artifacts to the local Ivy repository.
> publishM2 Publishes artifacts to the local Maven repository.
> run Runs a main class, passing along arguments provided on the
> command line.
> runMain Runs the main class selected by the first argument,
> passing the remaining arguments to the main method.
> test Executes all tests.
> testOnly Executes the tests provided as arguments or all tests if
> no arguments are provided.
> testQuick Executes the tests that either failed before, were not run
> or whose transitive dependencies changed, among those provided as arguments.
> update Resolves and optionally retrieves dependencies, producing
> a report.
> More tasks may be viewed by increasing verbosity. See 'help tasks'.
--
This message was sent by Atlassian JIRA
(v6.2#6252)