Skip to content

Commit 59825f6

Browse files
committed
fix mavn installation path
1 parent 7339463 commit 59825f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/scripts/installJdbcDrivers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function install_maven() {
7777
fi
7878

7979
tar xzvf ${mvnInstaller} -C /u01/app
80-
export MAVEN_HOME=/u01/app/apache-maven
80+
export MAVEN_HOME=$(find /u01/app -maxdepth 1 -type d -name "apache-maven*")
8181
. $oracleHome/oracle_common/common/bin/setWlstEnv.sh # set JAVA_HOME
8282
export PATH=${MAVEN_HOME}/bin:$PATH
8383

0 commit comments

Comments
 (0)