Caleb Cushing opened MRESOURCES-274 and commented
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.
<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>
but it would be nice if you could simply do
<resource>
<overwrite>false</overwrite>
</resource>
No further details from MRESOURCES-274
Caleb Cushing opened MRESOURCES-274 and commented
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.but it would be nice if you could simply do
No further details from MRESOURCES-274