Announcement Announcement Module No announcement yet. Spring 3
java config and Maven Page Title Module Move Remove Collapse
Conversation Detail Module   • Filter   • Time   • Show Clear
All new posts    • Spring 3 java config and Maven      I'm a big
fan of Spring 3's Java config integration and I've been using it
to load my beans, inject variables from properties files etc.
Prior to Spring 3 I used xml configuration files where I would
declare property-placeholder files. These properties were then
injected by Spring using the ${xxxx} syntax.
<context:property-placeholder
location="classpath*:config/*.properties" />         <property
name="myProperty" value="${}" />      While using Maven's
profiles I was able to substitute these ${xxx} properties with
real values coming from specific files. I had 3 profiles : dev,
test and production therefore I could build war files for these
3 environments with a single command line.      Is there such a
way to do so and enable Maven properties injection with the Sp