File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ # This script generates a maven command to test unit and integration tests for
4+ # the repo. The outputted maven command will be in the rough following format
5+ # `mvn verify ... -D{dependency.name}.version={dependency.version]`. The variables
6+ # ${dependency.name} and ${dependency.version} come from the upper-bound dependencies
7+ # file called `dependencies.txt` located in the root of sdk-platform-java.
8+ #
9+ # The upper-bound dependencies file will be in the format of:
10+ # ${dependency.name}=${dependency.version}
11+
312# Check if a filename was provided as an argument
413if [ -z " $1 " ]; then
514 echo " Usage: $0 <dependency_file>"
@@ -26,5 +35,5 @@ while IFS= read -r line; do
2635 MAVEN_COMMAND+= " -D${dependency.version} =${version} "
2736done < " ${DEPENDENCY_FILE} "
2837
29- # Run the generated maven command
38+ # Run the generated maven command to test with the dependency versions
3039$MAVEN_COMMAND
You can’t perform that action at this time.
0 commit comments