- exclude binary resourses
<project>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
<nonFilteredFileExtension>swf</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
</plugins>
...
</build>
...
</project>
OR
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<propertiesEncoding>UTF-8</propertiesEncoding>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
https://stackoverflow.com/questions/65910112/maven-clean-install-failed-to-execute-goal-org-apache-maven-pluginsmaven-resou/65910205
'maven' 카테고리의 다른 글
repository server http 사용하도록 하는 설정 - http repository blocking 오류 해결 (0) | 2022.05.12 |
---|---|
Skipping Tests With Maven (0) | 2022.03.08 |
systemPath로 지정된 dependency 포함 빌드하기 (0) | 2022.02.13 |
spring-boot 실행가능 jar 빌드 with Maven (0) | 2022.01.11 |
default 환경변수 (0) | 2021.04.01 |