Skip to content

Do NOT include compilation dependencies in production jar #13745

@codeconsole

Description

@codeconsole

Amongst other things, javax.servlet is being bundled in the production jar/war. This is supposed to be provided by the container and adds an extra 30MB++ dependency to the final distribution. api is NOT a replacement for provided

Numerous dependencies should not be part of the final build:

    95505  10-10-2024 05:33   BOOT-INF/lib/javax.servlet-api-4.0.1.jar
   141302  10-09-2024 06:27   BOOT-INF/lib/ant-junit-1.10.14.jar
   384581  10-09-2024 06:16   BOOT-INF/lib/junit-4.13.2.jar
    78743  10-11-2024 06:28   BOOT-INF/lib/javax.el-api-3.0.1-b06.jar
   237335  10-10-2024 05:33   BOOT-INF/lib/javax.el-3.0.1-b12.jar
   792399  10-10-2024 05:33   BOOT-INF/lib/spring-test-5.3.39.jar
    15071  10-10-2024 05:33   BOOT-INF/lib/jta-1.1.jar
    82803  10-10-2024 05:31   BOOT-INF/lib/groovy-ant-3.0.21.jar
  2303167  10-09-2024 06:27   BOOT-INF/lib/ant-1.10.14.jar
    18871  10-09-2024 06:27   BOOT-INF/lib/ant-launcher-1.10.14.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions