diff --git a/build.gradle b/build.gradle index d61c924..14666ae 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ group = 'com.oisp' buildscript { ext { - springBootVersion = '2.1.2.RELEASE' + springBootVersion = '2.1.5.RELEASE' } repositories { mavenLocal() @@ -61,14 +61,14 @@ pmd { mainClassName = "com.oisp.databackend.Application" sourceCompatibility = 1.8 ext.cdhVersion = "cdh5.16.99" -ext.hbaseVersion = "1.2.12" -ext.hadoopVersion = "2.6.5" +ext.hbaseVersion = "2.0.0" +ext.hadoopVersion = "3.2.1" jar { baseName 'databackend' - manifest { + manifest { attributes "Main-Class": "$mainClassName" - } + } } allprojects { @@ -101,7 +101,7 @@ configurations { dependencies { - compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") {exclude group: "org.apache.logging.log4j"} + compile("org.springframework.boot:spring-boot-starter-web:2.2.0.RELEASE") {exclude group: "org.apache.logging.log4j"} compile("org.springframework.boot:spring-boot-starter-jetty:${springBootVersion}") compile("org.springframework.boot:spring-boot-starter-log4j2:${springBootVersion}") compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.9.8' @@ -110,15 +110,15 @@ dependencies { compile group: 'io.jaegertracing', name: 'jaeger-core', version: '0.31.0' compile group: 'io.jaegertracing', name: 'jaeger-thrift', version: '0.31.0' compile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: "${springBootVersion}" - compile 'io.minio:minio:4.0.2' - compile group: 'org.springframework.kafka', name: 'spring-kafka', version: '2.2.11.RELEASE' + compile 'io.minio:minio:6.0.8' + compile group: 'org.springframework.kafka', name: 'spring-kafka', version: '2.3.0.RELEASE' compile("org.apache.hbase:hbase:$hbaseVersion") compile("org.apache.hbase:hbase-client:$hbaseVersion") compile("org.apache.hbase:hbase-common:$hbaseVersion") compile("org.apache.hadoop:hadoop-common:$hadoopVersion") - + compile("com.cedarsoftware:json-io:3.1.2") compile "org.hamcrest:hamcrest-all:1.3" compile "com.btmatthews.hamcrest:hamcrest-matchers:1.0.1" @@ -131,10 +131,12 @@ dependencies { jar file can be found here: https://repository.cloudera.com/artifactory/repo/org/apache/kafka/kafka-clients/ */ - compile("org.apache.kafka:kafka_2.11:0.10.2-kafka-2.2.0") { + // https://mvnrepository.com/artifact/org.apache.kafka/kafka + compile("org.apache.kafka:kafka_2.12:2.2.1") + { exclude group: "org.apache.zookeeper", module: "zookeeper" } - compile("org.apache.kafka:kafka-clients:0.10.2-kafka-2.2.0") + compile("org.apache.kafka:kafka-clients:2.1.1") /* check the required version in kafka_2.11:0.10.2-kafka-2.2.0 pom.xml https://repository.cloudera.com/cloudera/cloudera-repos/org/apache/kafka/kafka_2.11/0.10.2-kafka-2.2.0/ */ compile("com.101tec:zkclient:0.10") { @@ -143,7 +145,7 @@ dependencies { compile("io.springfox:springfox-swagger2:2.9.2") compile("io.springfox:springfox-swagger-ui:2.9.2") - + testCompile group: 'junit', name: 'junit', version: '4.12' testCompile 'org.testng:testng:6.8.21' testCompile "org.powermock:powermock-api-mockito:1.6.2"