Skip to content

Commit

Permalink
Disable native compilation on Vertx-sql due to an open issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo gonzalez granados committed Aug 11, 2022
1 parent 1803fcb commit 574c62f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
29 changes: 29 additions & 0 deletions sql-db/vertx-sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,34 @@
</plugins>
</build>
</profile>
<profile>
<!-- TODO https://github.com/quarkusio/quarkus/issues/27246 -->
<!-- Disable native build on this module -->
<id>native</id>
<activation>
<property>
<name>native</name>
</property>
</activation>
<properties>
<quarkus.package.type>fast-jar</quarkus.package.type>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
3 changes: 3 additions & 0 deletions sql-db/vertx-sql/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@ quarkus.datasource.oracle.reactive.url=oracle:thin:@localhost:1521:amadeus
## Flyway
quarkus.datasource.oracle.jdbc.url=jdbc:oracle:thin:@localhost:1521:amadeus
quarkus.flyway.oracle.locations=db/migration/oracle,db/migration/common

//TODO https://github.com/quarkusio/quarkus/issues/27246
quarkus.native.additional-build-args=--initialize-at-run-time=oracle.jdbc.driver.BlockSource$ThreadedCachingBlockSource

0 comments on commit 574c62f

Please sign in to comment.