Caleb Cushing created MRESOURCES-274: ----------------------------------------
Summary: set overwrite per resource Key: MRESOURCES-274 URL: https://issues.apache.org/jira/browse/MRESOURCES-274 Project: Maven Resources Plugin Issue Type: New Feature Reporter: Caleb Cushing I have this StackOverflow question https://stackoverflow.com/q/65892723/206466 The problem is caused not by maven resources but by IntelliJ that's documented here https://youtrack.jetbrains.com/issue/IDEABKL-6745 Currently I am doing this workaround with `maven-resources-plugin`. {code:xml} <build> <plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-resources</id> <phase>process-test-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <resources> <resource> <overwrite>true</overwrite> <directory>${main.basedir}/configuration/runtime/default</directory> <targetPath>${pom.basedir}/target/classes</targetPath> <includes> <include>saml.properties</include> <include>dex-*-metadata.xml</include> </includes> <filtering>false</filtering> </resource> </resources> <outputDirectory>${pom.basedir}/target</outputDirectory> <includeEmptyDirs>false</includeEmptyDirs> </configuration> </execution> <execution> <id>copy-resources</id> <phase>process-test-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <overwrite>false</overwrite> <resources> <resource> <filtering>false</filtering> <directory>${h2.db.dir}</directory> <includes> <include>dex_dev_unittest.mv.db</include> </includes> </resource> </resources> <outputDirectory>${pom.basedir}/target</outputDirectory> <includeEmptyDirs>false</includeEmptyDirs> </configuration> </execution> </executions> </plugin> </plugins> </build> {code} but it would be nice if you could simply do {code:xml} <resource> <overwrite>false</overwrite> </resource> {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)