Skip to content

Commit

Permalink
Add ICU4J Maven build profile for ICU4J v76 (#344)
Browse files Browse the repository at this point in the history
* Add ICU4J Maven build profile for ICU4J v76

* Add v76 to the ICU4J run configs
  • Loading branch information
echeran authored Nov 14, 2024
1 parent d2eb473 commit 91c85c5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 5 deletions.
30 changes: 30 additions & 0 deletions executors/icu4j/74/executor-icu4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,36 @@
</plugins>
</build>
</profile>
<profile>
<id>icu76</id>
<dependencies>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
<version>76.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<!-- see: https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html -->
<include>**/collator/icu74/*Test.java</include>
<include>**/langnames/icu74/*Test.java</include>
<include>**/likelysubtags/icu74/*Test.java</include>
<include>**/listformatter/icu74/*Test.java</include>
<include>**/messageformat2/icu75/*Test.java</include> <!-- latest MF2 version: ICU 75 -->
<include>**/numberformatter/icu74/*Test.java</include>
<include>**/pluralrules/icu74/*Test.java</include>
<include>**/relativedatetimeformat/icu74/*Test.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
Expand Down
19 changes: 14 additions & 5 deletions run_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@
"lang_names",
"likely_subtags",
"list_fmt",
"message_fmt2",
"number_fmt",
"plural_rules",
"rdt_fmt"
Expand All @@ -396,15 +397,23 @@
},
{
"prereq": {
"name": "mvn-icu4j-75-shaded",
"version": "75",
"command": "mvn -q -P icu75 -f ../executors/icu4j/74/executor-icu4j/pom.xml package -DskipTests=true"
"name": "mvn-icu4j-76-shaded",
"version": "76",
"command": "mvn -q -P icu76 -f ../executors/icu4j/74/executor-icu4j/pom.xml package"
},
"run": {
"icu_version": "icu75",
"icu_version": "icu76",
"exec": "icu4j",
"test_type": [
"message_fmt2"
"collation_short",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
"message_fmt2",
"number_fmt",
"plural_rules",
"rdt_fmt"
],
"per_execution": 10000
}
Expand Down

0 comments on commit 91c85c5

Please sign in to comment.