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

    XMLWordPrintable

Details

    • CR1
    • Workaround Exists
    • Hide

      Compile using also -Denforcer.skip

      Show
      Compile using also -Denforcer.skip
    • 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

    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

      Attachments

        Activity

          People

            eignatow Eder Ignatowicz
            mcimbale@redhat.com Martin Cimbalek
            Marek Winkler Marek Winkler (Inactive)
            Marek Winkler Marek Winkler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: