ppalaga commented on a change in pull request #2813:
URL: https://github.com/apache/camel-quarkus/pull/2813#discussion_r655501131
##########
File path:
extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelNativeImageProcessor.java
##########
@@ -217,31 +217,13 @@ void embedSelectResourcesInNativeExecutable(CamelConfig
config, ApplicationArchi
BuildProducer<NativeImageResourceBuildItem> resources) {
final ResourcesConfig resourcesConfig = config.native_.resources;
- if (!resourcesConfig.includePatterns.isPresent()) {
- LOGGER.debug("Not scanning resources for native inclusion as
include-patterns is not set");
- return;
+ if (resourcesConfig.includePatterns.isPresent()) {
+ throw new IllegalStateException(
+ "quarkus.camel.native.resources.include-patterns
configuration property was removed in Camel Quarkus 2.0.0. Use
quarkus.native.resources.includes instead.");
Review comment:
Yes, done in docs/modules/ROOT/pages/migration-guide/2.0.0.adoc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]