File tree Expand file tree Collapse file tree 2 files changed +0
-35
lines changed Expand file tree Collapse file tree 2 files changed +0
-35
lines changed Original file line number Diff line number Diff line change 2
2
set -ev
3
3
cd $( dirname $( readlink -f $0 ) )
4
4
5
- # Download wagon-http recommended by Oracle.
6
- # On maven latest version this is not needed, but travis doesn't have it.
7
- if [ ! -f $CACHE_DIR /wagon-http-2.8-shaded.jar ]; then
8
- curl -L -O " http://central.maven.org/maven2/org/apache/maven/wagon/wagon-http/2.8/wagon-http-2.8-shaded.jar"
9
- mv wagon-http-2.8-shaded.jar $CACHE_DIR /
10
- sudo cp $CACHE_DIR /wagon-http-2.8-shaded.jar $MAVEN_HOME /lib/ext/
11
- else
12
- echo " Using cached wagon-http..."
13
- sudo cp $CACHE_DIR /wagon-http-2.8-shaded.jar $MAVEN_HOME /lib/ext/
14
- fi
15
-
16
5
cp settings.xml $MAVEN_CFG /settings.xml
17
-
Original file line number Diff line number Diff line change 22
22
<username >${env.SONATYPE_USERNAME}</username >
23
23
<password >${env.SONATYPE_PASSWORD}</password >
24
24
</server >
25
- <server >
26
- <id >maven.oracle.com</id >
27
- <username >${env.ORACLE_OTN_USER}</username >
28
- <password >${env.ORACLE_OTN_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
25
</servers >
48
-
49
26
</settings >
You can’t perform that action at this time.
0 commit comments