1<?xml version="1.0" encoding="UTF-8"?> 2<!-- © 2019 and later: Unicode, Inc. and others. 3 License & terms of use: http://www.unicode.org/copyright.html 4 See README.txt for instructions on updating the local repository. 5 --> 6<project xmlns="http://maven.apache.org/POM/4.0.0" 7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 8 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 9 <modelVersion>4.0.0</modelVersion> 10 11 <!-- Include the parent POM file to add the CLDR API dependency. --> 12 <parent> 13 <groupId>org.unicode.icu</groupId> 14 <artifactId>cldr-lib</artifactId> 15 <version>1.0</version> 16 <relativePath>../lib</relativePath> 17 </parent> 18 19 <properties> 20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 21 </properties> 22 23 <!-- No need for <groupId> here (it's defined by the parent POM). --> 24 <artifactId>cldr-to-icu</artifactId> 25 <version>1.0-SNAPSHOT</version> 26 <build> 27 <plugins> 28 <plugin> 29 <groupId>org.apache.maven.plugins</groupId> 30 <artifactId>maven-compiler-plugin</artifactId> 31 <version>3.5.1</version> 32 <configuration> 33 <source>8</source> 34 <target>8</target> 35 </configuration> 36 </plugin> 37 <plugin> 38 <groupId>org.codehaus.mojo</groupId> 39 <artifactId>exec-maven-plugin</artifactId> 40 <version>1.6.0</version> 41 <configuration> 42 <mainClass> 43 org.unicode.icu.tool.cldrtoicu.LdmlConverter 44 </mainClass> 45 <systemProperties> 46 <property> 47 <key>ICU_DIR</key> 48 <value>${project.basedir}/../../..</value> 49 </property> 50 </systemProperties> 51 </configuration> 52 </plugin> 53 <plugin> 54 <groupId>org.apache.maven.plugins</groupId> 55 <artifactId>maven-assembly-plugin</artifactId> 56 <version>3.1.1</version> 57 <executions> 58 <execution> 59 <phase>compile</phase> 60 <goals> 61 <goal>single</goal> 62 </goals> 63 <configuration> 64 <archive> 65 <manifest> 66 <mainClass> 67 org.unicode.icu.tool.cldrtoicu.LdmlConverter 68 </mainClass> 69 </manifest> 70 </archive> 71 <descriptorRefs> 72 <descriptorRef>jar-with-dependencies</descriptorRef> 73 </descriptorRefs> 74 </configuration> 75 </execution> 76 </executions> 77 </plugin> 78 </plugins> 79 </build> 80 81 <dependencies> 82 <!-- ICU4J - which should be kept as up-to-date as possible. --> 83 <dependency> 84 <groupId>com.ibm.icu</groupId> 85 <artifactId>icu4j-for-cldr</artifactId> 86 <version>72.1-cldr-2022-10-11</version> 87 <!-- Note: see https://github.com/unicode-org/icu/packages/411079/versions 88 for the icu4j-for-cldr version tag to use --> 89 </dependency> 90 91 <!-- Useful common libraries. Note that some of the code in the CLDR library is also 92 built against a version of Guava that might not be as recent as this, so they 93 be kept approximately in sync for good measure. --> 94 <dependency> 95 <groupId>com.google.guava</groupId> 96 <artifactId>guava</artifactId> 97 <version>30.0-jre</version> 98 </dependency> 99 100 <!-- Ant: Only used for running the conversion tool, not compiling it. --> 101 <dependency> 102 <groupId>org.apache.ant</groupId> 103 <artifactId>ant</artifactId> 104 <version>1.10.11</version> 105 </dependency> 106 107 <!-- Testing only dependencies. --> 108 <dependency> 109 <groupId>com.google.truth</groupId> 110 <artifactId>truth</artifactId> 111 <version>1.0</version> 112 <scope>test</scope> 113 </dependency> 114 <dependency> 115 <groupId>com.google.truth.extensions</groupId> 116 <artifactId>truth-java8-extension</artifactId> 117 <version>1.0</version> 118 <scope>test</scope> 119 </dependency> 120 </dependencies> 121 122 <repositories> 123 <repository> 124 <id>githubcldr</id> 125 <name>GitHub unicode-org/icu Apache Maven Packages</name> 126 <url>https://maven.pkg.github.com/unicode-org/icu</url> 127 </repository> 128 </repositories> 129</project> 130