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 dependency on maven-reporting-impl #1121

Merged
merged 4 commits into from Dec 25, 2020
Merged

Remove dependency on maven-reporting-impl #1121

merged 4 commits into from Dec 25, 2020

Conversation

marchof
Copy link
Member

@marchof marchof commented Nov 7, 2020

This dependency is not really useful for JaCoCo reports and has several
transitive dependencies where security vulnerabilities have been
reported.

Fixes #641, #920

This dependency is not really useful for JaCoCo reports and has several
transitive dependencies where security vulnerabilities have been
reported.

Fixes #641, #920
@marchof marchof self-assigned this Nov 7, 2020
@marchof marchof requested a review from Godin November 7, 2020 09:01
@marchof marchof added this to Implementation in Current work items via automation Nov 7, 2020
@marchof marchof added this to the 0.8.7 milestone Nov 7, 2020
@Godin Godin moved this from Implementation to Review in Current work items Nov 10, 2020
@Godin Godin linked an issue Nov 26, 2020 that may be closed by this pull request
Copy link
Member

@Godin Godin left a comment

Choose a reason for hiding this comment

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

In addition to our CI, I also did some tests locally and do not observe any differences.

So I really like this change - same functionality, almost the same code, less dependencies 👍


Also I tried to upgrade ECJ and use it for compilation into bytecode version higher than 8, what fails without this change

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project jacoco-maven-plugin: Compilation failure: Compilation failure:
[ERROR] /Users/godin/projects/jacoco/jacoco/jacoco-maven-plugin/target/generated-sources/plugin/HelpMojo.java:[8,215] The package org.w3c.dom is accessible from more than one module: <unnamed>, java.xml

while after this PR succeeds 👍


@marchof are you ok if I merge it without change of org.jacoco.doc/docroot/doc/changes.html ?

Comment on lines +37 to +38
<li>Maven plug-in has no dependency on <code>maven-reporting-impl</code> any more
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1121">#1121</a>).</li>
Copy link
Member

Choose a reason for hiding this comment

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

To me this is pure internal non-functional change, so I do not think that we need this changelog entry and Git commit message is enough. Similar #645 wasn't mentioned either.

Copy link
Member Author

Choose a reason for hiding this comment

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

I added it as it solves two tickets. But I also agree with your point of view.

@Godin Godin changed the title Remove Dependency on maven-reporting-impl Remove dependency on maven-reporting-impl Dec 25, 2020
@Godin Godin merged commit 07e6c62 into master Dec 25, 2020
Current work items automation moved this from Review to Done Dec 25, 2020
@Godin Godin deleted the issue-920 branch December 25, 2020 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2 participants