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</artifactId> 86 <version>76.1</version> 87 <!-- Note: see https://github.com/unicode-org/icu/packages/1954682/versions 88 for the icu4j.version tag to use. In general we should just use the latest 89 SNAPSHOT for the ICU version that we want, so this should only need updating 90 when the ICU version changes e.g. from 74.0.1, to 74.1, then to 75.0.1 --> 91 </dependency> 92 93 <!-- Useful common libraries. Note that some of the code in the CLDR library is also 94 built against a version of Guava that might not be as recent as this, so they 95 be kept approximately in sync for good measure. --> 96 <dependency> 97 <groupId>com.google.guava</groupId> 98 <artifactId>guava</artifactId> 99 <version>30.0-jre</version> 100 </dependency> 101 102 <!-- Ant: Only used for running the conversion tool, not compiling it. --> 103 <dependency> 104 <groupId>org.apache.ant</groupId> 105 <artifactId>ant</artifactId> 106 <version>1.10.11</version> 107 </dependency> 108 109 <!-- Testing only dependencies. --> 110 <dependency> 111 <groupId>com.google.truth</groupId> 112 <artifactId>truth</artifactId> 113 <version>1.0</version> 114 <scope>test</scope> 115 </dependency> 116 <dependency> 117 <groupId>com.google.truth.extensions</groupId> 118 <artifactId>truth-java8-extension</artifactId> 119 <version>1.0</version> 120 <scope>test</scope> 121 </dependency> 122 </dependencies> 123 124 <repositories> 125 <repository> 126 <id>githubcldr</id> 127 <name>GitHub unicode-org/icu Apache Maven Packages</name> 128 <url>https://maven.pkg.github.com/unicode-org/icu</url> 129 </repository> 130 </repositories> 131</project> 132