-
Notifications
You must be signed in to change notification settings - Fork 43
[OR-322] - Include Oracle JDBC driver in package #291
Changes from all commits
283d3c8
0daea1b
1be6214
ca08545
4551ae4
f174630
5112055
e725da1
7ff87de
a09c094
c40432f
2be98c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ version.txt | |
|
||
### Gradle ### | ||
.gradle | ||
gradle.properties | ||
|
||
|
||
### IntelliJ ### | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Oracle Maven Access | ||
* Orion bundles Oracle JDBC driver which is downloaded from Oracle Maven repository by Gradle. | ||
* You need to provide your Oracle account credentials to access Oracle Maven repository. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The reading of this line suggests this PR is introducing a dependency on having a OTN account to build Orion, is that correct? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @CjHare It is partially correct now that I am re-reading it. The Orion would still build without Oracle JDBC if we don't create project properties. It needs to be re-worded as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but your point is correct, this PR is introducing a dependency on having an Oracle account in order to bundle Oracle JDBC driver |
||
If you don't have Oracle credentials, you can create one at | ||
https://profile.oracle.com/myprofile/account/create-account.jspx | ||
* Create (or update) `gradle.properties` in project root folder and add following | ||
gradle properties | ||
``` | ||
oracleMavenUser=YourOracleAccountEmail | ||
oracleMavenPassword=YourOracleAccountPassword | ||
``` | ||
* Instead of modifying `gradle.properties`, following environment variables can also be used | ||
``` | ||
ORG_GRADLE_PROJECT_oracleMavenUser | ||
ORG_GRADLE_PROJECT_oracleMavenPassword | ||
``` |
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.
Why is there a
gradle.properties
at the root ofOrion
to now ignore?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.
gradle.properties
is used by gradle to read personal project properties which we don't want to commit to git (in our case Oracle maven user and password). Hence, it is in ignore list.