을 변경메이븐 WAR 플러그인이 같은 <code>webapp</code>의 내용을 축약 한 후 프런트 엔드 자원 위치
WEB-INF
assets
favicon
i18n
scripts
dist
index.html
//other things
dist
안에 내가 스타일, 스크립트 등 ... 그러나 Maven WAR plugin
복사 모든 WAR로 압축 한 경우, WAR에는 중요한 소스가 포함됩니다. webResources
에 대한 디렉토리를 변경하려고 시도했습니다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
packagingExcludes>WEB-INF/lib/tomcat-*.jar</packagingExcludes>
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp/dist</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
아무 것도 변경되지 않았습니다. 아무도 이것으로 나를 도울 수 있습니까? 모든 대답에 대해 미리 감사드립니다.