Skip to content

Commit

Permalink
remove version replacement for modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhumin8 committed Nov 21, 2022
1 parent 2934d1f commit 1fd4a73
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generator/generate-one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ cat "$client_lib_name"/pom.xml
sed -i 's/{{client-library-group-id}}/'"$client_lib_groupid"'/' "$client_lib_name"/pom.xml
sed -i 's/{{client-library-artifact-id}}/'"$client_lib_artifactid"'/' "$client_lib_name"/pom.xml
sed -i 's/{{client-library-version}}/'"$version"'/' "$client_lib_name"/pom.xml
sed -i 's/{{starter-version}}/0.0.1-SNAPSHOT/' "$client_lib_name"/pom.xml

# add module to parent, adds after the `<modules>` line, checks for existence
xmllint --debug --nsclean --xpath "//*[local-name()='module']/text()" pom.xml | sort | uniq | grep -q $client_lib_name
Expand Down

0 comments on commit 1fd4a73

Please sign in to comment.