Skip to content

Commit

Permalink
Add --ignore-missing-deps to Vertx pom to prevent modules error from …
Browse files Browse the repository at this point in the history
…optional dependencies

Add NONE as JarInclusionPolicy to prevent failure while creating the image
  • Loading branch information
antoinesd authored and aalmiray committed Mar 23, 2024
1 parent 25ef0e4 commit 9bc4156
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integrationtest/vert.x/pom.xml
Expand Up @@ -86,6 +86,9 @@
<outputDirectory>${project.build.directory}/modules</outputDirectory>
<overwriteExistingFiles>true</overwriteExistingFiles>
<failOnWarning>false</failOnWarning>
<jdepsExtraArgs>
<arg>--ignore-missing-deps</arg>
</jdepsExtraArgs>
<modules>
<module>
<artifact>
Expand Down Expand Up @@ -343,6 +346,7 @@
<name>helloWorld</name>
<module>com.example</module>
</launcher>
<jarInclusionPolicy>NONE</jarInclusionPolicy>
<compression>2</compression>
<stripDebug>true</stripDebug>
<outputDirectory>${project.build.directory}/jlink-image</outputDirectory>
Expand Down

0 comments on commit 9bc4156

Please sign in to comment.