我有我的POM依賴:排除從Maven的依賴(webjars)資源包
<dependency>
<groupId>org.webjars</groupId>
<artifactId>extjs</artifactId>
<version>6.0.0</version>
</dependency>
建立我的項目到戰爭結束後,我收到了擁有200MB包。 有沒有可能排除包
/webjars/extjs/6.0.0/build/examples/
從這個依賴?我怎樣才能做到這一點?
我試圖使用遮陽插件,但它不工作,也是在戰爭插件配置:
<configuration>
<packagingExcludes>
/webjars/extjs/${extjs.version}/build/examples/
</packagingExcludes>
</configuration>
不起作用。