diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 1a26f31bfd5..bfcb5fed294 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -7,7 +7,7 @@ on:
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
env:
- SHARED_MVN_ARGS: '--show-version --no-transfer-progress'
+ SHARED_MVN_ARGS: '--show-version'
permissions:
contents: read
@@ -34,13 +34,9 @@ jobs:
echo Github Ref ${GITHUB_REF} @ ${GITHUB_SHA};
cd icu4j
mvn deploy ${SHARED_MVN_ARGS} \
- -pl main/icu4j \
+ -pl :icu4j,:utilities-for-cldr,:icu4j-root \
-DaltDeploymentRepository=github::https://maven.pkg.github.com/${GITHUB_REPOSITORY} \
- -P with_sources
- mvn deploy ${SHARED_MVN_ARGS} \
- -pl tools/utilities-for-cldr \
- -DaltDeploymentRepository=github::https://maven.pkg.github.com/${GITHUB_REPOSITORY} \
- -P cldr_tools,with_sources
+ -P cldr_utilities,with_sources
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Note: can use 0.0.0-${GITHUB_SHA} as the version for hash-based.
diff --git a/icu4j/demos/pom.xml b/icu4j/demos/pom.xml
index 3515d4cedee..3c35f57cc56 100644
--- a/icu4j/demos/pom.xml
+++ b/icu4j/demos/pom.xml
@@ -35,4 +35,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/main/charset/pom.xml b/icu4j/main/charset/pom.xml
index 5626b166c78..b911c2a0f93 100644
--- a/icu4j/main/charset/pom.xml
+++ b/icu4j/main/charset/pom.xml
@@ -7,11 +7,13 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
icu4j-charset
+ icu4j-charset is a supplemental library for icu4j, implementing Java Charset SPI.
${project.basedir}/../..
@@ -68,12 +70,6 @@
-
- maven-deploy-plugin
-
- false
-
-
diff --git a/icu4j/main/collate/pom.xml b/icu4j/main/collate/pom.xml
index e58ee511ce3..a4ffdc12d43 100644
--- a/icu4j/main/collate/pom.xml
+++ b/icu4j/main/collate/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
collate
@@ -66,4 +67,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/main/common_tests/pom.xml b/icu4j/main/common_tests/pom.xml
index 6f8abdddaa6..17237e54a44 100644
--- a/icu4j/main/common_tests/pom.xml
+++ b/icu4j/main/common_tests/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
common_tests
@@ -96,6 +97,13 @@
+
+ maven-deploy-plugin
+
+
+ true
+
+
diff --git a/icu4j/main/core/pom.xml b/icu4j/main/core/pom.xml
index 773546c020e..3fa38b170af 100644
--- a/icu4j/main/core/pom.xml
+++ b/icu4j/main/core/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
core
@@ -60,6 +61,13 @@
+
+ maven-deploy-plugin
+
+
+ true
+
+
diff --git a/icu4j/main/currdata/pom.xml b/icu4j/main/currdata/pom.xml
index 61b717824f4..08388948449 100644
--- a/icu4j/main/currdata/pom.xml
+++ b/icu4j/main/currdata/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
currdata
@@ -26,4 +27,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/main/framework/pom.xml b/icu4j/main/framework/pom.xml
index c3bcdbdc38b..140f44a0a03 100644
--- a/icu4j/main/framework/pom.xml
+++ b/icu4j/main/framework/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
framework
@@ -46,8 +47,14 @@
+
+ maven-deploy-plugin
+
+
+ true
+
+
-
diff --git a/icu4j/main/icu4j/pom.xml b/icu4j/main/icu4j/pom.xml
index 27c8f6d9957..3fef0f1690b 100644
--- a/icu4j/main/icu4j/pom.xml
+++ b/icu4j/main/icu4j/pom.xml
@@ -8,11 +8,14 @@
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
icu4j
+ International Components for Unicode for Java (ICU4J) is a mature, widely used Java library
+ providing Unicode and Globalization support
${project.basedir}/../..
@@ -84,6 +87,7 @@
true
${project.build.directory}/dependency-reduced-pom.xml
true
+ true
@@ -110,12 +114,6 @@
-
- maven-deploy-plugin
-
- false
-
-
diff --git a/icu4j/main/langdata/pom.xml b/icu4j/main/langdata/pom.xml
index 4818fa5ac53..2d754234d32 100644
--- a/icu4j/main/langdata/pom.xml
+++ b/icu4j/main/langdata/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
langdata
@@ -26,4 +27,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/main/localespi/pom.xml b/icu4j/main/localespi/pom.xml
index ccdbb89a50e..b9d320f908b 100644
--- a/icu4j/main/localespi/pom.xml
+++ b/icu4j/main/localespi/pom.xml
@@ -7,11 +7,13 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
icu4j-localespi
+ icu4j-localespi is a supplemental library for icu4j, implementing Java Locale SPI.
JDK locale service provider
@@ -183,13 +185,6 @@
-
- maven-deploy-plugin
-
- false
-
-
-
diff --git a/icu4j/main/pom.xml b/icu4j/main/pom.xml
deleted file mode 100644
index 095eb574f6c..00000000000
--- a/icu4j/main/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
- 4.0.0
-
- com.ibm.icu
- icu4j-root
- 74.1-SNAPSHOT
-
-
- main
- pom
-
-
- ${project.basedir}/..
-
-
-
- framework
- core
-
-
- charset
- collate
- currdata
- langdata
- regiondata
- translit
- common_tests
-
-
- icu4j
-
-
- localespi
-
-
-
diff --git a/icu4j/main/regiondata/pom.xml b/icu4j/main/regiondata/pom.xml
index 07d5f86c297..c12261455c7 100644
--- a/icu4j/main/regiondata/pom.xml
+++ b/icu4j/main/regiondata/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
regiondata
@@ -26,4 +27,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/main/translit/pom.xml b/icu4j/main/translit/pom.xml
index c7fae364602..0afd70003b8 100644
--- a/icu4j/main/translit/pom.xml
+++ b/icu4j/main/translit/pom.xml
@@ -7,8 +7,9 @@
4.0.0
com.ibm.icu
- main
+ icu4j-root
74.1-SNAPSHOT
+ ../../pom.xml
translit
@@ -61,4 +62,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/perf-tests/pom.xml b/icu4j/perf-tests/pom.xml
index b8b94e08575..e10ea7c18eb 100644
--- a/icu4j/perf-tests/pom.xml
+++ b/icu4j/perf-tests/pom.xml
@@ -40,4 +40,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/pom.xml b/icu4j/pom.xml
index 6d3c0169b4f..429d601d1cb 100644
--- a/icu4j/pom.xml
+++ b/icu4j/pom.xml
@@ -13,7 +13,8 @@
${proj-title} (${project.artifactId})
International Components for Unicode for Java (ICU4J) is a mature, widely used Java library
- providing Unicode and Globalization support
+ providing Unicode and Globalization support.
+ This is the base artifact with common settings, not intended to use directly.
https://icu.unicode.org/
1995
@@ -23,7 +24,23 @@
- main
+ main/framework
+ main/core
+
+ main/charset
+ main/collate
+ main/currdata
+ main/langdata
+ main/regiondata
+ main/translit
+ main/common_tests
+
+ main/icu4j
+
+ main/localespi
+
demos
samples
tools/misc
@@ -36,8 +53,7 @@
1.8
1.8
- https://oss.sonatype.org
- ${maven-central-repo-url}/service/local/staging/deploy/maven2
+ https://oss.sonatype.org
${maven-central-repo-url}/content/repositories/snapshots
4.13.2
@@ -227,13 +243,6 @@
maven-deploy-plugin
3.1.1
-
-
- true
-
maven-site-plugin
diff --git a/icu4j/samples/pom.xml b/icu4j/samples/pom.xml
index 499cf5380ef..6795c80febb 100644
--- a/icu4j/samples/pom.xml
+++ b/icu4j/samples/pom.xml
@@ -30,4 +30,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/tools/build/pom.xml b/icu4j/tools/build/pom.xml
index 588442c3f57..e222ac9686a 100644
--- a/icu4j/tools/build/pom.xml
+++ b/icu4j/tools/build/pom.xml
@@ -28,4 +28,16 @@
+
+
+
+ maven-deploy-plugin
+
+
+ true
+
+
+
+
+
diff --git a/icu4j/tools/misc/pom.xml b/icu4j/tools/misc/pom.xml
index 6eb6f434463..78942408839 100644
--- a/icu4j/tools/misc/pom.xml
+++ b/icu4j/tools/misc/pom.xml
@@ -43,6 +43,13 @@
+
+ maven-deploy-plugin
+
+
+ true
+
+
diff --git a/icu4j/tools/utilities-for-cldr/pom.xml b/icu4j/tools/utilities-for-cldr/pom.xml
index b0eaa4906a8..210dd20844e 100644
--- a/icu4j/tools/utilities-for-cldr/pom.xml
+++ b/icu4j/tools/utilities-for-cldr/pom.xml
@@ -41,27 +41,45 @@
-
+
+
+
+ maven-javadoc-plugin
+
+ true
+
+
+
+
+ maven-deploy-plugin
+
+ true
+
+
com.ibm.icu
- translit
+ icu4j
${project.version}
- cldr_tools
+ cldr_utilities
-
maven-deploy-plugin