Skip to content

Instantly share code, notes, and snippets.

@levancho
Created June 1, 2023 14:02
Show Gist options
  • Save levancho/d07cae0dfcabfccd9ec7c0ce702a2d1d to your computer and use it in GitHub Desktop.
Save levancho/d07cae0dfcabfccd9ec7c0ce702a2d1d to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<outputDirectory>${project.build.directory}/modified</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<delimiters>
<delimiter>@@</delimiter>
</delimiters>
</configuration>
<executions>
<execution>
<id>copy-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment