TheBund1st / daming

Sms verification component for spring boot project
Apache License 2.0
95 stars 20 forks source link

Dependency conflict while using daming in Spring boot 1.5.7RELEASE #22

Closed mimousewu closed 5 years ago

mimousewu commented 5 years ago

The warning message during the ./gradlew clean build

compileJavaErrors occurred while build effective model from /workspace/.gradle/caches/modules-2/files-2.1/com.github.hippoom/sms-verification-core/0.9.5/4651eda5fd9124f49448d1b5b7b81a5ee0fe29e2/sms-verification-core-0.9.5.pom:
    'dependencies.dependency.version' for com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar is missing. in com.github.hippoom:sms-verification-core:0.9.5

Here is the build.gradle dependencies part:

compileOnly "org.projectlombok:lombok"
    testCompileOnly "org.projectlombok:lombok"
    compileOnly 'com.google.code.findbugs:annotations'
    testCompileOnly 'com.google.code.findbugs:annotations'

    // web
    compile "org.springframework.boot:spring-boot-starter-web"
    compile("org.springframework.boot:spring-boot-starter-hateoas")
    compile("org.springframework.boot:spring-boot-starter-actuator")
    compile("org.springframework.cloud:spring-cloud-starter-feign")
    compile group: 'commons-io', name: 'commons-io', version: '2.0.1'

    // security
    compile "org.springframework.boot:spring-boot-starter-security"
    testCompile group: 'org.springframework.security', name: 'spring-security-test', version: '4.2.3.RELEASE'

    // cache
    compile("org.springframework.boot:spring-boot-starter-cache")
    compile("org.springframework.boot:spring-boot-starter-data-redis")
    compile group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '2.6.2'

    // mock server
    testCompile group: 'com.github.tomakehurst', name: 'wiremock-standalone', version: '2.12.0'

    // to mock concrete class
    testCompile("org.hamcrest:hamcrest-all:1.3")
    testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.12'
    testCompile group: 'com.github.hippoom', name: 'test-data-builder', version: '0.4.1'

    // distributed trace
    compile('org.springframework.cloud:spring-cloud-starter-sleuth')
    compile group: 'net.logstash.logback', name: 'logstash-logback-encoder', version: '4.11'

    // e2e test
    testCompile group: 'io.rest-assured', name: 'rest-assured', version: '3.0.7'
    testCompile 'com.jayway.awaitility:awaitility:1.7.0'
    compile group: 'solutions.fluidity', name: 'cascade', version: '1.1'

    // json path
    compile 'com.jayway.jsonpath:json-path:2.4.0'
    compile group: 'net.minidev', name: 'json-smart', version: '2.2.1'

    // poi
    //compile name: 'poi-0.0.2'
    compile files('../libs/poi-0.0.2.jar')
    compile group: 'org.apache.poi', name: 'poi', version: '3.17'
    compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'

    // embedded redis
    testCompile 'com.github.kstyrc:embedded-redis:0.6'

    // pinyin4j
    //compile name: 'pinyin4j-2.5.0'
    compile files('../libs/pinyin4j-2.5.0.jar')
    //compile group: 'net.sourceforge.pinyin4j', name: 'pinyin4j', version: '2.5.0'

    // AWS SQS
    compile('org.springframework.cloud:spring-cloud-starter-aws-messaging')

    // jackson
    compile("org.springframework.boot:spring-boot-starter-json:${springBootVersion}")

    // aliyun sdk
    compile("com.aliyun:aliyun-java-sdk-core:4.0.6")
    compile("com.aliyun:aliyun-java-sdk-dysmsapi:1.1.0")

    // mail
    compile('com.sun.jersey.contribs:jersey-multipart:1.19.4')
    compile('org.springframework.boot:spring-boot-starter-thymeleaf')
    compile group: 'org.springframework.boot', name: 'spring-boot-starter-mail', version: '2.1.3.RELEASE'

    // http://commons.apache.org/proper/commons-beanutils/
    compile('commons-beanutils:commons-beanutils:1.9.3')

    // swagger
    compile('io.springfox:springfox-swagger2:2.7.0')

    // PostgreSQL with jpa
    compile('org.postgresql:postgresql:42.2.5.jre7')
    compile('org.springframework.boot:spring-boot-starter-data-jpa')
    compile('org.hibernate:hibernate-core')
    compile('com.vladmihalcea:hibernate-types-5:2.4.0')

    compile('com.google.guava:guava:23.5-jre')
    compile('org.apache.commons:commons-lang3:3.1')

    // flyway migrate
    compile('org.flywaydb:flyway-core')

    // aliyun email
    compile files('../libs/aliyun-java-sdk-core-3.0.0.jar')
    compile files('../libs/aliyun-java-sdk-dm-3.1.0.jar')

    // peb-aes
    compile('org.jasypt:jasypt:1.9.2')
Hippoom commented 5 years ago

Fixed in 0.9.6