I have a Maven web application with text files in
src/main/webapp/textfilesdir
As I understand it, during the package phase this te
I had a problem with the phases, using prepare-package not copied the file to war, my solution was this:
Add this configuration in maven-war-plugin
org.apache.maven.plugins
maven-war-plugin
2.1.1
prepare-package
exploded
${basedir}/WebContent?
/style.scss
Add the configuration to replacer
com.google.code.maven-replacer-plugin
replacer
1.5.1
scss-replacement prepare-package
replace
WebContent?/css/style.scss
\$url:.
\$url: "www.myapplication.com.br/css/style.css";
target/app/css/style.scss
The output File not overwrite the file, so i put the configuration maven-war-plugin to exclude the file style.scss. bye!