Hi Nick,
I think you missed the filtering part. I are supposed to enable the
filtering by true
See
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
As you can see there, it also possible to put you variables in a
separate properties file.
Hopes it helps
/Anders
On Fr
aven Users List
Subject: Re: Properties within source code
I know that this may not address your question directly, but I suggest that you
change your approach.
Rather than build two different artifacts for debugging or not debugging, I
suggest that you make the a runtime configuration. Look in
There is support for generating source code from some form of template.
Usually requires a plugin for the "template" engine, or antrun and
build-helper:add-source
You would keep the "template" outside if src/main/java and then the
generated source goes to something like target/generated-source/...
I know that this may not address your question directly, but I suggest that you
change your approach.
Rather than build two different artifacts for debugging or not debugging, I
suggest that you make the a runtime configuration. Look into various logging
frameworks (log4j, log back) that will