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: http5 parent version #1373

Merged
merged 1 commit into from
May 11, 2023
Merged

fix: http5 parent version #1373

merged 1 commit into from
May 11, 2023

Conversation

jeqo
Copy link
Member

@jeqo jeqo commented May 10, 2023

With the headers version reported and fixed on #1372, seems http5 module got stuck on a previous version of the parent module when merging #1274 .

This fix should unblock the main workflows that are complaining about this issue.

@jeqo jeqo requested a review from jcchavezs May 10, 2023 12:46
@JochemKuijpers
Copy link
Contributor

JochemKuijpers commented May 10, 2023

For what it's worth, I also ran into this locally when adjusting the license headers (and blamed my inexperience with setting up this project).

I managed to get it to compile by setting the project version for httpclient5 and it's dependencies back to 5.15.1 (no snapshot). I did not include this change in my commit of course.

When attempting either 5.15.1-SNAPSHOT or 5.15.2-SNAPSHOT, Maven kept complaining about not being able to find the relevant dependency, despite it being present in the oss.sonatype.org repository. I didn't understand why..
That may be what you're running into now?

@jeqo
Copy link
Member Author

jeqo commented May 10, 2023

@JochemKuijpers maven is not configured to use sonatype for snapshots, so in this case as the http5 parent is not aligned with the project it's failing to find it.
If you build the whole project locally, then it should be working with 5.15.2-SNAPSHOT as it's the version of the parent pom:

brave/pom.xml

Line 22 in dac1101

<version>5.15.2-SNAPSHOT</version>

@JochemKuijpers
Copy link
Contributor

Interesting, I believe I tried that. But good to know for future contributions 👍

Tangential question (please forgive me for asking here, Glitter seems mostly abandoned 😅):
Do you think once this is merged and master builds are green, it would be feasible to create a new release that includes the Apache 5.2+ support? Or is there any other work that needs to happen? I'd love to contribute if that means this feature gets released sooner.

@jeqo
Copy link
Member Author

jeqo commented May 10, 2023

Sure! I think once the build is fixed we can create a new release

@jeqo jeqo merged commit 3cf0764 into master May 11, 2023
@jeqo jeqo deleted the jeqo/fix-http5-parent-version branch May 11, 2023 06:16
@jeqo
Copy link
Member Author

jeqo commented May 11, 2023

Thanks @jcchavezs! builds seem to be back on track (at least not failing because of wrong parent version).
Will release 5.16.0 later today.

@jeqo
Copy link
Member Author

jeqo commented May 11, 2023

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.

3 participants