-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update to oauth2-oidc-sdk:6.2 #6101
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
Comments
Hi @jzheaux |
Sounds great, @hellosatish, it's yours! |
@jzheaux i forked the repo again and then used "gradle clean build integrationTest" (without any changes) but tests are failing for ACL again |
@hellosatish Let's try two things: First, make sure that your command is actually "./gradlew clean build integrationTest" if you are on Mac or Linux or "gradlew.bat clean build integrationTest" if you are on Windows. The reason for this is it makes sure that it uses the version of Gradle that Spring Security needs. Second, if that still fails, then go ahead and let's see if we can find a pattern in the test failures. Do you see something in common about them? The build is passing on our build machines and locally for me, so I imagine that we'll see a common thread on your machine. |
@jzheaux i am on windows. and my gradle vesion is 4.4.1. I have pushed the code to forked repo. if you could check that builds for you locally. |
The report will actually give you a bit more information, @hellosatish. If you click on one of those links on the test failures report, what is the full stack trace? I just double-checked on a Windows machine and was able to build on Java 8. What version of Java are you using? You can do Also, you can try this for a cleaner environment: |
Hi @jzheaux i used the command |
I pulled your changes locally, and, yes, it builds fine for me. I have not seen that exception before which you got in your build; however, this StackOverflow post sounds interesting: https://stackoverflow.com/questions/37527038/mockito-object-is-not-an-instance-of-declaring-class I wonder if maybe you have two versions of JDK 8 installed? I have seen in the past the Windows %PATH% pointing to one JDK and %JAVA_HOME% pointing to another. |
Hi @jzheaux Thanks for pointing to link. i have my both variables set to JDK 8 only (attached here for reference). However ill upgrade the VM. |
@hellosatish The next step is to squash your commits so that you are only sending over one commit to Spring Security (right now your repo has three). Once there is just one commit, then you can submit a pull request. I've found |
Hi @jzheaux |
Yes, I've made that mistake before myself. Try this: https://stackoverflow.com/questions/6217156/break-a-previous-commit-into-multiple-commits |
Hi @jzheaux thanks for you help. |
Yes, you can go ahead and create a pull request. Thanks! |
@jzheaux Thanks for merging this pull request and specially for your continued help on the issues i faced. I would be happy to help if there are more issues i can contribute to. |
For sure! Feel free to pick up something that looks interesting. You might consider #5834 |
Summary
We need to update to Nimbus OAuth2 Oidc Sdk 6.2. This can be done by updating dependency-management.gradle.
The text was updated successfully, but these errors were encountered: