-
Notifications
You must be signed in to change notification settings - Fork 31
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
Get rid of aether-okhttp-connector #508 #509
Get rid of aether-okhttp-connector #508 #509
Conversation
@mickaelistria @fbricon Could you please take a look: It looks like with removing of takagi OkHttp3 dependency I removed (or not added) some required dependency that provides a connector factory, so maven builder fails:
|
Would it be possible to move directly to the Maven resolver API instead of relying on wagon as suggested in eclipse-m2e/m2e-core#1510 (comment)? |
Any updates on this one? |
For me the build fails with:
and in the build.log:
|
in the build.log, I can see
Notice the double |
This is caused by a combination of https://github.com/eclipse/lemminx-maven/blob/06815c25ef95ac163e4052073abcf8fa0ad4e27a/lemminx-maven/src/test/resources/pom-localrepo-test-dependencies.xml#L40-L50 and lemminx-maven using Maven wrapper 3.6.0. Bumping the wrapper to 3.9.5 makes the hack usable. |
11ee5e1
to
26dc2ef
Compare
Signed-off-by: Fred Bricon <fbricon@gmail.com>
26dc2ef
to
07e50fa
Compare
Adding maven-resolver-connector-basic, there are now only 12 failures:
RemoteCentralRepoTest don’t fail if run standalone, eg |
@fbricon Could you please take a look - does it work for m2e-core? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Victor for working on this.
...main/java/org/eclipse/lemminx/extensions/maven/searcher/RemoteCentralRepositorySearcher.java
Outdated
Show resolved
Hide resolved
...main/java/org/eclipse/lemminx/extensions/maven/searcher/RemoteCentralRepositorySearcher.java
Outdated
Show resolved
Hide resolved
...main/java/org/eclipse/lemminx/extensions/maven/searcher/RemoteCentralRepositorySearcher.java
Outdated
Show resolved
Hide resolved
b3e084f
to
1c97809
Compare
1c97809
to
83ecaea
Compare
...main/java/org/eclipse/lemminx/extensions/maven/searcher/RemoteCentralRepositorySearcher.java
Show resolved
Hide resolved
...main/java/org/eclipse/lemminx/extensions/maven/searcher/RemoteCentralRepositorySearcher.java
Outdated
Show resolved
Hide resolved
This looks good to me.
That's life... Let users test it ;) |
2432849
to
9c40128
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot say much about the code, but from a dependencies perspective this looks good to me. 👍🏽
@fbricon @mickaelistria @HannesWell Thanks! |
Great. Thanks @vrubezhny. |
@HannesWell I'm going to release Lemminx-Maven, so m2e-core be able to pick this up. |
Fixes: #508