Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1678

Cleanup transitive dependency errors

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 2.12.0.Final
    • None
    • None
    • None

    Description

      Unlike other kiegroup projects, appformer has enforce-direct-dependencies check from maven-enforcer-plugin disabled. Apart from spamming build console with errors like [1], not declaring transitive dependencies directly causes a lot of issues while building modules individually (as their transitive dependencies are missing) and when writing integration tests (e.g. missing transitive makes it hard to make CDI tests work).

      The goal of this task is to fix all transitive dependency errors and enable the enforcer check so the issues are caught by PR jobs and prevented automatically.

      [1]

      [ERROR] Found 3 illegal transitive type dependencies in artifact 'org.uberfire:uberfire-wires-bayesian-network-client:jar:2.11.0-SNAPSHOT':
      1.) org.gwtbootstrap3.client.ui.PanelCollapse
      2.) org.gwtbootstrap3.client.ui.PanelGroup
      3.) org.gwtbootstrap3.client.ui.PanelHeader
      

      Attachments

        Activity

          People

            jhrcek Jan Hrcek (Inactive)
            jhrcek Jan Hrcek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: