This is an automated email from the ASF dual-hosted git repository. pottlinger pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/creadur-whisker.git
commit 0c1abc83ffa7fc098a12095c11fc62287323c2a0 Author: P. Ottlinger <[email protected]> AuthorDate: Sat Nov 16 23:38:42 2024 +0100 WHISKER-27: Format poms helper added --- .buildtools/formatPom | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.buildtools/formatPom b/.buildtools/formatPom new file mode 100755 index 0000000..484b8a5 --- /dev/null +++ b/.buildtools/formatPom @@ -0,0 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +for pom in `find . -name \pom.xml` +do + xmllint --format $pom > /tmp/w + mv /tmp/w $pom +done
