This is an automated email from the ASF dual-hosted git repository. xiangying pushed a commit to branch spotless-pom in repository https://gitbox.apache.org/repos/asf/pulsar-java-contrib.git
commit 5f34f7d076aea974287f59a250e0d62090f607a0 Author: xiangying <[email protected]> AuthorDate: Fri Aug 23 16:25:02 2024 +0800 [Build] Update Spotless configuration --- pom.xml | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 10a1f14..4cd3840 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <pulsar.version>3.3.1</pulsar.version> - <maven-checkstyle-plugin.version>3.4.0</maven-checkstyle-plugin.version> + <maven-checkstyle-plugin.version>3.3.0</maven-checkstyle-plugin.version> <puppycrawl.checkstyle.version>8.45.1</puppycrawl.checkstyle.version> <spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version> <maven-compiler-plugin>3.13.0</maven-compiler-plugin> @@ -134,6 +134,50 @@ <style>GOOGLE</style> </googleJavaFormat> </java> + <pom> + <includes> + <include>pom.xml</include> + </includes> + <sortPom> + <encoding>UTF-8</encoding> <!-- The encoding of the pom files --> + + <lineSeparator>${line.separator}</lineSeparator> <!-- line separator to use --> + + <expandEmptyElements>true</expandEmptyElements> <!-- Should empty elements be expanded--> + + <spaceBeforeCloseEmptyElement>false</spaceBeforeCloseEmptyElement> <!-- Should a space be added inside self-closing elements--> + + <keepBlankLines>true</keepBlankLines> <!-- Keep empty lines --> + + <endWithNewline>true</endWithNewline> <!-- Whether sorted pom ends with a newline --> + + <nrOfIndentSpace>2</nrOfIndentSpace> <!-- Indentation --> + + <indentBlankLines>false</indentBlankLines> <!-- Should empty lines be indented --> + + <indentSchemaLocation>false</indentSchemaLocation> <!-- Should schema locations be indented --> + + <indentAttribute>true</indentAttribute> <!-- Should the xml attributes be indented --> + + <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> <!-- Sort order of elements: https://github.com/Ekryd/sortpom/wiki/PredefinedSortOrderProfiles--> + + <sortOrderFile>true</sortOrderFile> <!-- Custom sort order of elements: https://raw.githubusercontent.com/Ekryd/sortpom/master/sorter/src/main/resources/custom_1.xml --> + + <sortDependencies>true</sortDependencies> <!-- Sort dependencies: https://github.com/Ekryd/sortpom/wiki/SortDependencies--> + + <sortDependencyManagement>true</sortDependencyManagement> <!-- Sort dependency management: https://github.com/Ekryd/sortpom/wiki/SortDependencies--> + + <sortDependencyExclusions>true</sortDependencyExclusions> <!-- Sort dependency exclusions: https://github.com/Ekryd/sortpom/wiki/SortDependencies--> + + <sortPlugins>true</sortPlugins> <!-- Sort plugins: https://github.com/Ekryd/sortpom/wiki/SortPlugins --> + + <sortProperties>false</sortProperties> <!-- Sort properties --> + + <sortModules>false</sortModules> <!-- Sort modules --> + + <sortExecutions>false</sortExecutions> <!-- Sort plugin executions --> + </sortPom> + </pom> </configuration> <executions> <execution>
