Skip to content

Commit

Permalink
Fixup Upgrade to Camel 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Mar 25, 2021
1 parent 2de059f commit 4420a28
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package org.apache.camel.quarkus.core.deployment.main;

import java.util.stream.Collectors;
import java.util.stream.Stream;

import io.quarkus.deployment.Capabilities;
import io.quarkus.deployment.annotations.BuildProducer;
Expand Down Expand Up @@ -66,5 +67,10 @@ private void camelNativeImageResources(
}
}
}

String[] resources = Stream.of("components", "dataformats", "languages")
.map(k -> "org/apache/camel/main/" + k + ".properties")
.toArray(String[]::new);
nativeResource.produce(new NativeImageResourceBuildItem(resources));
}
}

0 comments on commit 4420a28

Please sign in to comment.