From e09adbf05a136cc2e59159300d74e0ec81401e41 Mon Sep 17 00:00:00 2001 From: Mihai Nita Date: Tue, 3 Oct 2023 18:29:00 +0000 Subject: [PATCH] ICU-22324 Mavenization: removed license links (error on Windows) See #2652 --- icu4j/demos/src/main/resources/LICENSE | 1 - icu4j/main/charset/src/main/resources/LICENSE | 1 - icu4j/main/collate/src/main/resources/LICENSE | 1 - icu4j/main/core/src/main/resources/LICENSE | 1 - .../main/currdata/src/main/resources/LICENSE | 1 - .../main/framework/src/main/resources/LICENSE | 1 - icu4j/main/icu4j/src/main/resources/LICENSE | 1 - .../main/langdata/src/main/resources/LICENSE | 1 - .../main/localespi/src/main/resources/LICENSE | 1 - .../regiondata/src/main/resources/LICENSE | 1 - icu4j/main/shared/licenses/LICENSE | 1 - .../main/translit/src/main/resources/LICENSE | 1 - icu4j/pom.xml | 82 ++++++++++++------- icu4j/samples/src/main/resources/LICENSE | 1 - icu4j/tools/build/src/main/resources/LICENSE | 1 - icu4j/tools/misc/src/main/resources/LICENSE | 1 - 16 files changed, 51 insertions(+), 46 deletions(-) delete mode 120000 icu4j/demos/src/main/resources/LICENSE delete mode 120000 icu4j/main/charset/src/main/resources/LICENSE delete mode 120000 icu4j/main/collate/src/main/resources/LICENSE delete mode 120000 icu4j/main/core/src/main/resources/LICENSE delete mode 120000 icu4j/main/currdata/src/main/resources/LICENSE delete mode 120000 icu4j/main/framework/src/main/resources/LICENSE delete mode 120000 icu4j/main/icu4j/src/main/resources/LICENSE delete mode 120000 icu4j/main/langdata/src/main/resources/LICENSE delete mode 120000 icu4j/main/localespi/src/main/resources/LICENSE delete mode 120000 icu4j/main/regiondata/src/main/resources/LICENSE delete mode 120000 icu4j/main/shared/licenses/LICENSE delete mode 120000 icu4j/main/translit/src/main/resources/LICENSE delete mode 120000 icu4j/samples/src/main/resources/LICENSE delete mode 120000 icu4j/tools/build/src/main/resources/LICENSE delete mode 120000 icu4j/tools/misc/src/main/resources/LICENSE diff --git a/icu4j/demos/src/main/resources/LICENSE b/icu4j/demos/src/main/resources/LICENSE deleted file mode 120000 index 2a64f9d0fc6..00000000000 --- a/icu4j/demos/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/charset/src/main/resources/LICENSE b/icu4j/main/charset/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/charset/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/collate/src/main/resources/LICENSE b/icu4j/main/collate/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/collate/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/core/src/main/resources/LICENSE b/icu4j/main/core/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/core/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/currdata/src/main/resources/LICENSE b/icu4j/main/currdata/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/currdata/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/framework/src/main/resources/LICENSE b/icu4j/main/framework/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/framework/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/icu4j/src/main/resources/LICENSE b/icu4j/main/icu4j/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/icu4j/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/langdata/src/main/resources/LICENSE b/icu4j/main/langdata/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/langdata/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/localespi/src/main/resources/LICENSE b/icu4j/main/localespi/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/localespi/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/regiondata/src/main/resources/LICENSE b/icu4j/main/regiondata/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/regiondata/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/shared/licenses/LICENSE b/icu4j/main/shared/licenses/LICENSE deleted file mode 120000 index 14776154326..00000000000 --- a/icu4j/main/shared/licenses/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE \ No newline at end of file diff --git a/icu4j/main/translit/src/main/resources/LICENSE b/icu4j/main/translit/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/main/translit/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/pom.xml b/icu4j/pom.xml index 429d601d1cb..341057fd782 100644 --- a/icu4j/pom.xml +++ b/icu4j/pom.xml @@ -178,22 +178,6 @@ - - - @@ -272,6 +256,38 @@ org.codehaus.mojo build-helper-maven-plugin 3.4.0 + + + + add-resource + + add-resource + + + true + + + ${rootlocation}/.. + + LICENSE + + + + + + + root-location + initialize + + rootlocation + + + maven-release-plugin @@ -280,6 +296,21 @@ maven-enforcer-plugin 3.3.0 + + + enforce-maven + + enforce + + + + + 3.2.5 + + + + + maven-javadoc-plugin @@ -392,21 +423,10 @@ org.apache.maven.plugins maven-enforcer-plugin - - - enforce-maven - - enforce - - - - - 3.2.5 - - - - - + + + org.codehaus.mojo + build-helper-maven-plugin diff --git a/icu4j/samples/src/main/resources/LICENSE b/icu4j/samples/src/main/resources/LICENSE deleted file mode 120000 index 2a64f9d0fc6..00000000000 --- a/icu4j/samples/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/tools/build/src/main/resources/LICENSE b/icu4j/tools/build/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/tools/build/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file diff --git a/icu4j/tools/misc/src/main/resources/LICENSE b/icu4j/tools/misc/src/main/resources/LICENSE deleted file mode 120000 index ee8b6feb8cc..00000000000 --- a/icu4j/tools/misc/src/main/resources/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../../../../LICENSE \ No newline at end of file