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

Remove dom4j #2262

Merged
merged 1 commit into from Feb 27, 2021
Merged

Remove dom4j #2262

merged 1 commit into from Feb 27, 2021

Conversation

lkiesow
Copy link
Member

@lkiesow lkiesow commented Jan 27, 2021

This patch removes the dom4j dependency which was used solely to provide
an empty XML file for testing but was marked as non-test runtime
dependency. The included version of dem4j has some severe security
vulnerabilities and we should never use this.

Since this only included but never actually used, there is no security
risk.

Your pull request should…

This patch removes the dom4j dependency which was used solely to provide
an empty XML file for testing but was marked as non-test runtime
dependency. The included version of dem4j has some severe security
vulnerabilities and we should never use this.

Since this only included but never actually used, there is no security
risk.
@lkiesow lkiesow added bug ELAN Pull requests originating from ELAN e.V. dependencies Pull requests that update a dependency file labels Jan 27, 2021
@gregorydlogan
Copy link
Member

Should this be in r/9.x?

@gregorydlogan gregorydlogan self-assigned this Feb 2, 2021
@lkiesow
Copy link
Member Author

lkiesow commented Feb 3, 2021

No. This doesn't really hurt in 9.x since it's testing only and there would be merge conflicts, so I didn't bother.

Copy link
Member

@KatrinIhler KatrinIhler left a comment

Choose a reason for hiding this comment

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

In the opencast-common pom there's a line that seems to explicitly exclude this:

         !org.dom4j.*,

Can this then go as well?

Otherwise, this looks reasonable and works just fine!

@lkiesow
Copy link
Member Author

lkiesow commented Feb 25, 2021

Can this then go as well?

If I remember correctly, no, it needs to stay.

@lkiesow
Copy link
Member Author

lkiesow commented Feb 27, 2021

@gregorydlogan, since @KatrinIhler approved this already, and you do not seem to have any problem with the patch, do you still want to do an additional review? Or can we merge this?

@gregorydlogan gregorydlogan merged commit ee0fd7b into opencast:develop Feb 27, 2021
@gregorydlogan
Copy link
Member

Merged. I hadn't had time to test this yet but if others are saying it works then I'm happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file ELAN Pull requests originating from ELAN e.V.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants