This content has been marked as final.
Show 2 replies
-
1. Re: Avoid resolving environment variables durung the build
jorgemoralespou_2 Mar 27, 2015 10:21 AM (in response to anikulin)Hi Anton,
Set filter=false on your resources plugin so they don't get resolved. Unless you need to resolve some properties for other resources this is a fine solution. If you need to filter resources, try avoiding filtering only for that resource, more configuration, but should also work.
The truth is that maven, switchyard, and many other tools, use same ways to define properties, so avoid resolving where shouldn't been resolved, and this time, this is maven.
See here: https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
-
2. Re: Avoid resolving environment variables durung the build
anikulin Mar 30, 2015 6:18 AM (in response to jorgemoralespou_2)Thanks for help, Jorge. I disabled filtering and it started working as expected.