我的 pom.xml 文件中包含以下配置文件。这个对吗 ?此配置文件是否应排除基于配置文件的资源?我究竟做错了什么 ?
<profiles>
<profile>
<profile>
<id>xhdpi</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build.profile.id>xhdpi</build.profile.id>
</properties>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>res</directory>
<includes>
<include>drawable-xhdpi/*.*</include>
</includes>
<excludes>
<exclude>drawable-hdpi/*.*</exclude>
<exclude>drawable-ldpi/*.*</exclude>
<exclude>drawable-mdpi/*.*</exclude>
</excludes>
</resource>
</resources>
</build>
</profile>
</profile>
</profiles>