You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/12/07 08:39:37 UTC

[maven-parent] branch MPOM-377 created (now b22de73)

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a change to branch MPOM-377
in repository https://gitbox.apache.org/repos/asf/maven-parent.git


      at b22de73  [MPOM-377] Add space before close empty elements in poms

This branch includes the following new commits:

     new b22de73  [MPOM-377] Add space before close empty elements in poms

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-parent] 01/01: [MPOM-377] Add space before close empty elements in poms

Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch MPOM-377
in repository https://gitbox.apache.org/repos/asf/maven-parent.git

commit b22de7331ac2d840e9e04e0e4bd40cee02fecdb6
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Wed Dec 7 09:39:08 2022 +0100

    [MPOM-377] Add space before close empty elements in poms
---
 pom.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index e16f5a5..f2ac68e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1168,8 +1168,8 @@ under the License.
             <java>
               <!-- orders of used formatters are important MPOM-376 -->
               <!-- eg. palantir override importOrder, so should be first -->
-              <palantirJavaFormat/>
-              <removeUnusedImports/>
+              <palantirJavaFormat />
+              <removeUnusedImports />
               <importOrder>
                 <file>config/maven-eclipse-importorder.txt</file>
               </importOrder>
@@ -1180,6 +1180,8 @@ under the License.
             <pom>
               <sortPom>
                 <expandEmptyElements>false</expandEmptyElements>
+                <!-- https://issues.apache.org/jira/browse/MRELEASE-1111 -->
+                <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
               </sortPom>
             </pom>
             <upToDateChecking>