Skip to content

Commit

Permalink
ICU-22605 Exclude the data files from the -sources.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
mihnita committed Dec 15, 2023
1 parent 19af9e7 commit e76094c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions icu4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<maven.compiler.target>1.8</maven.compiler.target>

<maven-central-repo-url>https://oss.sonatype.org</maven-central-repo-url>
<maven-central-releases-repo-url>${maven-central-repo-url}/service/local/staging/deploy/maven2</maven-central-releases-repo-url>
<maven-central-snapshots-repo-url>${maven-central-repo-url}/content/repositories/snapshots</maven-central-snapshots-repo-url>

<junit.version>4.13.2</junit.version>
Expand Down Expand Up @@ -236,6 +237,10 @@
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.4.5</version>
Expand Down Expand Up @@ -456,6 +461,16 @@
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>/com/ibm/icu/impl/data/icudt*/**</exclude>
<exclude>/com/ibm/icu/impl/duration/impl/data/*.xml</exclude>
<exclude>/com/ibm/icu/impl/duration/impl/data/*.xml.escaped</exclude>
<exclude>/com/ibm/icu/impl/duration/impl/data/*.txt</exclude>
<exclude>/com/ibm/icu/ICUConfig.properties</exclude>
<exclude>/**/package.html</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit e76094c

Please sign in to comment.