File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1111 global :
1212 - DOCKER_CFG=$HOME/.docker
1313 - DOCKER_REPO="viniciusam/oracledb"
14+ - MAVEN_SETTINGS=$HOME/.m2/settings.xml # TODO: Cache?
1415 - UTPLSQL_VERSION="v3.0.0-beta"
1516 - UTPLSQL_FILE="utPLSQLv3.0.0.562-beta"
1617 matrix :
@@ -26,4 +27,4 @@ install:
2627 - bash .travis/install_utplsql.sh
2728
2829script :
29- - mvn test -B
30+ - mvn --settings $MAVEN_SETTINGS test -B # TODO: Why is not working with settings on user folder?
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ if [ "$ORACLE_OTN_USER" == "" ] || [ "$ORACLE_OTN_PASSWORD" == "" ]; then
77 exit 1
88fi
99
10- MAVEN_SETTINGS=$HOME /.m2/settings.xml
11-
1210# Copy the maven settings file to the right place, and set the username/password for oracle maven server.
1311cp settings.tmpl.xml $MAVEN_SETTINGS
1412sed -i -e " s|###USERNAME###|$ORACLE_OTN_USER |g" $MAVEN_SETTINGS
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ under the License.
2626 <servers >
2727 <server >
2828 <id >maven.oracle.com</id >
29- <username >###ORACLE_OTN_USER ###</username >
30- <password >###ORACLE_OTN_PASSWORD ###</password >
29+ <username >###USERNAME ###</username >
30+ <password >###PASSWORD ###</password >
3131 <configuration >
3232 <basicAuthScope >
3333 <host >ANY</host >
You can’t perform that action at this time.
0 commit comments