This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new 79467fa  Fix Kudu native build on JDK 11
79467fa is described below

commit 79467fac62d9b1db0f0644a6c240668deece9b8c
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Wed Apr 22 17:19:21 2020 +0100

    Fix Kudu native build on JDK 11
    
    Fixes #1121
---
 integration-tests/kudu/pom.xml                         | 11 ++++++++++-
 .../kudu/src/main/resources/application.properties     | 18 ------------------
 2 files changed, 10 insertions(+), 19 deletions(-)

diff --git a/integration-tests/kudu/pom.xml b/integration-tests/kudu/pom.xml
index 8f25e57..c6b546f 100644
--- a/integration-tests/kudu/pom.xml
+++ b/integration-tests/kudu/pom.xml
@@ -108,7 +108,7 @@
             </plugin>
         </plugins>
     </build>
- <profiles>
+    <profiles>
         <profile>
             <id>native</id>
             <activation>
@@ -136,5 +136,14 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>kudu-native-java8</id>
+            <activation>
+                <jdk>1.8</jdk>
+            </activation>
+            <properties>
+                
<quarkus.native.additional-build-args>-H:ReflectionConfigurationFiles=reflection-config.json</quarkus.native.additional-build-args>
+            </properties>
+        </profile>
     </profiles>
 </project>
diff --git a/integration-tests/kudu/src/main/resources/application.properties 
b/integration-tests/kudu/src/main/resources/application.properties
deleted file mode 100644
index f7c39d5..0000000
--- a/integration-tests/kudu/src/main/resources/application.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements.  See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You 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.
-## ---------------------------------------------------------------------------
-# Needed for integration tests infrastructure purpose only, please have a look 
at KuduInfrastructureTestHelper
-quarkus.native.additional-build-args 
=-H:ReflectionConfigurationFiles=reflection-config.json
\ No newline at end of file

Reply via email to