Skip to content

Conversation

@jayendrap
Copy link
Contributor

What changes were proposed in this pull request?

Removed jsp-api jar file dependency from webapp and main pom. If the jsp-api jar gets pulled from any other dependency transitively, then excluding it from getting packaged in the war file.

How was this patch tested?

  • Checked the war file, jsp-api jar isn't included.
  • Atlas UI comes up fine, login/logout functionality works properly, entity creation and search functionality works as expected

</manifest>
</archive>
<packagingExcludes>WEB-INF/lib/dom4j-*.jar,${packages.to.exclude}</packagingExcludes>
<packagingExcludes>WEB-INF/lib/dom4j-*.jar,WEB-INF/lib/jsp-api*.jar,${packages.to.exclude}</packagingExcludes>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it still required to exclude?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is required because jsp-api jar still gets transitively included from hadoop-common dependency.
We can explicitly exclude from hadoop-common, but I would still keep this exclude, so that if any other dependency pulls jsp-api, then it doesn't gets bundled in final war file.

@pinal-shah pinal-shah merged commit 928a378 into apache:master Jan 16, 2026
1 check passed
pinal-shah pushed a commit that referenced this pull request Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants