I try to update this poject but it has the error in pom.xml at this point.
The plugin part at the pom.xml
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${my.maven.resources}</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>
${basedir}/target/classes
</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/webapp</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>WEB-INF/**</exclude>
</excludes>
<targetPath>/META-INF/resources</targetPath>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<filtering>true</filtering>
<includes>
<include>faces-config.xml</include>
</includes>
<targetPath>/META-INF</targetPath>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
Why maven resources plugin does not copy file from directory tag to target tag. It works on windows computer, but does not work in my macbook.
Eclipse version : 2020-12
Maven resouces plugin version : 2.6