diff --git a/integrations/graal/mp-native-image-extension/src/main/java/module-info.java b/integrations/graal/mp-native-image-extension/src/main/java/module-info.java new file mode 100644 index 00000000000..6b7f46287fc --- /dev/null +++ b/integrations/graal/mp-native-image-extension/src/main/java/module-info.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2022 Oracle and/or its affiliates. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * Extension for Graal VM native image to correctly build Helidon MicroProfile applications. + */ +module io.helidon.graal.nativeimage.mp { + requires jakarta.cdi; + requires svm; + requires io.helidon.graal.nativeimage; + requires jakarta.json; + requires org.graalvm.sdk; + requires weld.core.impl; + + exports io.helidon.integrations.graal.mp.nativeimage.extension; +} \ No newline at end of file diff --git a/integrations/graal/native-image-extension/src/main/java/module-info.java b/integrations/graal/native-image-extension/src/main/java/module-info.java new file mode 100644 index 00000000000..7afa0597e82 --- /dev/null +++ b/integrations/graal/native-image-extension/src/main/java/module-info.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2022 Oracle and/or its affiliates. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * Extension for Graal VM native image to correctly build Helidon applications. + */ +module io.helidon.graal.nativeimage { + requires io.helidon.config; + requires io.github.classgraph; + requires io.helidon.config.mp; + requires svm; + requires org.graalvm.sdk; + requires jakarta.json; + + exports io.helidon.integrations.graal.nativeimage.extension; +} \ No newline at end of file diff --git a/tests/integration/native-image/mp-1/src/main/resources/META-INF/microprofile-config.properties b/tests/integration/native-image/mp-1/src/main/resources/META-INF/microprofile-config.properties index 56117ce7648..d40065e877f 100644 --- a/tests/integration/native-image/mp-1/src/main/resources/META-INF/microprofile-config.properties +++ b/tests/integration/native-image/mp-1/src/main/resources/META-INF/microprofile-config.properties @@ -23,6 +23,7 @@ mp.jwt.verify.publickey.location=/verify-jwk.json mp.jwt.verify.issuer=native-image-mp1 tracing.service=mp1 +tracing.global=false features.print-details=true