Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14394

(7.1.z) ELY-1533 - Prevent SNAPSHOT versions of json-smart from being downloaded when building Elytron

    XMLWordPrintable

    Details

      Description

      Current output when building:

      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building WildFly Elytron 1.2.2.Final
      [INFO] ------------------------------------------------------------------------
      Downloading from central: https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml
      Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-smart/maven-metadata.xml
      Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
      Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-smart/maven-metadata.xml (313 B at 519 B/s)
      Downloaded from central: https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml (849 B at 693 B/s)
      Downloaded from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml (849 B at 611 B/s)
      Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/2.3-SNAPSHOT/maven-metadata.xml
      Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-smart/2.3-SNAPSHOT/maven-metadata.xml
      Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-smart/2.3-SNAPSHOT/maven-metadata.xml (1.2 kB at 3.2 kB/s)
      Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/minidev-parent/2.3-SNAPSHOT/maven-metadata.xml
      Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/minidev-parent/2.3-SNAPSHOT/maven-metadata.xml
      Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/minidev-parent/2.3-SNAPSHOT/maven-metadata.xml (598 B at 2.1 kB/s)
      Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/accessors-smart/1.2-SNAPSHOT/maven-metadata.xml
      Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/accessors-smart/1.2-SNAPSHOT/maven-metadata.xml
      Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/accessors-smart/1.2-SNAPSHOT/maven-metadata.xml (1.2 kB at 4.2 kB/s)
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.0.2:tree (default-cli) @ wildfly-elytron ---
      [INFO] org.wildfly.security:wildfly-elytron:jar:1.2.2.Final
      [INFO] +- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile
      [INFO] +- org.jboss.logging:jboss-logging-annotations:jar:2.1.0.Final:provided
      [INFO] +- org.jboss.logging:jboss-logging-processor:jar:2.1.0.Final:provided
      [INFO] |  \- org.jboss.jdeparser:jdeparser:jar:2.0.2.Final:provided
      [INFO] +- org.jboss.logmanager:jboss-logmanager:jar:2.0.6.Final:provided
      [INFO] +- org.jboss.modules:jboss-modules:jar:1.6.0.Final:provided (optional) 
      [INFO] +- org.kohsuke.metainf-services:metainf-services:jar:1.7:provided (optional) 
      [INFO] +- org.wildfly.client:wildfly-client-config:jar:1.0.0.Final:provided
      [INFO] +- org.wildfly.common:wildfly-common:jar:1.2.0.Final:compile
      [INFO] +- org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.5_spec:jar:1.0.1.Final:provided
      [INFO] |  \- org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:provided
      [INFO] +- org.jboss.spec.javax.json:jboss-json-api_1.0_spec:jar:1.0.0.Final:provided
      [INFO] +- org.jboss.threads:jboss-threads:jar:2.2.1.Final:provided
      [INFO] +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M23:test
      [INFO] |  +- org.apache.directory.api:api-i18n:jar:1.0.0-M23:test
      [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.7:test
      [INFO] +- org.apache.directory.api:api-asn1-ber:jar:1.0.0-M23:test
      [INFO] |  \- org.apache.directory.api:api-util:jar:1.0.0-M23:test
      [INFO] +- org.apache.directory.api:api-ldap-codec-core:jar:1.0.0-M23:test
      [INFO] |  +- org.apache.mina:mina-core:jar:2.0.7:test
      [INFO] |  +- commons-lang:commons-lang:jar:2.6:test
      [INFO] |  \- commons-collections:commons-collections:jar:3.2.1:test
      [INFO] +- org.apache.directory.api:api-ldap-codec-standalone:jar:1.0.0-M23:test
      [INFO] |  +- org.apache.directory.api:api-ldap-net-mina:jar:1.0.0-M23:test
      [INFO] |  \- org.apache.directory.api:api-ldap-extras-codec:jar:1.0.0-M23:test
      [INFO] +- org.apache.directory.api:api-ldap-extras-codec-api:jar:1.0.0-M23:test
      [INFO] +- org.apache.directory.api:api-ldap-model:jar:1.0.0-M23:test
      [INFO] |  \- antlr:antlr:jar:2.7.7:test
      [INFO] +- org.apache.directory.jdbm:apacheds-jdbm1:jar:2.0.0-M2:test
      [INFO] +- org.apache.directory.server:apacheds-core-api:jar:2.0.0-M17:test
      [INFO] |  +- commons-io:commons-io:jar:2.4:test
      [INFO] |  +- org.apache.directory.server:apacheds-core-constants:jar:2.0.0-M17:test
      [INFO] |  +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M17:test
      [INFO] |  +- org.apache.directory.api:api-ldap-client-api:jar:1.0.0-M23:test
      [INFO] |  |  \- commons-pool:commons-pool:jar:1.6:test
      [INFO] |  +- org.apache.directory.api:api-ldap-extras-aci:jar:1.0.0-M23:test
      [INFO] |  +- org.apache.directory.api:api-ldap-extras-util:jar:1.0.0-M23:test
      [INFO] |  +- org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-M23:test
      [INFO] |  \- net.sf.ehcache:ehcache-core:jar:2.4.4:test
      [INFO] +- org.apache.directory.server:apacheds-core-annotations:jar:2.0.0-M17:test
      [INFO] |  +- org.apache.directory.server:apacheds-core:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-admin:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-authn:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-number:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-authz:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-changelog:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-collective:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-event:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-exception:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-journal:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-normalization:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-operational:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-referral:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-schema:jar:2.0.0-M17:test
      [INFO] |  |  +- org.apache.directory.server:apacheds-interceptors-subtree:jar:2.0.0-M17:test
      [INFO] |  |  \- org.apache.directory.server:apacheds-interceptors-trigger:jar:2.0.0-M17:test
      [INFO] |  |     \- org.apache.directory.api:api-ldap-extras-trigger:jar:1.0.0-M23:test
      [INFO] |  +- org.apache.directory.server:apacheds-core-shared:jar:2.0.0-M17:test
      [INFO] |  +- org.apache.directory.server:apacheds-ldif-partition:jar:2.0.0-M17:test
      [INFO] |  +- org.apache.directory.server:apacheds-jdbm-partition:jar:2.0.0-M17:test
      [INFO] |  |  \- org.apache.directory.server:apacheds-core-avl:jar:2.0.0-M17:test
      [INFO] |  +- org.apache.directory.server:apacheds-xdbm-partition:jar:2.0.0-M17:test
      [INFO] |  \- org.apache.directory.server:apacheds-mavibot-partition:jar:2.0.0-M17:test
      [INFO] +- org.apache.directory.server:apacheds-interceptor-kerberos:jar:2.0.0-M17:test
      [INFO] +- org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M17:test
      [INFO] +- org.apache.directory.server:apacheds-protocol-kerberos:jar:2.0.0-M17:test
      [INFO] |  \- org.apache.directory.server:apacheds-protocol-shared:jar:2.0.0-M17:test
      [INFO] +- org.apache.directory.server:apacheds-protocol-ldap:jar:2.0.0-M17:test
      [INFO] |  +- org.apache.directory.api:api-ldap-extras-sp:jar:1.0.0-M23:test
      [INFO] |  \- bouncycastle:bcprov-jdk15:jar:140:test
      [INFO] +- org.apache.directory.mavibot:mavibot:jar:1.0.0-M5:test
      [INFO] +- org.jboss.logmanager:log4j-jboss-logmanager:jar:1.1.4.Final:test
      [INFO] +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.0.3.GA:test
      [INFO] +- junit:junit:jar:4.12:test
      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
      [INFO] +- org.jmockit:jmockit:jar:1.33:test
      [INFO] +- org.hsqldb:hsqldb:jar:2.4.0:test
      [INFO] +- org.glassfish:javax.json:jar:1.0.4:test
      [INFO] +- com.nimbusds:nimbus-jose-jwt:jar:4.39.2:test
      [INFO] |  +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:test
      [INFO] |  \- net.minidev:json-smart:jar:2.3:test (version selected from constraint [1.3.1,2.3])
      [INFO] |     \- net.minidev:accessors-smart:jar:1.2:test
      [INFO] |        \- org.ow2.asm:asm:jar:5.0.4:test
      [INFO] \- com.squareup.okhttp3:mockwebserver:jar:3.8.1:test
      [INFO]    +- com.squareup.okhttp3:okhttp:jar:3.8.1:test
      [INFO]    |  \- com.squareup.okio:okio:jar:1.13.0:test
      [INFO]    \- org.bouncycastle:bcprov-jdk15on:jar:1.50:test
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4.935 s
      [INFO] Finished at: 2018-03-01T09:10:19-08:00
      [INFO] Final Memory: 22M/187M
      [INFO] ------------------------------------------------------------------------
      

      The problematic part above is from the [1.3.1,2.3] range for json-smart:

      [INFO] +- com.nimbusds:nimbus-jose-jwt:jar:4.39.2:test
      [INFO] |  +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:test
      [INFO] |  \- net.minidev:json-smart:jar:2.3:test (version selected from constraint [1.3.1,2.3])
      

      To fix this, we need to exclude json-smart from nimbus-jose-jwt and add an explicit dependency on it.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ivassile Ilia Vassilev
                  Reporter:
                  ivassile Ilia Vassilev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: