Skip to content

Commit

Permalink
Skip native compilation when testing bundled SDK (#185)
Browse files Browse the repository at this point in the history
When testing against an `SDK` that already includes `OpenJCEPlus` there
is no reason to compile the native libraries as they are already
included in the runtime. We should skip the native compilation and make
use of the library included in the `SDK`` itself.

Signed-off-by: Jason Katonica <[email protected]>
  • Loading branch information
jasonkatonica authored Sep 3, 2024
1 parent bcef918 commit ec3914e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@
</activation>
<properties>
<test.compilation.export.target>ALL-UNNAMED</test.compilation.export.target>
<skip.native.compile>true</skip.native.compile>
<build.native.file>None_not_really_used_here</build.native.file>
</properties>
<build>
<plugins>
Expand Down Expand Up @@ -309,6 +311,7 @@
<goal>exec</goal>
</goals>
<configuration>
<skip>${skip.native.compile}</skip>
<environmentVariables>
<PLATFORM>${build.platform.value}</PLATFORM>
</environmentVariables>
Expand Down

0 comments on commit ec3914e

Please sign in to comment.