1<?xml version="1.0" encoding="UTF-8"?> 2 3<project xmlns="http://maven.apache.org/POM/4.0.0" 4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 6 <modelVersion>4.0.0</modelVersion> 7 8 <groupId>org.unicode.cldr</groupId> 9 <artifactId>cldr-all</artifactId> 10 <version>45.0</version> 11 <name>CLDR All Tools</name> 12 <packaging>pom</packaging> 13 <licenses> 14 <license> 15 <name>Unicode-3.0</name> 16 </license> 17 </licenses> 18 <properties> 19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 21 <maven.compiler.source>11</maven.compiler.source> 22 <maven.compiler.target>11</maven.compiler.target> 23 <!-- Note: see https://github.com/unicode-org/icu/packages/1954682/versions 24 for the icu4j.version tag to use. In general we should just use the latest 25 SNAPSHOT for the ICU version that we want, so this should only need updating 26 when the ICU version changes e.g. from 74.0.1, to 74.1, to 75.0.1, then to 75.1 --> 27 <icu4j.version>75.1</icu4j.version> 28 <junit.jupiter.version>5.8.2</junit.jupiter.version> 29 <maven-surefire-plugin-version>3.1.0</maven-surefire-plugin-version> 30 <assertj-version>3.11.1</assertj-version> 31 <httpcomponents-version>5.2.1</httpcomponents-version> 32 <!-- web-specific properties are under cldr-apps --> 33 <mysql.version>8.0.30</mysql.version> 34 <!-- jsonwebtoken.io --> 35 <jjwt.version>0.11.5</jjwt.version> 36 <spotless.version>2.35.0</spotless.version> 37 <google-java-style.version>1.15.0</google-java-style.version> 38 </properties> 39 40 <modules> 41 <module>cldr-code</module> 42 <!-- Android patch: AOSP doesn't check out cldr-apps. 43 <module>cldr-apps</module> --> 44 <module>cldr-rdf</module> 45 <module>../docs/charts/keyboard</module> 46 </modules> 47 48 <dependencyManagement> 49 <dependencies> 50 <!-- CLDR --> 51 <dependency> 52 <groupId>org.unicode.cldr</groupId> 53 <artifactId>cldr-code</artifactId> 54 <version>${project.version}</version> <!-- this seems to work --> 55 </dependency> 56 <dependency> 57 <groupId>org.unicode.cldr</groupId> 58 <artifactId>cldr-rdf</artifactId> 59 <version>${project.version}</version> <!-- this seems to work --> 60 </dependency> 61 62 <!-- ICU --> 63 <dependency> 64 <groupId>com.ibm.icu</groupId> 65 <artifactId>icu4j</artifactId> 66 <version>${icu4j.version}</version> 67 </dependency> 68 <dependency> 69 <groupId>com.ibm.icu</groupId> 70 <artifactId>utilities-for-cldr</artifactId> 71 <version>${icu4j.version}</version> 72 </dependency> 73 74 <!-- Misc Libs --> 75 <dependency> 76 <groupId>com.google.code.gson</groupId> 77 <artifactId>gson</artifactId> 78 <version>2.10.1</version> 79 </dependency> 80 81 <dependency> 82 <groupId>com.google.guava</groupId> 83 <artifactId>guava</artifactId> 84 <version>32.1.1-jre</version> 85 </dependency> 86 87 <dependency> 88 <groupId>org.apache.ant</groupId> 89 <artifactId>ant</artifactId> 90 <version>1.10.11</version> 91 </dependency> 92 93 <dependency> 94 <groupId>com.google.myanmartools</groupId> 95 <artifactId>myanmar-tools</artifactId> 96 <version>1.1.1</version> 97 </dependency> 98 <!-- codec/util --> 99 <dependency> 100 <groupId>commons-codec</groupId> 101 <artifactId>commons-codec</artifactId> 102 <version>1.15</version> 103 </dependency> 104 <dependency> 105 <groupId>commons-fileupload</groupId> 106 <artifactId>commons-fileupload</artifactId> 107 <version>1.5</version> 108 </dependency> 109 <dependency> 110 <groupId>commons-io</groupId> 111 <artifactId>commons-io</artifactId> 112 <version>2.11.0</version> 113 </dependency> 114 115 <!-- mail / rss --> 116 117 <dependency> 118 <groupId>javax.mail</groupId> 119 <artifactId>mail</artifactId> 120 <version>1.5.0-b01</version> 121 </dependency> 122 123 <dependency> 124 <groupId>com.sun.activation</groupId> 125 <artifactId>javax.activation</artifactId> 126 <version>1.2.0</version> 127 </dependency> 128 129 <!-- https://mvnrepository.com/artifact/org.json/json --> 130 <dependency> 131 <groupId>org.json</groupId> 132 <artifactId>json</artifactId> 133 <version>20231013</version> 134 </dependency> 135 136 <!-- HTTP client --> 137 <dependency> 138 <groupId>org.apache.httpcomponents.client5</groupId> 139 <artifactId>httpclient5</artifactId> 140 <version>${httpcomponents-version}</version> 141 </dependency> 142 <dependency> 143 <groupId>org.jsoup</groupId> 144 <artifactId>jsoup</artifactId> 145 <version>1.16.1</version> 146 </dependency> 147 148 <!-- db connectors --> 149 <dependency> 150 <groupId>mysql</groupId> 151 <artifactId>mysql-connector-java</artifactId> 152 <version>${mysql.version}</version> 153 </dependency> 154 155 <!-- test --> 156 <dependency> 157 <groupId>org.junit.jupiter</groupId> 158 <artifactId>junit-jupiter</artifactId> 159 <version>${junit.jupiter.version}</version> 160 <scope>test</scope> 161 </dependency> 162 <dependency> 163 <groupId>org.mybatis</groupId> 164 <artifactId>mybatis</artifactId> 165 <version>3.5.6</version> 166 </dependency> 167 168 169 <!-- XSD generation --> 170 <dependency> 171 <groupId>org.relaxng</groupId> 172 <artifactId>trang</artifactId> 173 <version>20220510</version> 174 </dependency> 175 <!-- jwt --> 176 <dependency> 177 <groupId>io.jsonwebtoken</groupId> 178 <artifactId>jjwt-api</artifactId> 179 <version>${jjwt.version}</version> 180 </dependency> 181 <dependency> 182 <groupId>io.jsonwebtoken</groupId> 183 <artifactId>jjwt-impl</artifactId> 184 <version>${jjwt.version}</version> 185 </dependency> 186 <dependency> 187 <groupId>io.jsonwebtoken</groupId> 188 <artifactId>jjwt-gson</artifactId> 189 <version>${jjwt.version}</version> 190 </dependency> 191 192 <!-- for semver --> 193 <dependency> 194 <groupId>com.vdurmont</groupId> 195 <artifactId>semver4j</artifactId> 196 <version>3.1.0</version> 197 </dependency> 198 </dependencies> 199 </dependencyManagement> 200 201 <repositories> 202 <repository> 203 <id>githubicu</id> 204 <name>GitHub unicode-org/icu Apache Maven Packages</name> 205 <url>https://maven.pkg.github.com/unicode-org/icu</url> 206 </repository> 207 </repositories> 208 209 <build> 210 <pluginManagement> 211 <plugins> 212 <plugin> 213 <groupId>com.diffplug.spotless</groupId> 214 <artifactId>spotless-maven-plugin</artifactId> 215 <version>${spotless.version}</version> 216 <configuration> 217 <!-- optional: limit format enforcement to just the files changed by this feature branch --> 218 <!-- You can explicitly disable ratchet functionality by providing the value 'NONE': --> 219 <ratchetFrom>NONE</ratchetFrom> 220 <!-- define a language-specific format --> 221 <java> 222 <toggleOffOn /> 223 <!-- no need to specify files, inferred automatically, but you can if you want --> 224 <!-- apply a specific flavor of google-java-format and reflow long strings --> 225 <googleJavaFormat> 226 <!-- version of google-java-style --> 227 <version>${google-java-style.version}</version> 228 <style>AOSP</style> 229 <reflowLongStrings>false</reflowLongStrings> 230 </googleJavaFormat> 231 </java> 232 </configuration> 233 </plugin> 234 <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> 235 <plugin> 236 <artifactId>maven-clean-plugin</artifactId> 237 <version>3.2.0</version> 238 </plugin> 239 <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> 240 <plugin> 241 <artifactId>maven-resources-plugin</artifactId> 242 <version>3.3.1</version> 243 </plugin> 244 <plugin> 245 <artifactId>maven-compiler-plugin</artifactId> 246 <version>3.11.0</version> 247 </plugin> 248 <plugin> 249 <artifactId>maven-surefire-plugin</artifactId> 250 <version>${maven-surefire-plugin-version}</version> 251 <configuration> 252 <systemPropertyVariables> 253 <CLDR_DIR>${project.basedir}/../../</CLDR_DIR> <!-- this is valid for tools/java and tools/cldr-apps --> 254 <CLDR_ENVIRONMENT>UNITTEST</CLDR_ENVIRONMENT> 255 <java.awt.headless>true</java.awt.headless> 256 </systemPropertyVariables> 257 <argLine>-Xmx6g -enableassertions</argLine> 258 <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter"> 259 <disable>false</disable> 260 <version>3.0</version> 261 <usePhrasedFileName>false</usePhrasedFileName> 262 <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName> 263 <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName> 264 <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName> 265 </statelessTestsetReporter> 266 <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter"> 267 <disable>false</disable> 268 <encoding>UTF-8</encoding> 269 <usePhrasedFileName>false</usePhrasedFileName> 270 </consoleOutputReporter> 271 <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter"> 272 <disable>false</disable> 273 <usePhrasedFileName>false</usePhrasedFileName> 274 <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning> 275 <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary> 276 </statelessTestsetInfoReporter> 277 </configuration> 278 </plugin> 279 <plugin> 280 <groupId>io.openliberty.tools</groupId> 281 <artifactId>liberty-maven-plugin</artifactId> 282 <version>3.7.1</version> 283 </plugin> 284 <plugin> 285 <groupId>com.github.eirslett</groupId> 286 <artifactId>frontend-maven-plugin</artifactId> 287 <version>1.12.1</version> 288 </plugin> 289 <plugin> 290 <groupId>org.apache.maven.plugins</groupId> 291 <artifactId>maven-failsafe-plugin</artifactId> 292 <version>3.2.2</version> 293 </plugin> 294 <plugin> 295 <groupId>org.codehaus.mojo</groupId> 296 <artifactId>properties-maven-plugin</artifactId> 297 <version>1.1.0</version> 298 </plugin> 299 <plugin> 300 <artifactId>maven-jar-plugin</artifactId> 301 <version>3.3.0</version> 302 </plugin> 303 <plugin> 304 <artifactId>maven-install-plugin</artifactId> 305 <version>3.0.1</version> 306 </plugin> 307 <plugin> 308 <artifactId>maven-antrun-plugin</artifactId> 309 <version>3.1.0</version> 310 </plugin> 311 <plugin> 312 <artifactId>maven-war-plugin</artifactId> 313 <groupId>org.apache.maven.plugins</groupId> 314 <version>3.3.2</version> 315 </plugin> 316 <plugin> 317 <artifactId>maven-deploy-plugin</artifactId> 318 <version>2.8.2</version> 319 </plugin> 320 <plugin> 321 <artifactId>maven-assembly-plugin</artifactId> 322 <version>3.6.0</version> 323 </plugin> 324 <plugin> 325 <groupId>org.apache.maven.plugins</groupId> 326 <artifactId>maven-shade-plugin</artifactId> 327 <version>3.2.4</version> 328 </plugin> 329 <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> 330 <plugin> 331 <artifactId>maven-site-plugin</artifactId> 332 <version>3.7.1</version> 333 </plugin> 334 <plugin> 335 <artifactId>maven-project-info-reports-plugin</artifactId> 336 <version>3.4.1</version> 337 </plugin> 338 <plugin> 339 <groupId>org.codehaus.mojo</groupId> 340 <artifactId>buildnumber-maven-plugin</artifactId> 341 <version>1.4</version> 342 <executions> 343 <execution> 344 <phase>validate</phase> 345 <goals> 346 <goal>create</goal> 347 </goals> 348 </execution> 349 </executions> 350 <configuration> 351 <getRevisionOnlyOnce>true</getRevisionOnlyOnce> 352 <attach>true</attach> 353 <addOutputDirectoryToResources>true</addOutputDirectoryToResources> 354 </configuration> 355 </plugin> 356 <plugin> 357 <groupId>org.codehaus.mojo</groupId> 358 <artifactId>license-maven-plugin</artifactId> 359 <version>2.2.0</version> 360 </plugin> 361 </plugins> 362 </pluginManagement> 363 </build> 364 <distributionManagement> 365 <repository> 366 <id>githubcldr</id> 367 <name>Maven@unicode-org/cldr</name> 368 <url>https://maven.pkg.github.com/unicode-org/cldr</url> 369 </repository> 370 </distributionManagement> 371</project> 372