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