-
Notifications
You must be signed in to change notification settings - Fork 82
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
[SHRINKRES-351] enh: Update components resulted from project-local resolution #340
Conversation
abd7576
to
e7cac17
Compare
|
9b14ce2
to
22fa996
Compare
Thank you for looking into this @lprimak . I'll duplicate the main branch as new support and probably release Resolvers in version 4.x with JDK 17 support and leave JDK 8 for the 3.x branch We should also update our test matrix for the JDK 17 |
c6c51a4
to
4898da0
Compare
68c78ab
to
4e32eeb
Compare
Figured out how to keep JDK 8 compatibility. Only checkstyle needed to be downgraded, which is no big deal. |
e43c5d5
to
481288f
Compare
481288f
to
b2fff83
Compare
b2fff83
to
3126b1b
Compare
@petrberan This one is ready to go as well now. |
...aven/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/logging/AetherLoggerFactory.java
Outdated
Show resolved
Hide resolved
@@ -39,10 +39,10 @@ private void setOutputHandlers(String expectedRegex, CountDownLatch countDownLat | |||
new ResolverErrorOutputHandler(logBuffer, expectedRegex, countDownLatch); | |||
ResolverOutputHandler outputHandler = new ResolverOutputHandler(logBuffer, expectedRegex, countDownLatch); | |||
|
|||
invoker.setOutputHandler(outputHandler); | |||
invocationRequest.setOutputHandler(outputHandler); |
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.
This seems to be duplicated
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.
Hmmm... I don't see where / how
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.
L42 and L43 are the same - invocationRequest.setOutputHandler(outputHandler);
L45 and L46 are the same - invocationRequest.setErrorHandler(errorOutputHandler);
Or is it necessary to set the handlers 2 times?
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.
Oh, I see it now. Thanks for pointing this out.
Fixed!
Shame we can't keep the Guice on 7.0.0 though. Besides just some minor details this looks solid @lprimak , can you have a look at the comments above? |
Yup, Plexus / Sisu is not compatible with Guice 7. Thanks for your help! |
3126b1b
to
3291d65
Compare
Done! |
3291d65
to
7a4a847
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.
LGTM
Thank you @lprimak , I'll merge this and release new Resolvers later this week
Updates components (sisu, maven) where necessary
Adds Java 17 builds to CI matrix
Based, and will be rebased on #341 when it gets mergedcloses #214