8000 Merge pull request #37 from utPLSQL/feature/readme-changes · utPLSQL/utPLSQL-maven-plugin@f71dd6f · GitHub
[go: up one dir, main page]

Skip to content

Commit f71dd6f

Browse files
authored
Merge pull request #37 from utPLSQL/feature/readme-changes
Added settings.xml example
2 parents f9df2e1 + 11b5446 commit f71dd6f

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

README.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,50 @@
55
* A maven plugin for running Unit Tests with utPLSQL v3+.
66

77
### Compatibility
8-
* This plugin is compatible with the utPLSQL Java API 3.1.0.
8+
* This plugin is compatible with utPLSQL 3.1.0+.
99

1010
### Prerequisites
1111
* Java SE Runtime Environment 8
1212
* Maven Version 3.5+
13-
* You need to have a compatible version utPLSQL framework installed in the database. Please refer to the Java API documentation for compatibility checks.
1413

15-
The plugin relies on the Java API for database operations, which has the OJDBC as a maven dependency. To be able to download the Oracle dependencies, you need to configure your access to Oracle's Maven Repository:
14+
The plugin requires Oracle JDBC driver (ojdbc8) as a maven dependency.
15+
In order to download the required driver, you need to configure access to Oracle's Maven Repository in your `settings.xml` file.
1616

1717
http://docs.oracle.com/middleware/1213/core/MAVEN/config_maven_repo.htm#MAVEN9010
1818

1919
Sections 6.1 and 6.5 are the more important ones, and the only ones you need if you're using the latest Maven version.
2020

21+
Below is an example of changes needed to your `settings.xml` file.
22+
23+
```xml
24+
<settings>
25+
<servers>
26+
<server>
27+
<id>maven.oracle.com</id>
28+
<username>oracle_tech_net_user_name</username>
29+
<password>oracle_tech_net_password</password>
30+
<configuration>
31+
<basicAuthScope>
32+
<host>ANY</host>
33+
<port>ANY</port>
34+
<realm>OAM 11g</realm>
35+
</basicAuthScope>
36+
<httpConfiguration>
37+
<all>
38+
<params>
39+
<property>
40+
<name>http.protocol.allow-circular-redirects</name>
41+
<value>%b,true</value>
42+
</property>
43+
</params>
44+
</all>
45+
</httpConfiguration>
46+
</configuration>
47+
</server>
48+
</servers>
49+
</settings>
50+
```
51+
2152
### Usage
2253

2354
Please refer to the following usage example for the parameters descriptions.

0 commit comments

Comments
 (0)
0