aldettinger commented on a change in pull request #2813:
URL: https://github.com/apache/camel-quarkus/pull/2813#discussion_r655428304



##########
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:
       If we break in camel-quarkus 2.0, then maybe it's a good candidate for 
the migration guide ?




-- 
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]


Reply via email to