File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ function add_dependency_to_maven_command() {
3737 exit 1
3838 fi
3939 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}' )
4343 local version=$( echo " ${dep_pair} " | cut -d' =' -f2 | sed ' s/^[[:space:]]*//;s/[[:space:]]*$//' )
4444 MAVEN_COMMAND+=" -D${dependency} .version=${version} "
4545}
Original file line number Diff line number Diff line change 1313 {
1414 "customType" : " regex" ,
1515 "managerFilePatterns" : [" /dependencies\\ .txt/" ],
16- "matchStrings" : [" (?<depName>.*)=(?<currentValue>.*)\\ n " ],
16+ "matchStrings" : [" (?<depName>.*);(?<unused>.*) =(?<currentValue>.*)" ],
1717 "datasourceTemplate" : " maven"
1818 },
1919 {
You can’t perform that action at this time.
0 commit comments