Jean-Baptiste Onofré created KARAF-3071:
-------------------------------------------

             Summary: etc/org.ops4j.pax.url.mvn.cfg file contains replaced 
string in instances that should not be
                 Key: KARAF-3071
                 URL: https://issues.apache.org/jira/browse/KARAF-3071
             Project: Karaf
          Issue Type: Bug
          Components: karaf-instance
    Affects Versions: 3.0.1, 4.0.0
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.0.0, 3.0.2


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:

{code}
#   * 2. if not found looks for ${user.home}/.m2/settings.xml
#   * 3. if not found looks for ${maven.home}/conf/settings.xml
{code}

whereas on the child instance, we can see:

{code}
#   * 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
{code}

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).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to