我的耳朵里有一场战争。我想排除战争中存在的 WEB-INF/lib 中存在的 jar。我正在使用 maven-ear-plugin。我该怎么做?
<plugin>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
<finalName>mss-${env}-${pom.version}</finalName>
<modules>
<webModule>
<groupId>com.mss</groupId>
<artifactId>webModule</artifactId>
<contextRoot>/mssapp</contextRoot>
<bundleFileName>mssweb-${env}-${pom.version}.war</bundleFileName>
</webModule>
</modules>
</configuration>
</plugin>