Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2517

Non scoped dependencies are not included in final war but in war.original

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.7.0.Final
    • Component/s: None
    • Labels:
      None
    • Story Points:
      10
    • Steps to Reproduce:
      Hide
      • Clone the repo https://github.com/kiegroup/kie-wb-common for the commit f15bf48a4c96a0e21687ad62f83899203c46b008
      • run `mvn clean install -DskipTests=true -Denforcer.skip=true`
      • check the kie-wb-distributions/business-central-parent/business-central-webapp/target/business-central-webapp.war and compare it with business-central-webapp.war.original

      The netty-handler, netty-codec and netty-codec-http libraries are missing.

      Show
      Clone the repo https://github.com/kiegroup/kie-wb-common for the commit f15bf48a4c96a0e21687ad62f83899203c46b008 run `mvn clean install -DskipTests=true -Denforcer.skip=true` check the kie-wb-distributions/business-central-parent/business-central-webapp/target/business-central-webapp.war and compare it with business-central-webapp.war.original The netty-handler, netty-codec and netty-codec-http libraries are missing.

      Description

      The absence of `<scope>provided</scope>` for org.jboss.errai:errai-bus dependency was causing netty-(handler | codec | codec-http) libraries not be added in the final war generated by thorntail.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lthon Ladislav Thon
                  Reporter:
                  emingora Enrique Mingorance Cano
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: