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

Resolving dependency sources in quickstarts has different behaviour

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: 7.1.0.DR17, 7.1.0.DR18, 7.1.0.DR19, 7.1.0.ER1
    • Fix Version/s: None
    • Component/s: Quickstarts
    • Labels:
      None
    • Target Release:
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      run explicit version directly by invoking

      org.apache.maven.plugins:maven-dependency-plugin:2.10:sources
      
      Show
      run explicit version directly by invoking org.apache.maven.plugins:maven-dependency-plugin:2.10:sources

      Description

      With JBoss EAP 7.1.0.DR16 quickstarts and Maven repository, resolving the dependency sources for quickstarts was mostly successful (all Red Hat dependencies were resolved). Since DR17, the output is like the following:

      [mjurc@tigris app-client]$ mvn dependency:sources
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Build Order:
      [INFO] 
      [INFO] JBoss EAP Quickstart: Quickstart: app-client
      [INFO] JBoss EAP Quickstart: app-client - ejb
      [INFO] JBoss EAP Quickstart: app-client - client-simple
      [INFO] JBoss EAP Quickstart: app-client - ear
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: Quickstart: app-client 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.0.0:sources (default-cli) @ app-client ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    none
      [INFO] 
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: app-client - ejb 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.0.0:sources (default-cli) @ app-client-ejb ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    org.jboss.logging:jboss-logging:jar:sources:3.3.1.Final-redhat-1
      [INFO]    org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec:jar:sources:1.0.0.Final-redhat-1
      [INFO]    org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:sources:1.0.0.Final-redhat-1
      [INFO] 
      [INFO] The following files have NOT been resolved:
      [INFO]    org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec:jar:1.0.0.Final-redhat-1:provided
      [INFO]    org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:1.0.0.Final-redhat-1:provided
      [INFO]    org.jboss.logging:jboss-logging:jar:3.3.1.Final-redhat-1:provided
      [INFO] 
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: app-client - client-simple 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.0.0:sources (default-cli) @ app-client-client-simple ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    org.jboss.logging:jboss-logging:jar:sources:3.3.1.Final-redhat-1
      [INFO]    org.jboss.eap.quickstarts:app-client-ejb:jar:sources:7.1.0.Beta
      [INFO]    org.wildfly:wildfly-naming-client:jar:sources:1.0.0.Beta14-redhat-1
      [INFO]    org.jboss:jboss-ejb-client:jar:sources:4.0.0.Beta25-redhat-1
      [INFO]    org.wildfly.discovery:wildfly-discovery-client:jar:sources:1.0.0.Beta10
      [INFO]    org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:sources:1.0.0.Final-redhat-1
      [INFO]    org.wildfly.security:wildfly-elytron:jar:sources:1.1.0.Beta38-redhat-1
      [INFO]    org.wildfly.client:wildfly-client-config:jar:sources:1.0.0.Beta2
      [INFO]    org.jboss.xnio:xnio-nio:jar:sources:3.5.0.Beta5-redhat-1
      [INFO]    org.jboss.marshalling:jboss-marshalling:jar:sources:2.0.0.Beta6-redhat-1
      [INFO]    org.jboss.marshalling:jboss-marshalling-river:jar:sources:2.0.0.Beta6-redhat-1
      [INFO]    org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:sources:1.0.1.Final-redhat-1
      [INFO]    org.wildfly.common:wildfly-common:jar:sources:1.2.0.Beta10-redhat-1
      [INFO]    org.jboss.remoting:jboss-remoting:jar:sources:5.0.0.Beta20-redhat-1
      [INFO]    org.jboss.xnio:xnio-api:jar:sources:3.5.0.Beta5-redhat-1
      [INFO]    org.wildfly.transaction:wildfly-transaction-client:jar:sources:1.0.0.Beta21
      [INFO] 
      [INFO] The following files have NOT been resolved:
      [INFO]    org.wildfly.transaction:wildfly-transaction-client:jar:1.0.0.Beta21:provided
      [INFO]    org.wildfly.discovery:wildfly-discovery-client:jar:1.0.0.Beta10:provided
      [INFO]    org.wildfly.client:wildfly-client-config:jar:1.0.0.Beta2:provided
      [INFO]    org.wildfly.security:wildfly-elytron:jar:1.1.0.Beta38-redhat-1:provided
      [INFO]    org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.1.Final-redhat-1:provided
      [INFO]    org.wildfly:wildfly-naming-client:jar:1.0.0.Beta14-redhat-1:provided
      [INFO]    org.jboss:jboss-ejb-client:jar:4.0.0.Beta25-redhat-1:provided
      [INFO]    org.jboss.remoting:jboss-remoting:jar:5.0.0.Beta20-redhat-1:provided
      [INFO]    org.jboss.xnio:xnio-nio:jar:3.5.0.Beta5-redhat-1:provided
      [INFO]    org.jboss.marshalling:jboss-marshalling-river:jar:2.0.0.Beta6-redhat-1:provided
      [INFO]    org.jboss.xnio:xnio-api:jar:3.5.0.Beta5-redhat-1:provided
      [INFO]    org.jboss.marshalling:jboss-marshalling:jar:2.0.0.Beta6-redhat-1:provided
      [INFO]    org.wildfly.common:wildfly-common:jar:1.2.0.Beta10-redhat-1:provided
      [INFO]    org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:1.0.0.Final-redhat-1:provided
      [INFO]    org.jboss.eap:wildfly-ejb-client-bom:pom:7.1.0.Beta1-redhat-2:provided
      [INFO]    org.jboss.eap.quickstarts:app-client-ejb:jar:7.1.0.Beta:compile
      [INFO]    org.jboss.logging:jboss-logging:jar:3.3.1.Final-redhat-1:provided
      [INFO] 
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: app-client - ear 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.0.0:sources (default-cli) @ app-client-ear ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    org.jboss.eap.quickstarts:app-client-ejb:jar:sources:7.1.0.Beta
      [INFO]    org.jboss.eap.quickstarts:app-client-client-simple:jar:sources:7.1.0.Beta
      [INFO] 
      [INFO] The following files have NOT been resolved:
      [INFO]    org.jboss.eap.quickstarts:app-client-client-simple:app-client:7.1.0.Beta:compile
      [INFO]    org.jboss.eap.quickstarts:app-client-ejb:ejb:7.1.0.Beta:compile
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] JBoss EAP Quickstart: Quickstart: app-client ....... SUCCESS [  0.426 s]
      [INFO] JBoss EAP Quickstart: app-client - ejb ............. SUCCESS [  0.041 s]
      [INFO] JBoss EAP Quickstart: app-client - client-simple ... SUCCESS [  0.165 s]
      [INFO] JBoss EAP Quickstart: app-client - ear ............. SUCCESS [  0.306 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.603 s
      [INFO] Finished at: 2017-06-21T14:55:15+02:00
      [INFO] Final Memory: 23M/392M
      [INFO] ------------------------------------------------------------------------
      

      For comparison, DR16

      [mjurc@tigris app-client]$ mvn dependency:sources
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Build Order:
      [INFO] 
      [INFO] JBoss EAP Quickstart: Quickstart: app-client
      [INFO] JBoss EAP Quickstart: app-client - ejb
      [INFO] JBoss EAP Quickstart: app-client - client-simple
      [INFO] JBoss EAP Quickstart: app-client - ear
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: Quickstart: app-client 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:2.10:sources (default-cli) @ app-client ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    none
      [INFO] 
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: app-client - ejb 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:2.10:sources (default-cli) @ app-client-ejb ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    org.jboss.logging:jboss-logging:jar:sources:3.3.1.Final-redhat-1:provided
      [INFO]    org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec:jar:sources:1.0.0.Final-redhat-1:provided
      [INFO]    org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:sources:1.0.0.Final-redhat-1:provided
      [INFO] 
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: app-client - client-simple 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:2.10:sources (default-cli) @ app-client-client-simple ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    org.jboss.logging:jboss-logging:jar:sources:3.3.1.Final-redhat-1:provided
      [INFO]    org.jboss.eap.quickstarts:app-client-ejb:jar:sources:7.1.0.Beta:compile
      [INFO]    org.wildfly:wildfly-naming-client:jar:sources:1.0.0.Beta13-redhat-1:provided
      [INFO]    org.wildfly.transaction:wildfly-transaction-client:jar:sources:1.0.0.Beta19:provided
      [INFO]    org.wildfly.discovery:wildfly-discovery-client:jar:sources:1.0.0.Beta10:provided
      [INFO]    org.jboss.marshalling:jboss-marshalling-river:jar:sources:2.0.0.Beta5-redhat-1:provided
      [INFO]    org.jboss:jboss-ejb-client:jar:sources:4.0.0.Beta24-redhat-1:provided
      [INFO]    org.jboss.xnio:xnio-nio:jar:sources:3.5.0.Beta4-redhat-1:provided
      [INFO]    org.wildfly.security:wildfly-elytron:jar:sources:1.1.0.Beta34-redhat-1:provided
      [INFO]    org.wildfly.client:wildfly-client-config:jar:sources:1.0.0.Beta2:provided
      [INFO]    org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:sources:1.0.0.Final-redhat-1:provided
      [INFO]    org.wildfly.common:wildfly-common:jar:sources:1.2.0.Beta9-redhat-1:provided
      [INFO]    org.jboss.marshalling:jboss-marshalling:jar:sources:2.0.0.Beta5-redhat-1:provided
      [INFO]    org.jboss.remoting:jboss-remoting:jar:sources:5.0.0.Beta19-redhat-1:provided
      [INFO]    org.jboss.xnio:xnio-api:jar:sources:3.5.0.Beta4-redhat-1:provided
      [INFO]    org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:sources:1.0.1.Final-redhat-1:provided
      [INFO] 
      [INFO] The following files have NOT been resolved:
      [INFO]    org.jboss.eap:wildfly-ejb-client-bom:pom:sources:7.1.0.Beta1-redhat-1:provided
      [INFO] 
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: app-client - ear 7.1.0.Beta
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:2.10:sources (default-cli) @ app-client-ear ---
      [INFO] 
      [INFO] The following files have been resolved:
      [INFO]    org.jboss.eap.quickstarts:app-client-ejb:ejb:sources:7.1.0.Beta:compile
      [INFO]    org.jboss.eap.quickstarts:app-client-client-simple:app-client:sources:7.1.0.Beta:compile
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] JBoss EAP Quickstart: Quickstart: app-client ....... SUCCESS [  0.522 s]
      [INFO] JBoss EAP Quickstart: app-client - ejb ............. SUCCESS [  0.027 s]
      [INFO] JBoss EAP Quickstart: app-client - client-simple ... SUCCESS [  0.123 s]
      [INFO] JBoss EAP Quickstart: app-client - ear ............. SUCCESS [  0.303 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.775 s
      [INFO] Finished at: 2017-06-21T14:52:16+02:00
      [INFO] Final Memory: 22M/308M
      [INFO] ------------------------------------------------------------------------
      

      This behaviour change affects all the quickstarts.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mjurc Michal Jurc
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: