Skip to content

Commit

Permalink
[Build] Update Spotless configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangying committed Aug 23, 2024
1 parent d8ed92e commit 5f34f7d
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 5f34f7d

Please sign in to comment.