Skip to content

Commit 397905b

Browse files
committed
Sync documentation of main branch
1 parent 5ed19e2 commit 397905b

16 files changed

+629
-20
lines changed

_data/versioned/main/index/quarkus.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2701,6 +2701,17 @@ types:
27012701
- extensions
27022702
type: guide
27032703
url: /guides/writing-native-applications-tips
2704+
- title: Tree-shaking JAR dependencies
2705+
filename: jar-tree-shaking.adoc
2706+
summary: This guide explains how to reduce JAR size by removing unreachable classes from runtime dependencies.
2707+
categories: core
2708+
topics:
2709+
- packaging
2710+
- jar
2711+
- tree-shaking
2712+
- optimization
2713+
type: guide
2714+
url: /guides/jar-tree-shaking
27042715
- title: Use Hibernate Search in Standalone mode with Elasticsearch/OpenSearch
27052716
filename: hibernate-search-standalone-elasticsearch.adoc
27062717
summary: "Hibernate Search Standalone allows you to index your entities in an Elasticsearch/OpenSearch cluster and easily offer full text search in all your applications, even without Hibernate ORM."

_generated-doc/main/config/quarkus-agroal.adoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,32 @@ endif::add-copy-button-to-env-var[]
853853
|boolean
854854
|`+++false if quarkus.datasource.jdbc.telemetry=false and true if quarkus.datasource.jdbc.telemetry=true+++`
855855

856+
a| [[quarkus-agroal_quarkus-datasource-jdbc-telemetry-trace-connection]] [.property-path]##link:#quarkus-agroal_quarkus-datasource-jdbc-telemetry-trace-connection[`+++quarkus.datasource.jdbc.telemetry.trace-connection+++`]##
857+
ifdef::add-copy-button-to-config-props[]
858+
config_property_copy_button:+++quarkus.datasource.jdbc.telemetry.trace-connection+++[]
859+
endif::add-copy-button-to-config-props[]
860+
861+
862+
`+++quarkus.datasource."datasource-name".jdbc.telemetry.trace-connection+++`
863+
ifdef::add-copy-button-to-config-props[]
864+
config_property_copy_button:+++quarkus.datasource."datasource-name".jdbc.telemetry.trace-connection+++[]
865+
endif::add-copy-button-to-config-props[]
866+
867+
[.description]
868+
--
869+
Enable tracing of the connection acquisition from the datasource. When enabled, a span is created for each `getConnection()` call.
870+
871+
872+
ifdef::add-copy-button-to-env-var[]
873+
Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_JDBC_TELEMETRY_TRACE_CONNECTION+++[]
874+
endif::add-copy-button-to-env-var[]
875+
ifndef::add-copy-button-to-env-var[]
876+
Environment variable: `+++QUARKUS_DATASOURCE_JDBC_TELEMETRY_TRACE_CONNECTION+++`
877+
endif::add-copy-button-to-env-var[]
878+
--
879+
|boolean
880+
|`+++false+++`
881+
856882
a|icon:lock[title=Fixed at build time] [[quarkus-agroal_quarkus-datasource-jdbc-enable-metrics]] [.property-path]##link:#quarkus-agroal_quarkus-datasource-jdbc-enable-metrics[[.line-through]#`+++quarkus.datasource.jdbc.enable-metrics+++`#]##
857883
ifdef::add-copy-button-to-config-props[]
858884
config_property_copy_button:+++quarkus.datasource.jdbc.enable-metrics+++[]

_generated-doc/main/config/quarkus-agroal_quarkus.datasource.adoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,32 @@ endif::add-copy-button-to-env-var[]
853853
|boolean
854854
|`+++false if quarkus.datasource.jdbc.telemetry=false and true if quarkus.datasource.jdbc.telemetry=true+++`
855855

856+
a| [[quarkus-agroal_quarkus-datasource-jdbc-telemetry-trace-connection]] [.property-path]##link:#quarkus-agroal_quarkus-datasource-jdbc-telemetry-trace-connection[`+++quarkus.datasource.jdbc.telemetry.trace-connection+++`]##
857+
ifdef::add-copy-button-to-config-props[]
858+
config_property_copy_button:+++quarkus.datasource.jdbc.telemetry.trace-connection+++[]
859+
endif::add-copy-button-to-config-props[]
860+
861+
862+
`+++quarkus.datasource."datasource-name".jdbc.telemetry.trace-connection+++`
863+
ifdef::add-copy-button-to-config-props[]
864+
config_property_copy_button:+++quarkus.datasource."datasource-name".jdbc.telemetry.trace-connection+++[]
865+
endif::add-copy-button-to-config-props[]
866+
867+
[.description]
868+
--
869+
Enable tracing of the connection acquisition from the datasource. When enabled, a span is created for each `getConnection()` call.
870+
871+
872+
ifdef::add-copy-button-to-env-var[]
873+
Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_JDBC_TELEMETRY_TRACE_CONNECTION+++[]
874+
endif::add-copy-button-to-env-var[]
875+
ifndef::add-copy-button-to-env-var[]
876+
Environment variable: `+++QUARKUS_DATASOURCE_JDBC_TELEMETRY_TRACE_CONNECTION+++`
877+
endif::add-copy-button-to-env-var[]
878+
--
879+
|boolean
880+
|`+++false+++`
881+
856882
a|icon:lock[title=Fixed at build time] [[quarkus-agroal_quarkus-datasource-jdbc-enable-metrics]] [.property-path]##link:#quarkus-agroal_quarkus-datasource-jdbc-enable-metrics[[.line-through]#`+++quarkus.datasource.jdbc.enable-metrics+++`#]##
857883
ifdef::add-copy-button-to-config-props[]
858884
config_property_copy_button:+++quarkus.datasource.jdbc.enable-metrics+++[]

_generated-doc/main/config/quarkus-all-config.adoc

Lines changed: 97 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,32 @@ endif::add-copy-button-to-env-var[]
853853
|boolean
854854
|`+++false if quarkus.datasource.jdbc.telemetry=false and true if quarkus.datasource.jdbc.telemetry=true+++`
855855

856+
a| [[quarkus-agroal_quarkus-datasource-jdbc-telemetry-trace-connection]] [.property-path]##link:#quarkus-agroal_quarkus-datasource-jdbc-telemetry-trace-connection[`+++quarkus.datasource.jdbc.telemetry.trace-connection+++`]##
857+
ifdef::add-copy-button-to-config-props[]
858+
config_property_copy_button:+++quarkus.datasource.jdbc.telemetry.trace-connection+++[]
859+
endif::add-copy-button-to-config-props[]
860+
861+
862+
`+++quarkus.datasource."datasource-name".jdbc.telemetry.trace-connection+++`
863+
ifdef::add-copy-button-to-config-props[]
864+
config_property_copy_button:+++quarkus.datasource."datasource-name".jdbc.telemetry.trace-connection+++[]
865+
endif::add-copy-button-to-config-props[]
866+
867+
[.description]
868+
--
869+
Enable tracing of the connection acquisition from the datasource. When enabled, a span is created for each `getConnection()` call.
870+
871+
872+
ifdef::add-copy-button-to-env-var[]
873+
Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_JDBC_TELEMETRY_TRACE_CONNECTION+++[]
874+
endif::add-copy-button-to-env-var[]
875+
ifndef::add-copy-button-to-env-var[]
876+
Environment variable: `+++QUARKUS_DATASOURCE_JDBC_TELEMETRY_TRACE_CONNECTION+++`
877+
endif::add-copy-button-to-env-var[]
878+
--
879+
|boolean
880+
|`+++false+++`
881+
856882
a|icon:lock[title=Fixed at build time] [[quarkus-agroal_quarkus-datasource-jdbc-enable-metrics]] [.property-path]##link:#quarkus-agroal_quarkus-datasource-jdbc-enable-metrics[[.line-through]#`+++quarkus.datasource.jdbc.enable-metrics+++`#]##
857883
ifdef::add-copy-button-to-config-props[]
858884
config_property_copy_button:+++quarkus.datasource.jdbc.enable-metrics+++[]
@@ -10282,6 +10308,55 @@ endif::add-copy-button-to-env-var[]
1028210308
|boolean
1028310309
|`+++true+++`
1028410310

10311+
a|icon:lock[title=Fixed at build time] [[quarkus-core_quarkus-package-jar-tree-shake-mode]] [.property-path]##link:#quarkus-core_quarkus-package-jar-tree-shake-mode[`+++quarkus.package.jar.tree-shake.mode+++`]##
10312+
ifdef::add-copy-button-to-config-props[]
10313+
config_property_copy_button:+++quarkus.package.jar.tree-shake.mode+++[]
10314+
endif::add-copy-button-to-config-props[]
10315+
10316+
10317+
[.description]
10318+
--
10319+
Whether to perform class reachability analysis and exclude non-reachable classes from the produced JAR.
10320+
10321+
- `none` - No analysis or exclusion is performed.
10322+
- `classes` - Exclude non-reachable classes from dependencies.
10323+
10324+
10325+
ifdef::add-copy-button-to-env-var[]
10326+
Environment variable: env_var_with_copy_button:+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_MODE+++[]
10327+
endif::add-copy-button-to-env-var[]
10328+
ifndef::add-copy-button-to-env-var[]
10329+
Environment variable: `+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_MODE+++`
10330+
endif::add-copy-button-to-env-var[]
10331+
--
10332+
a|tooltip:none[No analysis or exclusion is performed.], tooltip:classes[Exclude non-reachable classes from dependencies.]
10333+
|tooltip:none[No analysis or exclusion is performed.]
10334+
10335+
a|icon:lock[title=Fixed at build time] [[quarkus-core_quarkus-package-jar-tree-shake-excluded-artifacts]] [.property-path]##link:#quarkus-core_quarkus-package-jar-tree-shake-excluded-artifacts[`+++quarkus.package.jar.tree-shake.excluded-artifacts+++`]##
10336+
ifdef::add-copy-button-to-config-props[]
10337+
config_property_copy_button:+++quarkus.package.jar.tree-shake.excluded-artifacts+++[]
10338+
endif::add-copy-button-to-config-props[]
10339+
10340+
10341+
[.description]
10342+
--
10343+
Dependency artifacts to exclude from tree-shaking. All classes from excluded artifacts are preserved regardless of reachability analysis.
10344+
10345+
This is useful for libraries that perform self-integrity checks (e.g., BouncyCastle FIPS) or that load classes in ways the tree-shaker cannot detect.
10346+
10347+
Each dependency is expressed as `groupId:artifactId++[++:++[++classifier++][++:++[++type++]]]++`. The classifier and type are optional. If the type is missing, `jar` is assumed.
10348+
10349+
10350+
ifdef::add-copy-button-to-env-var[]
10351+
Environment variable: env_var_with_copy_button:+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_EXCLUDED_ARTIFACTS+++[]
10352+
endif::add-copy-button-to-env-var[]
10353+
ifndef::add-copy-button-to-env-var[]
10354+
Environment variable: `+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_EXCLUDED_ARTIFACTS+++`
10355+
endif::add-copy-button-to-env-var[]
10356+
--
10357+
|list of string
10358+
|
10359+
1028510360
a|icon:lock[title=Fixed at build time] [[quarkus-core_quarkus-package-jar-force-use-artifact-id-only-as-name]] [.property-path]##link:#quarkus-core_quarkus-package-jar-force-use-artifact-id-only-as-name[`+++quarkus.package.jar.force-use-artifact-id-only-as-name+++`]##
1028610361
ifdef::add-copy-button-to-config-props[]
1028710362
config_property_copy_button:+++quarkus.package.jar.force-use-artifact-id-only-as-name+++[]
@@ -73047,7 +73122,7 @@ Environment variable: `+++QUARKUS_OBSERVABILITY_LGTM_IMAGE_NAME+++`
7304773122
endif::add-copy-button-to-env-var[]
7304873123
--
7304973124
|string
73050-
|`+++docker.io/grafana/otel-lgtm:0.12.0+++`
73125+
|`+++docker.io/grafana/otel-lgtm:0.24.0+++`
7305173126

7305273127
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases[`+++quarkus.observability.lgtm.network-aliases+++`]##
7305373128
ifdef::add-copy-button-to-config-props[]
@@ -73217,6 +73292,27 @@ endif::add-copy-button-to-env-var[]
7321773292
|int
7321873293
|
7321973294

73295+
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port[`+++quarkus.observability.lgtm.tempo-mcp-port+++`]##
73296+
ifdef::add-copy-button-to-config-props[]
73297+
config_property_copy_button:+++quarkus.observability.lgtm.tempo-mcp-port+++[]
73298+
endif::add-copy-button-to-config-props[]
73299+
73300+
73301+
[.description]
73302+
--
73303+
Tempo MCP port, if set it will be a fixed value.
73304+
73305+
73306+
ifdef::add-copy-button-to-env-var[]
73307+
Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_MCP_PORT+++[]
73308+
endif::add-copy-button-to-env-var[]
73309+
ifndef::add-copy-button-to-env-var[]
73310+
Environment variable: `+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_MCP_PORT+++`
73311+
endif::add-copy-button-to-env-var[]
73312+
--
73313+
|int
73314+
|
73315+
7322073316

7322173317
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-enabled]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-enabled[`+++quarkus.observability.enabled+++`]##
7322273318
ifdef::add-copy-button-to-config-props[]

_generated-doc/main/config/quarkus-core_quarkus.package.adoc

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,55 @@ endif::add-copy-button-to-env-var[]
339339
|boolean
340340
|`+++true+++`
341341

342+
a|icon:lock[title=Fixed at build time] [[quarkus-core_quarkus-package-jar-tree-shake-mode]] [.property-path]##link:#quarkus-core_quarkus-package-jar-tree-shake-mode[`+++quarkus.package.jar.tree-shake.mode+++`]##
343+
ifdef::add-copy-button-to-config-props[]
344+
config_property_copy_button:+++quarkus.package.jar.tree-shake.mode+++[]
345+
endif::add-copy-button-to-config-props[]
346+
347+
348+
[.description]
349+
--
350+
Whether to perform class reachability analysis and exclude non-reachable classes from the produced JAR.
351+
352+
- `none` - No analysis or exclusion is performed.
353+
- `classes` - Exclude non-reachable classes from dependencies.
354+
355+
356+
ifdef::add-copy-button-to-env-var[]
357+
Environment variable: env_var_with_copy_button:+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_MODE+++[]
358+
endif::add-copy-button-to-env-var[]
359+
ifndef::add-copy-button-to-env-var[]
360+
Environment variable: `+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_MODE+++`
361+
endif::add-copy-button-to-env-var[]
362+
--
363+
a|tooltip:none[No analysis or exclusion is performed.], tooltip:classes[Exclude non-reachable classes from dependencies.]
364+
|tooltip:none[No analysis or exclusion is performed.]
365+
366+
a|icon:lock[title=Fixed at build time] [[quarkus-core_quarkus-package-jar-tree-shake-excluded-artifacts]] [.property-path]##link:#quarkus-core_quarkus-package-jar-tree-shake-excluded-artifacts[`+++quarkus.package.jar.tree-shake.excluded-artifacts+++`]##
367+
ifdef::add-copy-button-to-config-props[]
368+
config_property_copy_button:+++quarkus.package.jar.tree-shake.excluded-artifacts+++[]
369+
endif::add-copy-button-to-config-props[]
370+
371+
372+
[.description]
373+
--
374+
Dependency artifacts to exclude from tree-shaking. All classes from excluded artifacts are preserved regardless of reachability analysis.
375+
376+
This is useful for libraries that perform self-integrity checks (e.g., BouncyCastle FIPS) or that load classes in ways the tree-shaker cannot detect.
377+
378+
Each dependency is expressed as `groupId:artifactId++[++:++[++classifier++][++:++[++type++]]]++`. The classifier and type are optional. If the type is missing, `jar` is assumed.
379+
380+
381+
ifdef::add-copy-button-to-env-var[]
382+
Environment variable: env_var_with_copy_button:+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_EXCLUDED_ARTIFACTS+++[]
383+
endif::add-copy-button-to-env-var[]
384+
ifndef::add-copy-button-to-env-var[]
385+
Environment variable: `+++QUARKUS_PACKAGE_JAR_TREE_SHAKE_EXCLUDED_ARTIFACTS+++`
386+
endif::add-copy-button-to-env-var[]
387+
--
388+
|list of string
389+
|
390+
342391
a|icon:lock[title=Fixed at build time] [[quarkus-core_quarkus-package-jar-force-use-artifact-id-only-as-name]] [.property-path]##link:#quarkus-core_quarkus-package-jar-force-use-artifact-id-only-as-name[`+++quarkus.package.jar.force-use-artifact-id-only-as-name+++`]##
343392
ifdef::add-copy-button-to-config-props[]
344393
config_property_copy_button:+++quarkus.package.jar.force-use-artifact-id-only-as-name+++[]

_generated-doc/main/config/quarkus-observability-devservices.adoc

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Environment variable: `+++QUARKUS_OBSERVABILITY_LGTM_IMAGE_NAME+++`
183183
endif::add-copy-button-to-env-var[]
184184
--
185185
|string
186-
|`+++docker.io/grafana/otel-lgtm:0.12.0+++`
186+
|`+++docker.io/grafana/otel-lgtm:0.24.0+++`
187187

188188
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases[`+++quarkus.observability.lgtm.network-aliases+++`]##
189189
ifdef::add-copy-button-to-config-props[]
@@ -353,6 +353,27 @@ endif::add-copy-button-to-env-var[]
353353
|int
354354
|
355355

356+
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port[`+++quarkus.observability.lgtm.tempo-mcp-port+++`]##
357+
ifdef::add-copy-button-to-config-props[]
358+
config_property_copy_button:+++quarkus.observability.lgtm.tempo-mcp-port+++[]
359+
endif::add-copy-button-to-config-props[]
360+
361+
362+
[.description]
363+
--
364+
Tempo MCP port, if set it will be a fixed value.
365+
366+
367+
ifdef::add-copy-button-to-env-var[]
368+
Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_MCP_PORT+++[]
369+
endif::add-copy-button-to-env-var[]
370+
ifndef::add-copy-button-to-env-var[]
371+
Environment variable: `+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_MCP_PORT+++`
372+
endif::add-copy-button-to-env-var[]
373+
--
374+
|int
375+
|
376+
356377

357378
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-enabled]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-enabled[`+++quarkus.observability.enabled+++`]##
358379
ifdef::add-copy-button-to-config-props[]

_generated-doc/main/config/quarkus-observability-devservices_quarkus.observability.adoc

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Environment variable: `+++QUARKUS_OBSERVABILITY_LGTM_IMAGE_NAME+++`
183183
endif::add-copy-button-to-env-var[]
184184
--
185185
|string
186-
|`+++docker.io/grafana/otel-lgtm:0.12.0+++`
186+
|`+++docker.io/grafana/otel-lgtm:0.24.0+++`
187187

188188
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases[`+++quarkus.observability.lgtm.network-aliases+++`]##
189189
ifdef::add-copy-button-to-config-props[]
@@ -353,6 +353,27 @@ endif::add-copy-button-to-env-var[]
353353
|int
354354
|
355355

356+
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port[`+++quarkus.observability.lgtm.tempo-mcp-port+++`]##
357+
ifdef::add-copy-button-to-config-props[]
358+
config_property_copy_button:+++quarkus.observability.lgtm.tempo-mcp-port+++[]
359+
endif::add-copy-button-to-config-props[]
360+
361+
362+
[.description]
363+
--
364+
Tempo MCP port, if set it will be a fixed value.
365+
366+
367+
ifdef::add-copy-button-to-env-var[]
368+
Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_MCP_PORT+++[]
369+
endif::add-copy-button-to-env-var[]
370+
ifndef::add-copy-button-to-env-var[]
371+
Environment variable: `+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_MCP_PORT+++`
372+
endif::add-copy-button-to-env-var[]
373+
--
374+
|int
375+
|
376+
356377

357378
a|icon:lock[title=Fixed at build time] [[quarkus-observability-devservices_quarkus-observability-enabled]] [.property-path]##link:#quarkus-observability-devservices_quarkus-observability-enabled[`+++quarkus.observability.enabled+++`]##
358379
ifdef::add-copy-button-to-config-props[]

_generated-doc/main/infra/quarkus-all-build-items.adoc

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,49 @@ _No Javadoc found_
14331433

14341434

14351435

1436+
a| https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/pkg/builditem/JarTreeShakeBuildItem.java[`io.quarkus.deployment.pkg.builditem.JarTreeShakeBuildItem`, window="_blank"]
1437+
[.description]
1438+
--
1439+
Build item that holds the results of dependency usage analysis for tree shaking. Contains whether class-level tree shaking was performed, the set of reachable class names (dot-separated), and the sorted list of removed class resource paths per dependency.
1440+
-- a|`boolean classesShaken`
1441+
1442+
_No Javadoc found_
1443+
1444+
`java.util.Set<String> reachableClassNames`
1445+
1446+
_No Javadoc found_
1447+
1448+
`java.util.Map<ArtifactKey,List<String>> removedClasses`
1449+
1450+
_No Javadoc found_
1451+
1452+
1453+
1454+
1455+
a| https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/pkg/builditem/JarTreeShakeExcludedArtifactBuildItem.java[`io.quarkus.deployment.pkg.builditem.JarTreeShakeExcludedArtifactBuildItem`, window="_blank"]
1456+
[.description]
1457+
--
1458+
Excludes an entire dependency artifact from jar tree-shake class removal. All classes from excluded artifacts are treated as reachable and will never be removed by the tree-shaker.
1459+
This is needed for libraries like BouncyCastle FIPS that perform self-integrity checks (checksums over their own classes) and break if any classes are removed.
1460+
-- a|`io.quarkus.maven.dependency.ArtifactKey artifactKey`
1461+
1462+
_No Javadoc found_
1463+
1464+
1465+
1466+
1467+
a| https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/pkg/builditem/JarTreeShakeRootClassBuildItem.java[`io.quarkus.deployment.pkg.builditem.JarTreeShakeRootClassBuildItem`, window="_blank"]
1468+
[.description]
1469+
--
1470+
This build item is meant to be internal to `io.quarkus.deployment.pkg.steps.JarTreeShakeProcessor` , in a sense it's produced and consumed by it.
1471+
Declares a class that must be treated as a root for jar tree-shake reachability analysis. Any class registered through this build item will not be removed by the tree-shaker, and all classes reachable from it will also be preserved.
1472+
-- a|`java.lang.String className`
1473+
1474+
_No Javadoc found_
1475+
1476+
1477+
1478+
14361479
a| https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/builditem/JavaLibraryPathAdditionalPathBuildItem.java[`io.quarkus.deployment.builditem.JavaLibraryPathAdditionalPathBuildItem`, window="_blank"]
14371480
[.description]
14381481
--

0 commit comments

Comments
 (0)