I have a Webapp which I build using Maven with the following parameters : goals: -e clean package install profiles :env-test
This runs fine and and installs the proper code including the filtered information from the profiles correctly to the "target" directories.
My problem is when I "publish" to the tomcat server, it seems to publish from the resource directory and not the target directories which means I get my property files with all the variable names in them instead of the converted variables which have been completed in the target directories.
How can I get it to publish the Maven build files which were built correctly?
Any direction would be greatly appreciated.