From 66d4e6772ab7e53be02f8438c69135f632fc7e89 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 2 Jul 2019 09:47:40 +0200 Subject: [PATCH] SONAR-12246 Remove unused mysql files --- .gitignore | 1 - build.gradle | 1 - scripts/patches/mysql.sh | 12 ------------ 3 files changed, 14 deletions(-) delete mode 100755 scripts/patches/mysql.sh diff --git a/.gitignore b/.gitignore index ee838839634..d677071ece1 100644 --- a/.gitignore +++ b/.gitignore @@ -68,5 +68,4 @@ scripts/patches/*.* scripts/patches/*license*.txt !scripts/patches/debug_ce.sh !scripts/patches/debug_web.sh -!scripts/patches/mysql.sh !scripts/patches/postgres.sh diff --git a/build.gradle b/build.gradle index 9d2d1dab37d..fb535068d9a 100644 --- a/build.gradle +++ b/build.gradle @@ -158,7 +158,6 @@ subprojects { dependency 'javax.servlet:javax.servlet-api:3.0.1' dependency 'javax.xml.bind:jaxb-api:2.3.0' dependency 'junit:junit:4.12' - dependency 'mysql:mysql-connector-java:5.1.46' dependency 'net.jpountz.lz4:lz4:1.3.0' dependency 'org.awaitility:awaitility:3.1.6' dependency 'org.apache.commons:commons-csv:1.4' diff --git a/scripts/patches/mysql.sh b/scripts/patches/mysql.sh deleted file mode 100755 index ce0f260d615..00000000000 --- a/scripts/patches/mysql.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -source scripts/property_utils.sh - -SQ_HOME=$1 - -echo "configuring mysql" -set_property sonar.jdbc.url "jdbc:mysql://localhost:3306/sonarqube?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance" "$SQ_HOME/conf/sonar.properties" -set_property sonar.jdbc.username sonarqube "$SQ_HOME/conf/sonar.properties" -set_property sonar.jdbc.password sonarqube "$SQ_HOME/conf/sonar.properties" -- 2.39.5