| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| * © 2023 and later: Unicode, Inc. and others. |
| * License & terms of use: http://www.unicode.org/copyright.html |
| --> |
| <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 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>icu4j-root</artifactId> |
| <version>74.2</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>icu4j</artifactId> |
| <description>International Components for Unicode for Java (ICU4J) is a mature, widely used Java library |
| providing Unicode and Globalization support</description> |
| |
| <properties> |
| <icu4j.api.doc.root.dir>${project.basedir}/../..</icu4j.api.doc.root.dir> |
| |
| <mf.Automatic-Module-Name>com.ibm.icu</mf.Automatic-Module-Name> |
| <mf.Bundle-SymbolicName>com.ibm.icu</mf.Bundle-SymbolicName> |
| <mf.Bundle-Name>ICU4J</mf.Bundle-Name> |
| <localTitle>International Components for Unicode for Java</localTitle> |
| <mf.Bundle-Description>${localTitle}</mf.Bundle-Description> |
| <mf.Implementation-Title>${localTitle}</mf.Implementation-Title> |
| <mf.Specification-Title>${localTitle}</mf.Specification-Title> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>collate</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>currdata</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>langdata</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>regiondata</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>translit</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>source-jar</id> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <createSourcesJar>true</createSourcesJar> |
| </configuration> |
| </execution> |
| <execution> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <useDependencyReducedPomInJar>true</useDependencyReducedPomInJar> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <manifestEntries> |
| <Main-Class>com.ibm.icu.util.VersionInfo</Main-Class> |
| <Export-Package>com.ibm.icu.lang,com.ibm.icu.math,com.ibm.icu.number,com.ibm.icu.text,com.ibm.icu.util</Export-Package> |
| </manifestEntries> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>.</directory> |
| <includes> |
| <include>**/dependency-reduced-pom.xml</include> |
| </includes> |
| <followSymlinks>false</followSymlinks> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>with_javadoc</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <!-- This is important. Since this is a shaded jar with no sources, |
| there is no javadoc generated without this line. |
| --> |
| <includeDependencySources>true</includeDependencySources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |