Maven - Artifacts deploymend, configuration maven plugin
Answered
Hi,
I write new configuration to pom.xml but when run debug with artifact war exploded. work only <filtering>true</filtering> delimiters configuration is ignored.
Can some help me pls?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<useDefaultDelimiters>false</useDefaultDelimiters>
<delimiters>
<delimiter>@[*]</delimiter>
</delimiters>
<webResources>
<resource>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<filtering>true</filtering>
<targetPath>WEB-INF</targetPath>
<includes>
<include>**/*html</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
Please sign in to leave a comment.
Does it work if you build by Maven from command line? Does it work with standard delimiters?
If you configure custom delimiters, specify the
useDefaultDelimitersattribute also. Check the https://stackoverflow.com/questions/48177150/why-is-maven-war-plugin-ignoring-my-configured-filters-for-web-resources for example configuration.When run nvm war:exploded all works fine but when use debug (deploymend artifact) my delimiters configuration not work.
Thank you, i fix the problem with your example configuration.
Final configuration work great Thank you