Details
Description
The build replace some variables in child instance cfg file that that should not be replaced.
For instance, in etc/org.ops4j.pax.url.mvn.cfg file for the root instance contains:
# * 2. if not found looks for ${user.home}/.m2/settings.xml # * 3. if not found looks for ${maven.home}/conf/settings.xml
whereas on the child instance, we can see:
# * 2. if not found looks for /home/jgoodyea/.m2/settings.xml # * 3. if not found looks for /x1/apache-maven-3.0.5/conf/settings.xml
corresponding to the actual values replaced at build time during the release.
We should not replaced those values in the instance resources (used at instance creation time).