Skip to content

Commit a55ce65

Browse files
committed
Added settings.xml example
1 parent f9df2e1 commit a55ce65

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,49 @@
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 relies on the utPLSQL 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:
1615

1716
http://docs.oracle.com/middleware/1213/core/MAVEN/config_maven_repo.htm#MAVEN9010
1817

1918
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.
2019

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

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

0 commit comments

Comments
 (0)