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 1
1
#! /bin/bash
2
2
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
+
3
12
# Check if a filename was provided as an argument
4
13
if [ -z " $1 " ]; then
5
14
echo " Usage: $0 <dependency_file>"
@@ -26,5 +35,5 @@ while IFS= read -r line; do
26
35
MAVEN_COMMAND+= " -D${dependency.version} =${version} "
27
36
done < " ${DEPENDENCY_FILE} "
28
37
29
- # Run the generated maven command
38
+ # Run the generated maven command to test with the dependency versions
30
39
$MAVEN_COMMAND
You can’t perform that action at this time.
0 commit comments