Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excluding transitive dependency to log4j2 2.17.0 #27

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

pmauduit
Copy link
Member

@pmauduit pmauduit commented Jun 7, 2024

See georchestra/georchestra#3838 (comment) for the motivations.

Tests:
build time, generated war does not contain the problematic dependency anymore:

% jar tf cas.war | grep log4j
WEB-INF/lib/sentry-log4j2-6.10.0.jar
WEB-INF/lib/log4j-web-2.18.0.jar
WEB-INF/lib/spring-boot-starter-log4j2-2.7.3.jar
WEB-INF/lib/log4j-jcl-2.18.0.jar
WEB-INF/lib/log4j-layout-template-json-2.18.0.jar
WEB-INF/lib/log4j-core-2.18.0.jar
WEB-INF/lib/log4j-jul-2.18.0.jar
WEB-INF/lib/log4j-slf4j-impl-2.18.0.jar
WEB-INF/lib/log4j-api-2.18.0.jar

See georchestra/georchestra#3838 (comment)
for the motivations.

Tests:
build time, generated war does not contain the problematic dependency
anymore:

```
% jar tf cas.war | grep log4j
WEB-INF/lib/sentry-log4j2-6.10.0.jar
WEB-INF/lib/log4j-web-2.18.0.jar
WEB-INF/lib/spring-boot-starter-log4j2-2.7.3.jar
WEB-INF/lib/log4j-jcl-2.18.0.jar
WEB-INF/lib/log4j-layout-template-json-2.18.0.jar
WEB-INF/lib/log4j-core-2.18.0.jar
WEB-INF/lib/log4j-jul-2.18.0.jar
WEB-INF/lib/log4j-slf4j-impl-2.18.0.jar
WEB-INF/lib/log4j-api-2.18.0.jar
```
@pmauduit pmauduit requested a review from f-necas June 7, 2024 11:16
@f-necas f-necas self-requested a review June 7, 2024 11:31
Copy link
Contributor

@f-necas f-necas left a comment

Choose a reason for hiding this comment

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

Built and tested simple login/logout, works for me 👍🏼

Copy link
Contributor

@f-necas f-necas left a comment

Choose a reason for hiding this comment

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

Built and tested simple login/logout, works for me 👍🏼

@pmauduit pmauduit merged commit 112d06e into master Jun 7, 2024
2 checks passed
@pmauduit pmauduit deleted the sentry-exclude-log4j2-dependency branch June 7, 2024 12:20
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