File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,16 @@ The following configuration options are available:
137137 <param>path/to/classes</param>
138138</classpath>
139139----
140+ `<exclusions>`::
141+ This can be used to exclude artifacts from native-image compilation.
142+ ----
143+ <exclusions>
144+ <exclusion>
145+ <groupId>org.example</groupId>
146+ <artifactId>example</artifactId>
147+ </exclusion>
148+ </exclusions>
149+ ----
140150`<classesDirectory>`::
141151 If you want to specify custom path to the JAR, or a custom directory that contains
142152only application classes, but you want the plugin to still automatically add classpath entries for
@@ -892,4 +902,4 @@ Refer to the https://maven.apache.org/plugins/maven-shade-plugin[Maven Shade plu
892902[[javadocs]]
893903== Javadocs
894904
895- For further reference, you can review the link:javadocs/native-maven-plugin/index.html[Javadocs of the plugin].
905+ For further reference, you can review the link:javadocs/native-maven-plugin/index.html[Javadocs of the plugin].
You can’t perform that action at this time.
0 commit comments