Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3071

etc/org.ops4j.pax.url.mvn.cfg file contains replaced string in instances that should not be

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.1, 4.0.0.M3
    • 3.0.2, 4.0.0.M2, 4.0.0.M3
    • karaf
    • None

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

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: