README_MAVEN.md
1# Maven progress
2
3## Running the migration scripts
4
5Change the folder to `<icuroot>/icu4j/` and run `maven-migration/toMaven.sh`.
6
7For convenience you can copy the `maven-migration` folder somewhere else and
8run the script from there. \
9But the current folder when running the script MUST be `<icuroot>/icu4j/`. \
10This is convenient if you work in a feature branch and don't want to integrate
11from `main` at this point. \
12So you checkout `main`, copy the `maven-migration` folder somewhere else,
13checkout `<feature_branch>`, and run script from where you copied it.
14
15## TODO
16
17- Packaging the many data files in a jar is slow (especially core)
18- The data files (.res & Co.) are spread out in the various modules.
19 So we would need a (non maven) step to distribute them.
20 Probably modify the step that produces the .jar files (in the C/C++ world)
21- done: The tests for localespi should become integration tests
22- We might want some integration tests to begin with
23- done: `LICENSE`, `security.policy`, anything else from `main/shared/` => LICENSE should be symlink.
24- done: The `.lst` files. All tests pass without, we can probably delete them. But need more testing.
25 If not, we need a way to generate them (right now I've copied them by hand)
26- Double-check dependencies.
27 Also see https://stackoverflow.com/questions/27726779/declare-maven-dependency-as-test-runtime-only
28- BOM (Bill of Materials). See https://reflectoring.io/maven-bom/
29- See the library shared with cldr tools
30- Also to do:
31 - promote this one folder up?
32 - done: - build things in parent (demos, samples, tools)
33 - done: - from the parent folder these will go away
34 - `main/` ?
35 - `maven/`
36 - `maven-build/`
37 - `manifest.stub`
38 - `coverage-exclusion.txt`
39 - `build.xml`
40 - `ivy.xml`
41- Change icu4j artifact description: \
42 from "International Component for Unicode for Java" \
43 to "International Components for Unicode for Java" (Components) \
44 Fix all instances (found 6 instances, 4 in older pom.xml files, 2 in .md files)
45
46> Copyright © 2023 and later Unicode, Inc. and others. All Rights Reserved.
47Unicode and the Unicode Logo are registered trademarks
48of Unicode, Inc. in the U.S. and other countries.
49[Terms of Use and License](http://www.unicode.org/copyright.html)
50