[go: nahoru, domu]

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

Fix binary license check issues and update jersey to 2.34 for Pulsar SQL #10682

Merged
merged 3 commits into from
May 24, 2021

Conversation

codelipenghui
Copy link
Contributor
@codelipenghui codelipenghui commented May 22, 2021
  • Update jersey version to 2.34 for the Pulsar SQL to keep consistent with the other components.
  • Using a consistent version(1.22) for jakarta.activation-api

@codelipenghui codelipenghui self-assigned this May 22, 2021
@codelipenghui codelipenghui added this to the 2.8.0 milestone May 22, 2021
@codelipenghui codelipenghui requested review from merlimat, eolivelli, lhotari, jiazhai and sijie and removed request for merlimat May 22, 2021 14:42
@@ -230,6 +230,11 @@
<artifactId>jersey-media-json-jackson</artifactId>
</dependency>

<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to specify the dependency here? Pinning the version in the dependencyManagement section in top level pom should be enough, no?

Copy link
Contributor

Choose a reason for hiding this comment

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

O it isn't.
The dependencyManagement section is like a default configuration but it deos not mean that dependencies declared up there take precedence

<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
</dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above, not sure why we need to add it here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have excluded jakarta.activation-api in the root pom.xml of the jersey-media-json-jackson dependency, some components depends on jersey-media-json-jackson will also exclude the jakarta.activation-api, In this PR we just make sure Pulsar using the consistent version of jakarta.activation-api, not remove the dependency. So add jakarta.activation-api dependency for the components which depends on jersey-media-json-jackson before. I'm not sure if we can remove it directly.

@@ -230,6 +230,11 @@
<artifactId>jersey-media-json-jackson</artifactId>
</dependency>

<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

O it isn't.
The dependencyManagement section is like a default configuration but it deos not mean that dependencies declared up there take precedence

@codelipenghui codelipenghui changed the title Fix binary license check issues. Fix binary license check issues and update jersey to 2.34 for Pulsar SQL May 24, 2021
@merlimat merlimat merged commit a19de10 into apache:master May 24, 2021
@codelipenghui codelipenghui deleted the penghui/fix-license-check branch May 25, 2021 05:24
yangl pushed a commit to yangl/pulsar that referenced this pull request Jun 23, 2021
…SQL (apache#10682)

* Fix binary license check issues.

* Fix binary license check issues.

* Fix binary license check issues.
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
…SQL (apache#10682)

* Fix binary license check issues.

* Fix binary license check issues.

* Fix binary license check issues.
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