Skip to content

Commit 1e90eb7

Browse files
committed
Removed Oracle maven config
1 parent d8e865f commit 1e90eb7

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

.travis/maven_cfg.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,4 @@
22
set -ev
33
cd $(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-
165
cp settings.xml $MAVEN_CFG/settings.xml
17-

.travis/settings.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,5 @@
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>

0 commit comments

Comments
 (0)