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

Update org.ops4j.pax.url.mvn.cfg file in child instance to include the system folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1
    • karaf
    • None

    Description

      Starting from Karaf 2.3.0, the KAR deployer now uncompress the KAR archives into the system folder (the local-repo folder doesn't exist anymore).

      However, the org.ops4j.pax.url.mvn.cfg file used by child instances still reference local-repo.
      This file should contain:

      org.ops4j.pax.url.mvn.defaultRepositories=file:${karaf.home}/${karaf.default.repository}@snapshots,\
      file:${karaf.home}/local-repo@snapshots, file:${karaf.base}/${karaf.default.repository}@snapshots

      instead of:

      org.ops4j.pax.url.mvn.defaultRepositories=file:${karaf.home}/${karaf.default.repository}@snapshots,\
      file:${karaf.home}/local-repo@snapshots

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: