|
14 | 14 | limitations under the License. |
15 | 15 |
|
16 | 16 | --> |
17 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
18 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 17 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
19 | 18 | <modelVersion>4.0.0</modelVersion> |
20 | 19 | <parent> |
21 | 20 | <groupId>org.apache</groupId> |
|
45 | 44 | <license-maven-plugin.version>4.5</license-maven-plugin.version> |
46 | 45 | <org.testing.version>7.10.2</org.testing.version> |
47 | 46 | <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> |
| 47 | + <google-java-format.version>1.10.0</google-java-format.version> |
48 | 48 | </properties> |
49 | 49 |
|
50 | 50 | <modules> |
|
130 | 130 | <configuration> |
131 | 131 | <java> |
132 | 132 | <googleJavaFormat> |
133 | | - <version>1.7</version> |
| 133 | + <version>${google-java-format.version}</version> |
134 | 134 | <style>GOOGLE</style> |
135 | 135 | </googleJavaFormat> |
136 | 136 | </java> |
| 137 | + <pom> |
| 138 | + <includes> |
| 139 | + <include>pom.xml</include> |
| 140 | + </includes> |
| 141 | + <sortPom> |
| 142 | + <encoding>UTF-8</encoding> |
| 143 | + <lineSeparator>${line.separator}</lineSeparator> |
| 144 | + <expandEmptyElements>true</expandEmptyElements> |
| 145 | + <spaceBeforeCloseEmptyElement>false</spaceBeforeCloseEmptyElement> |
| 146 | + <keepBlankLines>true</keepBlankLines> |
| 147 | + <nrOfIndentSpace>4</nrOfIndentSpace> |
| 148 | + <indentBlankLines>false</indentBlankLines> |
| 149 | + <indentSchemaLocation>false</indentSchemaLocation> |
| 150 | + <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> |
| 151 | + <sortOrderFile>./sort_order.xml</sortOrderFile> |
| 152 | + <sortDependencies>groupId,artifactId</sortDependencies> |
| 153 | + <sortDependencyManagement>true</sortDependencyManagement> |
| 154 | + <sortDependencyExclusions>groupId,artifactId</sortDependencyExclusions> |
| 155 | + <sortPlugins>groupId,artifactId</sortPlugins> |
| 156 | + <sortProperties>false</sortProperties> |
| 157 | + <sortModules>false</sortModules> |
| 158 | + <sortExecutions>false</sortExecutions> |
| 159 | + </sortPom> |
| 160 | + </pom> |
137 | 161 | </configuration> |
138 | 162 | <executions> |
139 | 163 | <execution> |
|
160 | 184 | <suppressionsLocation>./src/main/resources/suppressions.xml</suppressionsLocation> |
161 | 185 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
162 | 186 | <encoding>UTF-8</encoding> |
163 | | - <excludes>**/*.proto</excludes> <!-- Example exclusion --> |
| 187 | + <excludes>**/*.proto</excludes> |
| 188 | + <!-- Example exclusion --> |
164 | 189 | </configuration> |
165 | 190 | <executions> |
166 | 191 | <execution> |
|
0 commit comments