-
Notifications
You must be signed in to change notification settings - Fork 486
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
Compile not working / Oracle JAR requires authorization #27
Comments
The README tells exactly what you have to do. |
@vladmihalcea please reconsider this. That is a bad OOTB experience. Where is it written in the README that I need to register with Oracle to run the tests against PostgreSQL?! |
BTW, the README says exactly:
How should I do this? |
Just comment the Oracle repository if you don't want to set it up. The tests compile even without the Oracle JDBC Driver. |
Sure, that's what I did. However, a lot of other people will have the same experience and need to do the same. If you like, I can do a PR with a suggestion how to solve this with a Maven profile. I did something similar here: If you don't like the idea, that's okay too. The project is really nice! Ultimately I would recommend working towards something like:
|
I'll use a profile activated by an environment variable. |
Fixed. The Oracle repo must now be activated explicitly. |
@vladmihalcea please mind that you need to move the JDBC driver dependency into the profile as well. |
The driver scope is provided so it won't be required during compile. So, it should be just fine. |
Scope If you don't want it in the |
You're right. Unfortunately, Maven does not have a |
When I do
There is the error:
When removing the Oracle dependency compilation works.
Probably the Oracle JDBC cannot be obtained from Maven central. One solution would be to put the Oracle dependency in a separate Maven profile.
The text was updated successfully, but these errors were encountered: