Commit 23711f3
4.x: Metadata module and loading of files compatible with single jars (helidon-io#10660)
* Introduced Helidon metadata module.
Updated all places where we read metadata files to use the new module.
Support for manifest file or classpath scanning depending on deployment "shape"
* Fix for windows - make sure we use / in location.
* Simplified implementation, removed customization.
* Fixes to updated behavior.
* Fixed build issue - wrong javadoc.
* Update to classpath scanning to avoid problems with closed jar file system.
Updated packaging test to use fat jar (only SE-1)
* Add debug for troubleshooting.
* Fix pattern to pick up integration tests.
* Removed troubleshooting log config.
* Added fat jar tests to SE inject.
Updated MP packaging tests to run no tests in the fat jar profile.
* Update comments and javadocs
---------
Co-authored-by: Romain Grecourt <romain.grecourt@oracle.com>1 parent 32e9deb commit 23711f3
98 files changed
Lines changed: 2106 additions & 186 deletions
File tree
- .github/workflows
- all
- bom
- builder/codegen/src/main/java
- io/helidon/builder/codegen
- codegen
- apt
- src/main/java/io/helidon/codegen/apt
- codegen
- src
- main/java
- io/helidon/codegen
- test/java/io/helidon/codegen
- common
- common
- src/main
- java
- io/helidon/common
- resources/META-INF/native-image/io.helidon.common/helidon-common
- features
- codegen/src/main/java
- io/helidon/common/features/codegen
- features
- src/main
- java
- io/helidon/common/features
- resources/META-INF/native-image/io.helidon.common.features/helidon-common-features
- metadata
- src/main/java
- io/helidon/common/features/metadata
- mapper/src/main/resources/META-INF/helidon
- io.helidon.common.mapper
- media-type
- src/main
- java
- io/helidon/common/media/type
- resources/META-INF/native-image/io.helidon.common/helidon-common-media-type
- config/config/src/main/resources/META-INF/helidon
- io.helidon.config
- data/tests
- etc
- integrations
- db/ojdbc/src/main/resources/META-INF/helidon
- com.oracle.database.jdbc/ojdbc17
- graal/native-image-extension/src/main/resources/META-INF/native-image/io.helidon.integrations.graal/helidon-graal-native-image-extension
- messaging/connectors/wls-jms/src/main/resources/META-INF/helidon
- io.helidon.messaging.connectors.wls
- metadata
- metadata
- etc/spotbugs
- src
- main
- java
- io/helidon/metadata
- resources/META-INF/native-image/io.helidon.metadata/helidon-metadata
- test
- java/io/helidon/metadata
- resources/META-INF
- helidon
- io.helidon.metadata
- unit1
- tests
- bad-manifest
- src
- main/resources/META-INF/helidon
- test/java/io/helidon/metadata/tests/bad/manifest
- microprofile/config/src/main/resources/META-INF/helidon
- io.helidon.microprofile.config
- service
- codegen/src/main/java
- io/helidon/service/codegen
- maven-plugin/src/main/java
- io/helidon/service/maven/plugin
- metadata
- src/main/java
- io/helidon/service/metadata
- registry
- src/main
- java
- io/helidon/service/registry
- resources/META-INF/native-image/io.helidon.service/helidon-service-registry
- tests/integration
- harness/src/main/java/io/helidon/tests/integration/harness
- jep290/set_f/src/main/resources/META-INF/helidon
- unnamed/io.helidon.tests.integration.jep290.setf
- packaging
- inject
- src
- main
- assembly
- java/io/helidon/tests/integration/packaging/inject
- test/java/io/helidon/tests/integration/packaging/inject
- mp-1
- mp-2
- mp-3
- se-1
- src
- main
- assembly
- resources
- test/java/io/helidon/tests/integration/packaging/se1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1273 | 1273 | | |
1274 | 1274 | | |
1275 | 1275 | | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1276 | 1280 | | |
1277 | 1281 | | |
1278 | 1282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1721 | 1721 | | |
1722 | 1722 | | |
1723 | 1723 | | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
1724 | 1729 | | |
1725 | 1730 | | |
1726 | 1731 | | |
| |||
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
322 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
323 | 328 | | |
324 | 329 | | |
325 | 330 | | |
| |||
335 | 340 | | |
336 | 341 | | |
337 | 342 | | |
| 343 | + | |
| 344 | + | |
338 | 345 | | |
339 | 346 | | |
340 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
144 | 153 | | |
145 | 154 | | |
146 | 155 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments