tag | 223ac42a7a2a0dab378cc411f4938a9cea1eb7ea | |
---|---|---|
tagger | Jun Rao <junrao@gmail.com> | Wed Jan 28 22:18:02 2015 -0600 |
object | 7130da90a9ee9e6fb4beb2a2a6ab05c06c9bfac4 |
For 0.8.2.0 release.
commit | 7130da90a9ee9e6fb4beb2a2a6ab05c06c9bfac4 | [log] [tgz] |
---|---|---|
author | Manikumar Reddy <manikumar.reddy@gmail.com> | Wed Jan 28 19:39:56 2015 -0600 |
committer | Jun Rao <junrao@gmail.com> | Wed Jan 28 19:39:56 2015 -0600 |
tree | d068b84174b81b5bdaacaafadc9efaee798df4a4 | |
parent | 96ce96dc959dd827ae1f70a17e89e05b91b6ba58 [diff] |
KAFKA-1861; Publishing kafka-client:test in order to utilize the helper utils in TestUtils; patched by Manikumar Reddy; reviewed by Jun Rao
See our web site for details on the project.
You need to have gradle installed.
cd kafka_source_dir gradle
Now everything else will work
./gradlew jar
Follow instuctions in http://kafka.apache.org/documentation.html#quickstart
./gradlew srcJar
./gradlew javadoc ./gradlew javadocJar # builds a jar from the javadocs ./gradlew scaladoc ./gradlew scaladocJar # builds a jar from the scaladocs ./gradlew docsJar # builds both javadoc and scaladoc jar
./gradlew test
./gradlew cleanTest test
./gradlew -Dtest.single=RequestResponseSerializationTest core:test
change the log4j setting in either clients/src/test/resources/log4j.properties or core/src/test/resources/log4j.properties ./gradlew -i -Dtest.single=RequestResponseSerializationTest core:test
./gradlew clean ./gradlew releaseTarGz The above command will fail if you haven't set up the signing key. To bypass signing the artifact, you can run ./gradlew releaseTarGz -x signArchives
The release file can be found inside ./core/build/distributions/.
./gradlew clean
./gradlew -PscalaVersion=2.9.1 jar ./gradlew -PscalaVersion=2.9.1 test ./gradlew -PscalaVersion=2.9.1 releaseTarGz
This is for ‘core’, ‘contrib:hadoop-consumer’, ‘contrib:hadoop-producer’, ‘examples’ and ‘clients’ ./gradlew core:jar ./gradlew core:test
./gradlew tasks
./gradlew eclipse ./gradlew idea
./gradlew jarAll
./gradlew testAll
./gradlew releaseTarGzAll
./gradlew uploadArchivesAll
Please note for this to work you should create/update ~/.gradle/gradle.properties
and assign the following variables
mavenUrl= mavenUsername= mavenPassword= signing.keyId= signing.password= signing.secretKeyRingFile=
./gradlew testJar
./gradlew core:dependencies --configuration runtime
Apache Kafka is interested in building the community; we would welcome any thoughts or patches. You can reach us on the Apache mailing lists.
To contribute follow the instructions here:
We also welcome patches for the website and documentation which can be found here: