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

Dependency Updates #2794

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Dependency Updates #2794

merged 1 commit into from
Jan 31, 2025

Conversation

eclipse-releng-bot
Copy link
Contributor

Please review the changes and merge if appropriate, or cherry pick individual updates.

@merks
Copy link
Contributor

merks commented Jan 30, 2025

It looks like the license check is failing

Error:  Cannot resolve project dependencies:
Error:    Software being installed: org.eclipse.tips.ide 0.3.500.qualifier
Error:    Missing requirement: com.google.gson 2.12.0 requires 'java.package; com.google.errorprone.annotations [2.36.0,3.0.0)' but it could not be found
Error:    Cannot satisfy dependency: org.eclipse.tips.ide 0.3.500.qualifier depends on: osgi.bundle; org.eclipse.tips.json 0.0.0
Error:    Cannot satisfy dependency: org.eclipse.tips.json 0.3.400.qualifier depends on: osgi.bundle; com.google.gson 0.0.0

because this additional is needed:

        <dependency>
          <groupId>com.google.errorprone</groupId>
          <artifactId>error_prone_annotations</artifactId>
          <version>2.36.0</version>
          <type>jar</type>
        </dependency>

I wonder if that dependency was intentionally introduced...

@iloveeclipse
Copy link
Member

I wonder if that dependency was intentionally introduced...

Probably not, as usually these annotations are only needed for compilation but not at runtime, but who knows...

@laeubi
Copy link
Contributor

laeubi commented Jan 30, 2025

I wonder if that dependency was intentionally introduced...

I don't think so, annotations should either be not imported (e.g. only source or class retention) or imported optional (e.g. runtime retention).

@merks
Copy link
Contributor

merks commented Jan 30, 2025

I already updated Orbit. Maybe I should back level this back out of Orbit before it ends up in a milestone.

@laeubi
Copy link
Contributor

laeubi commented Jan 30, 2025

See

as gson is in "maintenance mode" I'm not sure if something happens without providing a PR, also not sure how early we can expect a new release.

@merks
Copy link
Contributor

merks commented Jan 30, 2025

So what action will the Platform take on this issue? I need to know what to do in Orbit...

@merks
Copy link
Contributor

merks commented Jan 30, 2025

BTW, I think it might be intentional because they do export an "annotations" package even in the older version:

image

image

@iloveeclipse
Copy link
Member

because they do export an "annotations" package even in the older version

That is not same as com.google.errorprone.annotations

@merks
Copy link
Contributor

merks commented Jan 30, 2025

Yes, of course it's not. I'm just highlighting the changes from the previous version and the new version. I see no uses declaration for packages that might come from that new dependency...

@iloveeclipse
Copy link
Member

I believe including error_prone_annotations in platform is OK, it shouldn't have other dependencies.
I see that jgit & tm4e use com.google.gson and I guess they will fail to build too if error_prone_annotations is not there.

@merks
Copy link
Contributor

merks commented Jan 30, 2025

Not much depends on error_prone_annotations but a lot of things depend on gson:

image

@laeubi
Copy link
Contributor

laeubi commented Jan 30, 2025

@iloveeclipse
Copy link
Member

2.12.1 with the fixed dependency is released

@merks merks merged commit de30d81 into master Jan 31, 2025
5 checks passed
@merks
Copy link
Contributor

merks commented Jan 31, 2025

That took quite some convincing. Thanks guys!

@merks
Copy link
Contributor

merks commented Jan 31, 2025

It looks like this now:

image

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.

4 participants