You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/04/07 12:01:52 UTC

[GitHub] [camel-quarkus] DouglasGo8 opened a new issue #2448: Quarkus Oracle Jdbc Issue NativeMode

DouglasGo8 opened a new issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448


   Project Quarkus/Camel/Oracle Jdbc - If a remove oracle dependencies and properties i can compile the projeto in native mode
   <code>
       <dependency>
         <groupId>com.oracle.database.jdbc</groupId>
         <artifactId>ojdbc11</artifactId>
         <version>21.1.0.0</version>
       </dependency>
   <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-jdbc</artifactId>
       </dependency>
   
   quarkus.datasource.tasy-ds.db-kind=oracle
   quarkus.datasource.tasy-ds.jdbc.max-size=8
   quarkus.datasource.tasy-ds.username=user
   quarkus.datasource.tasy-ds.password=pwd
   quarkus.datasource.tasy-ds.jdbc.driver=oracle.jdbc.driver.OracleDriver
   quarkus.datasource.tasy-ds.jdbc.url=jdbc:oracle:thin:@bblabla1521/xpto
   
    from(ApplicationInternals.SomeEndpointId).routeId(ApplicationInternals.SomeRouteId)
               .transform(constant(ApplicationInternals.SomeSELECTOracle))
               .to("jdbc:tasy-ds")
               .marshal().json(JsonLibrary.Jackson)
   
   </code>


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-849138560


   Ok I Will and report here the result


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-814942194


   <code>
   
   <modelVersion>4.0.0</modelVersion>
     <groupId>br.com.hcor.mapa.leitosps</groupId>
     <artifactId>mp-mapaleitosps-back</artifactId>
     <version>1.0.0-SNAPSHOT</version>
     <properties>
       <compiler-plugin.version>3.8.1</compiler-plugin.version>
       <maven.compiler.parameters>true</maven.compiler.parameters>
       <maven.compiler.source>11</maven.compiler.source>
       <maven.compiler.target>11</maven.compiler.target>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
       <quarkus-plugin.version>1.12.2.Final</quarkus-plugin.version>
       <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
       <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
       <quarkus.platform.version>1.12.2.Final</quarkus.platform.version>
       <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
     </properties>
     <dependencyManagement>
       <dependencies>
         <dependency>
           <groupId>${quarkus.platform.group-id}</groupId>
           <artifactId>${quarkus.platform.artifact-id}</artifactId>
           <version>${quarkus.platform.version}</version>
           <type>pom</type>
           <scope>import</scope>
         </dependency>
       </dependencies>
     </dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-core</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-bindy</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-direct</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-main</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-bean</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-jackson</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-jdbc</artifactId>
       </dependency>
       <dependency>
         <groupId>io.quarkus</groupId>
         <artifactId>quarkus-arc</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-platform-http</artifactId>
       </dependency>
       <!-- Misc -->
       <dependency>
         <groupId>org.projectlombok</groupId>
         <artifactId>lombok</artifactId>
         <version>1.18.18</version>
         <scope>provided</scope>
       </dependency>
   
       <dependency>
         <groupId>com.oracle.database.jdbc</groupId>
         <artifactId>ojdbc11</artifactId>
         <version>21.1.0.0</version>
       </dependency>
   
       <!--
       <dependency>
         <groupId>io.helidon.integrations.db</groupId>
         <artifactId>ojdbc</artifactId>
         <version>2.1.0</version>
       </dependency>
     -->
       <!-- Test -->
       <dependency>
         <groupId>io.quarkus</groupId>
         <artifactId>quarkus-junit5</artifactId>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>io.rest-assured</groupId>
         <artifactId>rest-assured</artifactId>
         <scope>test</scope>
       </dependency>
     </dependencies>
     <build>
       <plugins>
         <plugin>
           <groupId>io.quarkus</groupId>
           <artifactId>quarkus-maven-plugin</artifactId>
           <version>${quarkus-plugin.version}</version>
           <extensions>true</extensions>
           <executions>
             <execution>
               <goals>
                 <goal>build</goal>
                 <goal>generate-code</goal>
                 <goal>generate-code-tests</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
         <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>${compiler-plugin.version}</version>
         </plugin>
         <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>${surefire-plugin.version}</version>
           <configuration>
             <systemPropertyVariables>
               <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
               <maven.home>${maven.home}</maven.home>
             </systemPropertyVariables>
           </configuration>
         </plugin>
       </plugins>
     </build>
     <profiles>
       <profile>
         <id>native</id>
         <activation>
           <property>
             <name>native</name>
           </property>
         </activation>
         <build>
           <plugins>
             <plugin>
               <groupId>io.quarkus</groupId>
               <artifactId>quarkus-maven-plugin</artifactId>
               <version>${quarkus-plugin.version}</version>
               <executions>
                 <execution>
                   <goals>
                     <goal>native-image</goal>
                   </goals>
                 </execution>
               </executions>
             </plugin>
             <plugin>
               <artifactId>maven-failsafe-plugin</artifactId>
               <version>${surefire-plugin.version}</version>
               <executions>
                 <execution>
                   <goals>
                     <goal>integration-test</goal>
                     <goal>verify</goal>
                   </goals>
                   <configuration>
                     <systemPropertyVariables>
                       <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
                       <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
                       <maven.home>${maven.home}</maven.home>
                     </systemPropertyVariables>
                   </configuration>
                 </execution>
               </executions>
             </plugin>
           </plugins>
         </build>
         <properties>
           <quarkus.package.type>native</quarkus.package.type>
         </properties>
       </profile>
     </profiles>
   </project>
   
   </code>


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-852406395


   Hi Peter, tests are done and everthing is ok checkout the github project
   over snapshots folder, the ResultSetFromORac is the oracle result in Native
   mode
   Thank you
   Git link https://github.com/DouglasGo8/camel-git-orac-native
   
   On Mon, May 31, 2021 at 8:26 AM Peter Palaga ***@***.***>
   wrote:
   
   > 2.0.0-M1 is a version of Camel Quarkus, not Quarkus. To test with it, you
   > need a quarkus-platform-less setup, because there is no Quarkus Platform
   > yet that would include Camel Quarkus 2.0.0-M1. (We use it in our examples,
   > see e.g.
   > https://github.com/apache/camel-quarkus-examples/blob/main/timer-log/pom.xml
   > ) . It's something like the following:
   >
   > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   >     <modelVersion>4.0.0</modelVersion>
   >
   >     <artifactId>camel-quarkus-examples-timer-log</artifactId>
   >     <groupId>org.apache.camel.quarkus.examples</groupId>
   >     <version>1.8.0-SNAPSHOT</version>
   >
   >     <name>Camel Quarkus :: Examples :: Timer Log</name>
   >     <description>Camel Quarkus Example :: Timer to Log</description>
   >
   >     <properties>
   >         <camel-quarkus.version>2.0.0-M1</camel-quarkus.version>
   >         <quarkus.version>2.0.0.Alpha3</quarkus.version>
   >
   >         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   >         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
   >         <maven.compiler.target>1.8</maven.compiler.target>
   >         <maven.compiler.source>1.8</maven.compiler.source>
   >         <maven.compiler.testTarget>${maven.compiler.target}</maven.compiler.testTarget>
   >         <maven.compiler.testSource>${maven.compiler.source}</maven.compiler.testSource>
   >
   >         <formatter-maven-plugin.version>2.11.0</formatter-maven-plugin.version>
   >         <impsort-maven-plugin.version>1.3.2</impsort-maven-plugin.version>
   >         <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
   >         <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
   >         <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
   >         <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
   >         <mycila-license.version>3.0</mycila-license.version>
   >     </properties>
   >
   >     <dependencyManagement>
   >         <dependencies>
   >             <!-- Import BOM -->
   >             <dependency>
   >                 <groupId>org.apache.camel.quarkus</groupId>
   >                 <artifactId>camel-quarkus-bom</artifactId>
   >                 <version>${camel-quarkus.version}</version>
   >                 <type>pom</type>
   >                 <scope>import</scope>
   >             </dependency>
   >         </dependencies>
   >     </dependencyManagement>
   >
   >     <dependencies>
   >
   >     <!-- Your deps here -->
   >
   >         <!-- Test -->
   >         <dependency>
   >             <groupId>io.quarkus</groupId>
   >             <artifactId>quarkus-junit5</artifactId>
   >             <scope>test</scope>
   >         </dependency>
   >         <dependency>
   >             <groupId>org.awaitility</groupId>
   >             <artifactId>awaitility</artifactId>
   >             <scope>test</scope>
   >         </dependency>
   >     </dependencies>
   >
   >     <build>
   >         <pluginManagement>
   >             <plugins>
   >
   >                 <plugin>
   >                     <groupId>net.revelc.code.formatter</groupId>
   >                     <artifactId>formatter-maven-plugin</artifactId>
   >                     <version>${formatter-maven-plugin.version}</version>
   >                     <configuration>
   >                         <configFile>${maven.multiModuleProjectDirectory}/eclipse-formatter-config.xml</configFile>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>net.revelc.code</groupId>
   >                     <artifactId>impsort-maven-plugin</artifactId>
   >                     <version>${impsort-maven-plugin.version}</version>
   >                     <configuration>
   >                         <groups>java.,javax.,org.w3c.,org.xml.,junit.</groups>
   >                         <removeUnused>true</removeUnused>
   >                         <staticAfter>true</staticAfter>
   >                         <staticGroups>java.,javax.,org.w3c.,org.xml.,junit.</staticGroups>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-compiler-plugin</artifactId>
   >                     <version>${maven-compiler-plugin.version}</version>
   >                     <configuration>
   >                         <showDeprecation>true</showDeprecation>
   >                         <showWarnings>true</showWarnings>
   >                         <compilerArgs>
   >                             <arg>-Xlint:unchecked</arg>
   >                         </compilerArgs>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-surefire-plugin</artifactId>
   >                     <version>${maven-surefire-plugin.version}</version>
   >                     <configuration>
   >                         <failIfNoTests>false</failIfNoTests>
   >                         <systemProperties>
   >                             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
   >                         </systemProperties>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>io.quarkus</groupId>
   >                     <artifactId>quarkus-maven-plugin</artifactId>
   >                     <version>${quarkus.version}</version>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-failsafe-plugin</artifactId>
   >                     <version>${maven-surefire-plugin.version}</version>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-jar-plugin</artifactId>
   >                     <version>${maven-jar-plugin.version}</version>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>com.mycila</groupId>
   >                     <artifactId>license-maven-plugin</artifactId>
   >                     <version>${mycila-license.version}</version>
   >                     <configuration>
   >                         <failIfUnknown>true</failIfUnknown>
   >                         <header>${maven.multiModuleProjectDirectory}/header.txt</header>
   >                         <excludes>
   >                             <exclude>**/*.adoc</exclude>
   >                             <exclude>**/*.txt</exclude>
   >                             <exclude>**/LICENSE.txt</exclude>
   >                             <exclude>**/LICENSE</exclude>
   >                             <exclude>**/NOTICE.txt</exclude>
   >                             <exclude>**/NOTICE</exclude>
   >                             <exclude>**/README</exclude>
   >                             <exclude>**/pom.xml.versionsBackup</exclude>
   >                         </excludes>
   >                         <mapping>
   >                             <java>SLASHSTAR_STYLE</java>
   >                             <properties>CAMEL_PROPERTIES_STYLE</properties>
   >                             <kt>SLASHSTAR_STYLE</kt>
   >                         </mapping>
   >                         <headerDefinitions>
   >                             <headerDefinition>${maven.multiModuleProjectDirectory}/license-properties-headerdefinition.xml</headerDefinition>
   >                         </headerDefinitions>
   >                     </configuration>
   >                 </plugin>
   >             </plugins>
   >         </pluginManagement>
   >
   >         <plugins>
   >             <plugin>
   >                 <groupId>io.quarkus</groupId>
   >                 <artifactId>quarkus-maven-plugin</artifactId>
   >                 <executions>
   >                     <execution>
   >                         <id>build</id>
   >                         <goals>
   >                             <goal>build</goal>
   >                         </goals>
   >                     </execution>
   >                 </executions>
   >             </plugin>
   >
   >             <plugin>
   >                 <groupId>net.revelc.code.formatter</groupId>
   >                 <artifactId>formatter-maven-plugin</artifactId>
   >                 <executions>
   >                     <execution>
   >                         <id>format</id>
   >                         <goals>
   >                             <goal>format</goal>
   >                         </goals>
   >                         <phase>process-sources</phase>
   >                     </execution>
   >                 </executions>
   >             </plugin>
   >
   >             <plugin>
   >                 <groupId>net.revelc.code</groupId>
   >                 <artifactId>impsort-maven-plugin</artifactId>
   >                 <executions>
   >                     <execution>
   >                         <id>sort-imports</id>
   >                         <goals>
   >                             <goal>sort</goal>
   >                         </goals>
   >                         <phase>process-sources</phase>
   >                     </execution>
   >                 </executions>
   >             </plugin>
   >         </plugins>
   >     </build>
   >
   >     <profiles>
   >         <profile>
   >             <id>native</id>
   >             <activation>
   >                 <property>
   >                     <name>native</name>
   >                 </property>
   >             </activation>
   >             <properties>
   >                 <quarkus.package.type>native</quarkus.package.type>
   >             </properties>
   >             <build>
   >                 <plugins>
   >                     <plugin>
   >                         <groupId>org.apache.maven.plugins</groupId>
   >                         <artifactId>maven-failsafe-plugin</artifactId>
   >                         <executions>
   >                             <execution>
   >                                 <goals>
   >                                     <goal>integration-test</goal>
   >                                     <goal>verify</goal>
   >                                 </goals>
   >                                 <configuration>
   >                                     <systemPropertyVariables>
   >                                         <quarkus.package.type>${quarkus.package.type}</quarkus.package.type>
   >                                     </systemPropertyVariables>
   >                                 </configuration>
   >                             </execution>
   >                         </executions>
   >                     </plugin>
   >                 </plugins>
   >             </build>
   >         </profile>
   >     </profiles>
   >
   > </project>
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/camel-quarkus/issues/2448#issuecomment-851423452>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AIXAHZDQ5F7EUI7HRA3XJJDTQNW5TANCNFSM42QU2CAA>
   > .
   >
   


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] zhfeng commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
zhfeng commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-814988389


   @DouglasGo8 please refer to https://blogs.oracle.com/developers/configuring-the-oracle-jdbc-drivers-with-quarkus and I think it could be something wrong in your application.properties to setup the oracle datasource.


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] ppalaga commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-815009617


   Thanks for the report, @DouglasGo8. I am in favor of waiting for `io.quarkus:quarkus-jdbc-oracle` to become available in the next Quarkus release so that this issue can be re-evaluated with it instead of using the Oracle driver directly. 


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-814857474


   Up above I show a few lines of relevant code in my app


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] zbendhiba commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
zbendhiba commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-814936208


   @DouglasGo8  For my understanding, I would like to know if you did test this against the main Quarkus branch ?
   Can you specify the versions of Quarkus, camel-quarkus and give your pom.xml, to see which extensions do you use ?


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-815037763


   > Thanks for the report, @DouglasGo8. I am in favor of waiting for `io.quarkus:quarkus-jdbc-oracle` to become available in the next Quarkus release so that this issue can be re-evaluated with it instead of using the Oracle driver directly.
   
   Thanks ppalaga,


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] ppalaga commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-852417246


   That's great news, thanks for letting us know!


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 edited a comment on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 edited a comment on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-814942194


   `<?xml version="1.0"?>
   <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
            xmlns="http://maven.apache.org/POM/4.0.0"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <modelVersion>4.0.0</modelVersion>
     <groupId>br.com.hcor.mapa.leitosps</groupId>
     <artifactId>mp-mapaleitosps-back</artifactId>
     <version>1.0.0-SNAPSHOT</version>
     <properties>
       <compiler-plugin.version>3.8.1</compiler-plugin.version>
       <maven.compiler.parameters>true</maven.compiler.parameters>
       <maven.compiler.source>11</maven.compiler.source>
       <maven.compiler.target>11</maven.compiler.target>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
       <quarkus-plugin.version>1.12.2.Final</quarkus-plugin.version>
       <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
       <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
       <quarkus.platform.version>1.12.2.Final</quarkus.platform.version>
       <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
     </properties>
     <dependencyManagement>
       <dependencies>
         <dependency>
           <groupId>${quarkus.platform.group-id}</groupId>
           <artifactId>${quarkus.platform.artifact-id}</artifactId>
           <version>${quarkus.platform.version}</version>
           <type>pom</type>
           <scope>import</scope>
         </dependency>
       </dependencies>
     </dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-core</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-bindy</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-direct</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-main</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-bean</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-jackson</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-jdbc</artifactId>
       </dependency>
       <dependency>
         <groupId>io.quarkus</groupId>
         <artifactId>quarkus-arc</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-platform-http</artifactId>
       </dependency>
       <!-- Misc -->
       <dependency>
         <groupId>org.projectlombok</groupId>
         <artifactId>lombok</artifactId>
         <version>1.18.18</version>
         <scope>provided</scope>
       </dependency>
   
       <dependency>
         <groupId>com.oracle.database.jdbc</groupId>
         <artifactId>ojdbc11</artifactId>
         <version>21.1.0.0</version>
       </dependency>
   
       <!--
       <dependency>
         <groupId>io.helidon.integrations.db</groupId>
         <artifactId>ojdbc</artifactId>
         <version>2.1.0</version>
       </dependency>
     -->
       <!-- Test -->
       <dependency>
         <groupId>io.quarkus</groupId>
         <artifactId>quarkus-junit5</artifactId>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>io.rest-assured</groupId>
         <artifactId>rest-assured</artifactId>
         <scope>test</scope>
       </dependency>
     </dependencies>
     <build>
       <plugins>
         <plugin>
           <groupId>io.quarkus</groupId>
           <artifactId>quarkus-maven-plugin</artifactId>
           <version>${quarkus-plugin.version}</version>
           <extensions>true</extensions>
           <executions>
             <execution>
               <goals>
                 <goal>build</goal>
                 <goal>generate-code</goal>
                 <goal>generate-code-tests</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
         <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>${compiler-plugin.version}</version>
         </plugin>
         <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>${surefire-plugin.version}</version>
           <configuration>
             <systemPropertyVariables>
               <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
               <maven.home>${maven.home}</maven.home>
             </systemPropertyVariables>
           </configuration>
         </plugin>
       </plugins>
     </build>
     <profiles>
       <profile>
         <id>native</id>
         <activation>
           <property>
             <name>native</name>
           </property>
         </activation>
         <build>
           <plugins>
             <plugin>
               <groupId>io.quarkus</groupId>
               <artifactId>quarkus-maven-plugin</artifactId>
               <version>${quarkus-plugin.version}</version>
               <executions>
                 <execution>
                   <goals>
                     <goal>native-image</goal>
                   </goals>
                 </execution>
               </executions>
             </plugin>
             <plugin>
               <artifactId>maven-failsafe-plugin</artifactId>
               <version>${surefire-plugin.version}</version>
               <executions>
                 <execution>
                   <goals>
                     <goal>integration-test</goal>
                     <goal>verify</goal>
                   </goals>
                   <configuration>
                     <systemPropertyVariables>
                       <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
                       <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
                       <maven.home>${maven.home}</maven.home>
                     </systemPropertyVariables>
                   </configuration>
                 </execution>
               </executions>
             </plugin>
           </plugins>
         </build>
         <properties>
           <quarkus.package.type>native</quarkus.package.type>
         </properties>
       </profile>
     </profiles>
   </project>
   `


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] ppalaga closed issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
ppalaga closed issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448


   


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-815037142


   > Also I think this dependency of oracle driver should be removed. It seems the quarkus oracle-jdbc only work with the ojdbc8.
   > 
   > ```
   > <dependency>
   >       <groupId>com.oracle.database.jdbc</groupId>
   >       <artifactId>ojdbc11</artifactId>
   >       <version>21.1.0.0</version>
   >     </dependency>
   > ```
   
   Thank you for reply, but i try this approach also, and fail


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] zhfeng commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
zhfeng commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-814995385


   Also I think this dependency of oracle driver should be removed. It seems the quarkus oracle-jdbc only work with the ojdbc8.
   ```
   <dependency>
         <groupId>com.oracle.database.jdbc</groupId>
         <artifactId>ojdbc11</artifactId>
         <version>21.1.0.0</version>
       </dependency>
   ```


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] ppalaga commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-848943983


   Could you please test with Camel Quarkus 2.0.0-M1 that should become available in ~48 hours from now?


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 edited a comment on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 edited a comment on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-814942194


   ```
   
   <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
            xmlns="http://maven.apache.org/POM/4.0.0"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <modelVersion>4.0.0</modelVersion>
     <groupId>br.com.hcor.mapa.leitosps</groupId>
     <artifactId>mp-mapaleitosps-back</artifactId>
     <version>1.0.0-SNAPSHOT</version>
     <properties>
       <compiler-plugin.version>3.8.1</compiler-plugin.version>
       <maven.compiler.parameters>true</maven.compiler.parameters>
       <maven.compiler.source>11</maven.compiler.source>
       <maven.compiler.target>11</maven.compiler.target>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
       <quarkus-plugin.version>1.12.2.Final</quarkus-plugin.version>
       <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
       <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
       <quarkus.platform.version>1.12.2.Final</quarkus.platform.version>
       <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
     </properties>
     <dependencyManagement>
       <dependencies>
         <dependency>
           <groupId>${quarkus.platform.group-id}</groupId>
           <artifactId>${quarkus.platform.artifact-id}</artifactId>
           <version>${quarkus.platform.version}</version>
           <type>pom</type>
           <scope>import</scope>
         </dependency>
       </dependencies>
     </dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-core</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-bindy</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-direct</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-main</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-bean</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-jackson</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-jdbc</artifactId>
       </dependency>
       <dependency>
         <groupId>io.quarkus</groupId>
         <artifactId>quarkus-arc</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-platform-http</artifactId>
       </dependency>
       <!-- Misc -->
       <dependency>
         <groupId>org.projectlombok</groupId>
         <artifactId>lombok</artifactId>
         <version>1.18.18</version>
         <scope>provided</scope>
       </dependency>
   
       <dependency>
         <groupId>com.oracle.database.jdbc</groupId>
         <artifactId>ojdbc11</artifactId>
         <version>21.1.0.0</version>
       </dependency>
   
       <!--
       <dependency>
         <groupId>io.helidon.integrations.db</groupId>
         <artifactId>ojdbc</artifactId>
         <version>2.1.0</version>
       </dependency>
     -->
       <!-- Test -->
       <dependency>
         <groupId>io.quarkus</groupId>
         <artifactId>quarkus-junit5</artifactId>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>io.rest-assured</groupId>
         <artifactId>rest-assured</artifactId>
         <scope>test</scope>
       </dependency>
     </dependencies>
     <build>
       <plugins>
         <plugin>
           <groupId>io.quarkus</groupId>
           <artifactId>quarkus-maven-plugin</artifactId>
           <version>${quarkus-plugin.version}</version>
           <extensions>true</extensions>
           <executions>
             <execution>
               <goals>
                 <goal>build</goal>
                 <goal>generate-code</goal>
                 <goal>generate-code-tests</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
         <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>${compiler-plugin.version}</version>
         </plugin>
         <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>${surefire-plugin.version}</version>
           <configuration>
             <systemPropertyVariables>
               <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
               <maven.home>${maven.home}</maven.home>
             </systemPropertyVariables>
           </configuration>
         </plugin>
       </plugins>
     </build>
     <profiles>
       <profile>
         <id>native</id>
         <activation>
           <property>
             <name>native</name>
           </property>
         </activation>
         <build>
           <plugins>
             <plugin>
               <groupId>io.quarkus</groupId>
               <artifactId>quarkus-maven-plugin</artifactId>
               <version>${quarkus-plugin.version}</version>
               <executions>
                 <execution>
                   <goals>
                     <goal>native-image</goal>
                   </goals>
                 </execution>
               </executions>
             </plugin>
             <plugin>
               <artifactId>maven-failsafe-plugin</artifactId>
               <version>${surefire-plugin.version}</version>
               <executions>
                 <execution>
                   <goals>
                     <goal>integration-test</goal>
                     <goal>verify</goal>
                   </goals>
                   <configuration>
                     <systemPropertyVariables>
                       <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
                       <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
                       <maven.home>${maven.home}</maven.home>
                     </systemPropertyVariables>
                   </configuration>
                 </execution>
               </executions>
             </plugin>
           </plugins>
         </build>
         <properties>
           <quarkus.package.type>native</quarkus.package.type>
         </properties>
       </profile>
     </profiles>
   </project>
   
   ```
   
   
   ```
   ##
   quarkus.http.cors=true
   quarkus.http.port=8081
   ##
   quarkus.datasource.tasy-ds.db-kind=oracle
   quarkus.datasource.tasy-ds.jdbc.max-size=8
   quarkus.datasource.tasy-ds.username=user
   quarkus.datasource.tasy-ds.password=pwd
   quarkus.datasource.tasy-ds.jdbc.driver=oracle.jdbc.driver.OracleDriver
   quarkus.datasource.tasy-ds.jdbc.url=jdbc:oracle:thin:@anserver1521/anservice
   ##
   camel.context.name=quarkus-camel-mapa-leitos-ps-ctx
   ##
   ```


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-851471138


   Ok Peter, no problem, understood, I'll test using this camel pom version,
   thank you
   
   On Mon, May 31, 2021 at 8:26 AM Peter Palaga ***@***.***>
   wrote:
   
   > 2.0.0-M1 is a version of Camel Quarkus, not Quarkus. To test with it, you
   > need a quarkus-platform-less setup, because there is no Quarkus Platform
   > yet that would include Camel Quarkus 2.0.0-M1. (We use it in our examples,
   > see e.g.
   > https://github.com/apache/camel-quarkus-examples/blob/main/timer-log/pom.xml
   > ) . It's something like the following:
   >
   > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   >     <modelVersion>4.0.0</modelVersion>
   >
   >     <artifactId>camel-quarkus-examples-timer-log</artifactId>
   >     <groupId>org.apache.camel.quarkus.examples</groupId>
   >     <version>1.8.0-SNAPSHOT</version>
   >
   >     <name>Camel Quarkus :: Examples :: Timer Log</name>
   >     <description>Camel Quarkus Example :: Timer to Log</description>
   >
   >     <properties>
   >         <camel-quarkus.version>2.0.0-M1</camel-quarkus.version>
   >         <quarkus.version>2.0.0.Alpha3</quarkus.version>
   >
   >         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   >         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
   >         <maven.compiler.target>1.8</maven.compiler.target>
   >         <maven.compiler.source>1.8</maven.compiler.source>
   >         <maven.compiler.testTarget>${maven.compiler.target}</maven.compiler.testTarget>
   >         <maven.compiler.testSource>${maven.compiler.source}</maven.compiler.testSource>
   >
   >         <formatter-maven-plugin.version>2.11.0</formatter-maven-plugin.version>
   >         <impsort-maven-plugin.version>1.3.2</impsort-maven-plugin.version>
   >         <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
   >         <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
   >         <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
   >         <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
   >         <mycila-license.version>3.0</mycila-license.version>
   >     </properties>
   >
   >     <dependencyManagement>
   >         <dependencies>
   >             <!-- Import BOM -->
   >             <dependency>
   >                 <groupId>org.apache.camel.quarkus</groupId>
   >                 <artifactId>camel-quarkus-bom</artifactId>
   >                 <version>${camel-quarkus.version}</version>
   >                 <type>pom</type>
   >                 <scope>import</scope>
   >             </dependency>
   >         </dependencies>
   >     </dependencyManagement>
   >
   >     <dependencies>
   >
   >     <!-- Your deps here -->
   >
   >         <!-- Test -->
   >         <dependency>
   >             <groupId>io.quarkus</groupId>
   >             <artifactId>quarkus-junit5</artifactId>
   >             <scope>test</scope>
   >         </dependency>
   >         <dependency>
   >             <groupId>org.awaitility</groupId>
   >             <artifactId>awaitility</artifactId>
   >             <scope>test</scope>
   >         </dependency>
   >     </dependencies>
   >
   >     <build>
   >         <pluginManagement>
   >             <plugins>
   >
   >                 <plugin>
   >                     <groupId>net.revelc.code.formatter</groupId>
   >                     <artifactId>formatter-maven-plugin</artifactId>
   >                     <version>${formatter-maven-plugin.version}</version>
   >                     <configuration>
   >                         <configFile>${maven.multiModuleProjectDirectory}/eclipse-formatter-config.xml</configFile>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>net.revelc.code</groupId>
   >                     <artifactId>impsort-maven-plugin</artifactId>
   >                     <version>${impsort-maven-plugin.version}</version>
   >                     <configuration>
   >                         <groups>java.,javax.,org.w3c.,org.xml.,junit.</groups>
   >                         <removeUnused>true</removeUnused>
   >                         <staticAfter>true</staticAfter>
   >                         <staticGroups>java.,javax.,org.w3c.,org.xml.,junit.</staticGroups>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-compiler-plugin</artifactId>
   >                     <version>${maven-compiler-plugin.version}</version>
   >                     <configuration>
   >                         <showDeprecation>true</showDeprecation>
   >                         <showWarnings>true</showWarnings>
   >                         <compilerArgs>
   >                             <arg>-Xlint:unchecked</arg>
   >                         </compilerArgs>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-surefire-plugin</artifactId>
   >                     <version>${maven-surefire-plugin.version}</version>
   >                     <configuration>
   >                         <failIfNoTests>false</failIfNoTests>
   >                         <systemProperties>
   >                             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
   >                         </systemProperties>
   >                     </configuration>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>io.quarkus</groupId>
   >                     <artifactId>quarkus-maven-plugin</artifactId>
   >                     <version>${quarkus.version}</version>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-failsafe-plugin</artifactId>
   >                     <version>${maven-surefire-plugin.version}</version>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>org.apache.maven.plugins</groupId>
   >                     <artifactId>maven-jar-plugin</artifactId>
   >                     <version>${maven-jar-plugin.version}</version>
   >                 </plugin>
   >
   >                 <plugin>
   >                     <groupId>com.mycila</groupId>
   >                     <artifactId>license-maven-plugin</artifactId>
   >                     <version>${mycila-license.version}</version>
   >                     <configuration>
   >                         <failIfUnknown>true</failIfUnknown>
   >                         <header>${maven.multiModuleProjectDirectory}/header.txt</header>
   >                         <excludes>
   >                             <exclude>**/*.adoc</exclude>
   >                             <exclude>**/*.txt</exclude>
   >                             <exclude>**/LICENSE.txt</exclude>
   >                             <exclude>**/LICENSE</exclude>
   >                             <exclude>**/NOTICE.txt</exclude>
   >                             <exclude>**/NOTICE</exclude>
   >                             <exclude>**/README</exclude>
   >                             <exclude>**/pom.xml.versionsBackup</exclude>
   >                         </excludes>
   >                         <mapping>
   >                             <java>SLASHSTAR_STYLE</java>
   >                             <properties>CAMEL_PROPERTIES_STYLE</properties>
   >                             <kt>SLASHSTAR_STYLE</kt>
   >                         </mapping>
   >                         <headerDefinitions>
   >                             <headerDefinition>${maven.multiModuleProjectDirectory}/license-properties-headerdefinition.xml</headerDefinition>
   >                         </headerDefinitions>
   >                     </configuration>
   >                 </plugin>
   >             </plugins>
   >         </pluginManagement>
   >
   >         <plugins>
   >             <plugin>
   >                 <groupId>io.quarkus</groupId>
   >                 <artifactId>quarkus-maven-plugin</artifactId>
   >                 <executions>
   >                     <execution>
   >                         <id>build</id>
   >                         <goals>
   >                             <goal>build</goal>
   >                         </goals>
   >                     </execution>
   >                 </executions>
   >             </plugin>
   >
   >             <plugin>
   >                 <groupId>net.revelc.code.formatter</groupId>
   >                 <artifactId>formatter-maven-plugin</artifactId>
   >                 <executions>
   >                     <execution>
   >                         <id>format</id>
   >                         <goals>
   >                             <goal>format</goal>
   >                         </goals>
   >                         <phase>process-sources</phase>
   >                     </execution>
   >                 </executions>
   >             </plugin>
   >
   >             <plugin>
   >                 <groupId>net.revelc.code</groupId>
   >                 <artifactId>impsort-maven-plugin</artifactId>
   >                 <executions>
   >                     <execution>
   >                         <id>sort-imports</id>
   >                         <goals>
   >                             <goal>sort</goal>
   >                         </goals>
   >                         <phase>process-sources</phase>
   >                     </execution>
   >                 </executions>
   >             </plugin>
   >         </plugins>
   >     </build>
   >
   >     <profiles>
   >         <profile>
   >             <id>native</id>
   >             <activation>
   >                 <property>
   >                     <name>native</name>
   >                 </property>
   >             </activation>
   >             <properties>
   >                 <quarkus.package.type>native</quarkus.package.type>
   >             </properties>
   >             <build>
   >                 <plugins>
   >                     <plugin>
   >                         <groupId>org.apache.maven.plugins</groupId>
   >                         <artifactId>maven-failsafe-plugin</artifactId>
   >                         <executions>
   >                             <execution>
   >                                 <goals>
   >                                     <goal>integration-test</goal>
   >                                     <goal>verify</goal>
   >                                 </goals>
   >                                 <configuration>
   >                                     <systemPropertyVariables>
   >                                         <quarkus.package.type>${quarkus.package.type}</quarkus.package.type>
   >                                     </systemPropertyVariables>
   >                                 </configuration>
   >                             </execution>
   >                         </executions>
   >                     </plugin>
   >                 </plugins>
   >             </build>
   >         </profile>
   >     </profiles>
   >
   > </project>
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/camel-quarkus/issues/2448#issuecomment-851423452>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AIXAHZDQ5F7EUI7HRA3XJJDTQNW5TANCNFSM42QU2CAA>
   > .
   >
   


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] DouglasGo8 commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
DouglasGo8 commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-850395559


   I've some plugins version problem and cant create a test
   
   ```
   <quarkus.platform.version>>2.0.0-M1</quarkus.platform.version>
   <quarkus-plugin.version>2.0.0-M1</quarkus-plugin.version>
   ```


-- 
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:
users@infra.apache.org



[GitHub] [camel-quarkus] ppalaga commented on issue #2448: Quarkus Oracle Jdbc Issue NativeMode

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #2448:
URL: https://github.com/apache/camel-quarkus/issues/2448#issuecomment-851423452


   2.0.0-M1 is a version of Camel Quarkus, not Quarkus. To test with it, you need a quarkus-platform-less setup, because there is no Quarkus Platform yet that would include Camel Quarkus 2.0.0-M1. (We use it in our examples, see e.g. https://github.com/apache/camel-quarkus-examples/blob/main/timer-log/pom.xml ) . It's something like the following:
   
   ```
   <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <modelVersion>4.0.0</modelVersion>
   
       <artifactId>camel-quarkus-examples-timer-log</artifactId>
       <groupId>org.apache.camel.quarkus.examples</groupId>
       <version>1.8.0-SNAPSHOT</version>
   
       <name>Camel Quarkus :: Examples :: Timer Log</name>
       <description>Camel Quarkus Example :: Timer to Log</description>
   
       <properties>
           <camel-quarkus.version>2.0.0-M1</camel-quarkus.version>
           <quarkus.version>2.0.0.Alpha3</quarkus.version>
   
           <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
           <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
           <maven.compiler.target>1.8</maven.compiler.target>
           <maven.compiler.source>1.8</maven.compiler.source>
           <maven.compiler.testTarget>${maven.compiler.target}</maven.compiler.testTarget>
           <maven.compiler.testSource>${maven.compiler.source}</maven.compiler.testSource>
   
           <formatter-maven-plugin.version>2.11.0</formatter-maven-plugin.version>
           <impsort-maven-plugin.version>1.3.2</impsort-maven-plugin.version>
           <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
           <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
           <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
           <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
           <mycila-license.version>3.0</mycila-license.version>
       </properties>
   
       <dependencyManagement>
           <dependencies>
               <!-- Import BOM -->
               <dependency>
                   <groupId>org.apache.camel.quarkus</groupId>
                   <artifactId>camel-quarkus-bom</artifactId>
                   <version>${camel-quarkus.version}</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
           </dependencies>
       </dependencyManagement>
   
       <dependencies>
       
       <!-- Your deps here -->
   
           <!-- Test -->
           <dependency>
               <groupId>io.quarkus</groupId>
               <artifactId>quarkus-junit5</artifactId>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.awaitility</groupId>
               <artifactId>awaitility</artifactId>
               <scope>test</scope>
           </dependency>
       </dependencies>
   
       <build>
           <pluginManagement>
               <plugins>
   
                   <plugin>
                       <groupId>net.revelc.code.formatter</groupId>
                       <artifactId>formatter-maven-plugin</artifactId>
                       <version>${formatter-maven-plugin.version}</version>
                       <configuration>
                           <configFile>${maven.multiModuleProjectDirectory}/eclipse-formatter-config.xml</configFile>
                       </configuration>
                   </plugin>
   
                   <plugin>
                       <groupId>net.revelc.code</groupId>
                       <artifactId>impsort-maven-plugin</artifactId>
                       <version>${impsort-maven-plugin.version}</version>
                       <configuration>
                           <groups>java.,javax.,org.w3c.,org.xml.,junit.</groups>
                           <removeUnused>true</removeUnused>
                           <staticAfter>true</staticAfter>
                           <staticGroups>java.,javax.,org.w3c.,org.xml.,junit.</staticGroups>
                       </configuration>
                   </plugin>
   
                   <plugin>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-compiler-plugin</artifactId>
                       <version>${maven-compiler-plugin.version}</version>
                       <configuration>
                           <showDeprecation>true</showDeprecation>
                           <showWarnings>true</showWarnings>
                           <compilerArgs>
                               <arg>-Xlint:unchecked</arg>
                           </compilerArgs>
                       </configuration>
                   </plugin>
   
                   <plugin>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-surefire-plugin</artifactId>
                       <version>${maven-surefire-plugin.version}</version>
                       <configuration>
                           <failIfNoTests>false</failIfNoTests>
                           <systemProperties>
                               <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
                           </systemProperties>
                       </configuration>
                   </plugin>
   
                   <plugin>
                       <groupId>io.quarkus</groupId>
                       <artifactId>quarkus-maven-plugin</artifactId>
                       <version>${quarkus.version}</version>
                   </plugin>
   
                   <plugin>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-failsafe-plugin</artifactId>
                       <version>${maven-surefire-plugin.version}</version>
                   </plugin>
   
                   <plugin>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-jar-plugin</artifactId>
                       <version>${maven-jar-plugin.version}</version>
                   </plugin>
   
                   <plugin>
                       <groupId>com.mycila</groupId>
                       <artifactId>license-maven-plugin</artifactId>
                       <version>${mycila-license.version}</version>
                       <configuration>
                           <failIfUnknown>true</failIfUnknown>
                           <header>${maven.multiModuleProjectDirectory}/header.txt</header>
                           <excludes>
                               <exclude>**/*.adoc</exclude>
                               <exclude>**/*.txt</exclude>
                               <exclude>**/LICENSE.txt</exclude>
                               <exclude>**/LICENSE</exclude>
                               <exclude>**/NOTICE.txt</exclude>
                               <exclude>**/NOTICE</exclude>
                               <exclude>**/README</exclude>
                               <exclude>**/pom.xml.versionsBackup</exclude>
                           </excludes>
                           <mapping>
                               <java>SLASHSTAR_STYLE</java>
                               <properties>CAMEL_PROPERTIES_STYLE</properties>
                               <kt>SLASHSTAR_STYLE</kt>
                           </mapping>
                           <headerDefinitions>
                               <headerDefinition>${maven.multiModuleProjectDirectory}/license-properties-headerdefinition.xml</headerDefinition>
                           </headerDefinitions>
                       </configuration>
                   </plugin>
               </plugins>
           </pluginManagement>
   
           <plugins>
               <plugin>
                   <groupId>io.quarkus</groupId>
                   <artifactId>quarkus-maven-plugin</artifactId>
                   <executions>
                       <execution>
                           <id>build</id>
                           <goals>
                               <goal>build</goal>
                           </goals>
                       </execution>
                   </executions>
               </plugin>
           
               <plugin>
                   <groupId>net.revelc.code.formatter</groupId>
                   <artifactId>formatter-maven-plugin</artifactId>
                   <executions>
                       <execution>
                           <id>format</id>
                           <goals>
                               <goal>format</goal>
                           </goals>
                           <phase>process-sources</phase>
                       </execution>
                   </executions>
               </plugin>
   
               <plugin>
                   <groupId>net.revelc.code</groupId>
                   <artifactId>impsort-maven-plugin</artifactId>
                   <executions>
                       <execution>
                           <id>sort-imports</id>
                           <goals>
                               <goal>sort</goal>
                           </goals>
                           <phase>process-sources</phase>
                       </execution>
                   </executions>
               </plugin>
           </plugins>
       </build>
   
       <profiles>
           <profile>
               <id>native</id>
               <activation>
                   <property>
                       <name>native</name>
                   </property>
               </activation>
               <properties>
                   <quarkus.package.type>native</quarkus.package.type>
               </properties>
               <build>
                   <plugins>
                       <plugin>
                           <groupId>org.apache.maven.plugins</groupId>
                           <artifactId>maven-failsafe-plugin</artifactId>
                           <executions>
                               <execution>
                                   <goals>
                                       <goal>integration-test</goal>
                                       <goal>verify</goal>
                                   </goals>
                                   <configuration>
                                       <systemPropertyVariables>
                                           <quarkus.package.type>${quarkus.package.type}</quarkus.package.type>
                                       </systemPropertyVariables>
                                   </configuration>
                               </execution>
                           </executions>
                       </plugin>
                   </plugins>
               </build>
           </profile>
       </profiles>
   
   </project>
   ```
   


-- 
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:
users@infra.apache.org