@@ -14,11 +14,6 @@ JQASSISTANT_CLI_VERSION=${JQASSISTANT_CLI_VERSION:-"2.3.1"} # 2.0.3 is the newes
1414JQASSISTANT_CLI_ARTIFACT=${JQASSISTANT_CLI_ARTIFACT:- " jqassistant-commandline-neo4jv5" } # Neo4j v5: "jqassistant-commandline-neo4jv5", Neo4j v4: "jqassistant-commandline-neo4jv4"
1515JQASSISTANT_CONFIG_TEMPLATE=${JQASSISTANT_CONFIG_TEMPLATE:- " template-neo4jv5-jqassistant.yaml" } # Neo4j v5: "template-neo4jv5-jqassistant.yaml", Neo4j v4: "template-neo4jv4-jqassistant.yaml"
1616
17- NEO4J_EDITION=${NEO4J_EDITION:- " community" } # Choose "community" or "enterprise"
18- NEO4J_VERSION=${NEO4J_VERSION:- " 5.20.0" }
19- NEO4J_BOLT_PORT=${NEO4J_BOLT_PORT:- " 7687" } # Neo4j's own "Bolt Protocol" port
20- NEO4J_BOLT_URI=${NEO4J_BOLT_URI:- " bolt://localhost:${NEO4J_BOLT_PORT} " } # Neo4j's own "Bolt Protocol" address
21- NEO4J_USER=${NEO4J_USER:- " neo4j" } # Neo4j login user
2217NEO4J_INITIAL_PASSWORD=${NEO4J_INITIAL_PASSWORD:- " " } # Neo4j login password that was set to replace the temporary initial password
2318ARTIFACTS_DIRECTORY=${ARTIFACTS_DIRECTORY:- " artifacts" } # Directory with the Java artifacts to scan and analyze
2419TOOLS_DIRECTORY=${TOOLS_DIRECTORY:- " tools" } # Get the tools directory (defaults to "tools")
4944
5045# Check if jQAssistant is installed
5146if [ ! -d " ${JQASSISTANT_BIN} " ] ; then
52- echo " resetAndScan: Error: ${JQASSISTANT_BIN} doesnt exist. Please run setupJQAssistant first."
47+ echo " resetAndScan: Error: ${JQASSISTANT_BIN} doesn't exist. Please run setupJQAssistant first."
5348 exit 1
5449else
5550 echo " resetAndScan: Using jQAssistant binary directory ${JQASSISTANT_BIN} "
5853# Create jQAssistant configuration YAML file by copying it from a corresponding template
5954mkdir -p " ./.jqassistant"
6055
61- echo " resetAndScan: Check if ./.jqassistant/${JQASSISTANT_CONFIG_TEMPLATE} needs to be copied."
6256if [ ! -f " ./.jqassistant/${JQASSISTANT_CONFIG_TEMPLATE} " ]; then
6357 cp " ${JQASSISTANT_CONFIG_TEMPLATE_PATH} " " ./.jqassistant/"
6458 echo " resetAndScan: jQAssistant configuration copied from configuration template"
0 commit comments