Skip to content

Commit

Permalink
Native image metadata should be in a vertx jar with the native-image …
Browse files Browse the repository at this point in the history
…classifier instead of the default jar artifact.
  • Loading branch information
vietj committed Mar 27, 2024
1 parent eddce4e commit 04e744f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,26 @@
<execution>
<id>default-jar</id>
<configuration>
<excludes>
<exclude>/docoverride/**</exclude>
<exclude>/examples/**</exclude>
<exclude>META-INF/native-image/**</exclude>
</excludes>
<archive>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</execution>
<execution>
<id>native-image-jar</id>
<configuration>
<excludes>
<exclude>/docoverride/**</exclude>
<exclude>/examples/**</exclude>
</excludes>
<classifier>native-image</classifier>
<archive>
<manifestEntries>
<Multi-Release>true</Multi-Release>
Expand Down Expand Up @@ -738,6 +758,19 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>native-image-jar</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
Expand Down

0 comments on commit 04e744f

Please sign in to comment.