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 22set -ev
33cd $( dirname $( readlink -f $0 ) )
44
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-
165cp settings.xml $MAVEN_CFG /settings.xml
17-
Original file line number Diff line number Diff line change 2222 <username >${env.SONATYPE_USERNAME}</username >
2323 <password >${env.SONATYPE_PASSWORD}</password >
2424 </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 >
4725 </servers >
48-
4926</settings >
You can’t perform that action at this time.
0 commit comments