From 14ff6db477a84eecb424db92c388d700816f6eec Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Mon, 28 Nov 2022 22:25:07 -0500 Subject: [PATCH] chore: Set parent pom to be google-cloud-java --- generation/set_parent_pom.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation/set_parent_pom.sh b/generation/set_parent_pom.sh index a81935cbba95..9396c7b6be7c 100755 --- a/generation/set_parent_pom.sh +++ b/generation/set_parent_pom.sh @@ -16,7 +16,7 @@ function replaceParent { relativePath=$(echo "$parent_pom" | sed 's/\//\\\//g') # Search for tag in module pom and replace the next three lines -- groupId, artifcatId, and version - perl_command="s/\s*.*?<\/parent>/\n\n \n ${parent_group_id}<\/groupId>\n ${parent_artifact_id}<\/artifactId>\n ${parent_version}<\/version>\n ${relativePath}<\/relativePath>\n <\/parent>/s" + perl_command="s/\s*.*?<\/parent>/\n\n \n ${parent_group_id}<\/groupId>\n ${parent_artifact_id}<\/artifactId>\n ${parent_version}<\/version>\n ${relativePath}<\/relativePath>\n <\/parent>/s" # execute the replacement in pom.xml perl -i -0pe "$perl_command" pom.xml }