File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ function add_dependency_to_maven_command() {
37
37
exit 1
38
38
fi
39
39
local full_dependency=$( echo " ${dep_pair} " | cut -d' =' -f1 | tr -d ' [:space:]' )
40
- # The dependency can be in the format of {groupId}:{artifactId} or {artifactId }
41
- # We only want the artifactId
42
- local dependency=$( echo " ${full_dependency} " | awk -F' : ' ' {print $NF}' )
40
+ # The dependency can be in the format of {groupId}:{artifactId};{pomPropertyName }
41
+ # We only want the pomPropertyName
42
+ local dependency=$( echo " ${full_dependency} " | awk -F' ; ' ' {print $NF}' )
43
43
local version=$( echo " ${dep_pair} " | cut -d' =' -f2 | sed ' s/^[[:space:]]*//;s/[[:space:]]*$//' )
44
44
MAVEN_COMMAND+=" -D${dependency} .version=${version} "
45
45
}
Original file line number Diff line number Diff line change 13
13
{
14
14
"customType" : " regex" ,
15
15
"managerFilePatterns" : [" /dependencies\\ .txt/" ],
16
- "matchStrings" : [" (?<depName>.*)=(?<currentValue>.*)\\ n " ],
16
+ "matchStrings" : [" (?<depName>.*);(?<unused>.*) =(?<currentValue>.*)" ],
17
17
"datasourceTemplate" : " maven"
18
18
},
19
19
{
You can’t perform that action at this time.
0 commit comments