Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1757

uberfire-parent compilation from provided sources.zip fails on enforcer rules violation

    Details

    • Affects Build:
      CR1
    • Steps to Reproduce:
      Hide
      1. Download sources.zip [1]
      2. Unpack uberfire-parent
      3. Compile using
        mvn -B -Dmaven.repo.local=/tmp/.m2 clean verify -DskipTests -Drevapi.skip
        

      [1] http://rcm-guest.app.eng.bos.redhat.com/rcm-guest/staging/rhpam/RHPAM-7.2.0.CR1/rhpam-7.2.0-sources.zip

      Show
      Download sources.zip [1] Unpack uberfire-parent Compile using mvn -B -Dmaven.repo.local=/tmp/.m2 clean verify -DskipTests -Drevapi.skip [1] http://rcm-guest.app.eng.bos.redhat.com/rcm-guest/staging/rhpam/RHPAM-7.2.0.CR1/rhpam-7.2.0-sources.zip
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Compile using also -Denforcer.skip

      Show
      Compile using also -Denforcer.skip

      Description

      Uberfire-parent compilation from provided sources.zip [1] fails on enforcer rules violation. More specifically on illegal transitive type dependencies. See attachment for full log or visit [2].
      Search for '[error] found' in the log.

      First error stacktrace:

      [ERROR] Found 8 illegal transitive type dependencies in artifact 'org.uberfire:uberfire-api:jar:2.11.0.Final-redhat-00001':
      1.) jsinterop.annotations.JsFunction
      2.) jsinterop.annotations.JsIgnore
      3.) jsinterop.annotations.JsMethod
      4.) jsinterop.annotations.JsType
      5.) org.jboss.errai.common.client.api.Assert
      6.) org.jboss.errai.common.client.api.annotations.MapsTo
      7.) org.jboss.errai.common.client.api.annotations.Portable
      8.) org.jboss.errai.common.client.dom.HTMLElement
      

      Number of such errors: 24

      [1] http://rcm-guest.app.eng.bos.redhat.com/rcm-guest/staging/rhpam/RHPAM-7.2.0.CR1/rhpam-7.2.0-sources.zip
      [2] https://rhba-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/BxMS/job/RHPAM-7.2-brew/job/baseline/job/blessed-sources-check-compilation-baseline/lastCompletedBuild/artifact/build-uberfire-parent.log

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ederign Eder Ignatowicz
                Reporter:
                mcimbale Martin Cimbalek
                Tester:
                Marek Winkler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: