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

karaf-maven-plugin: Add description of configuration property "libraries"

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.1.0, 4.0.5
    • Component/s: karaf
    • Labels:
      None

      Description

      When I upgraded my Karaf 3.0.3 Assembly to Karaf 4.0.3, I had problems to install libraries to the lib/endorsed directory. After some digging through the code, I found the "libraries" configuration property, which does exactly what I was looking for. It took me even more time to figure out how it works.

      It would be nice, if the description of this property is added to the http://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html manual.

      For those, who have the same problem an example: To install a PostgreSQL driver at lib/endorsed, add the following configuration entry at your karaf-maven-plugin definition:

      <libraries>
          <library>mvn:org.postgresql/postgresql/9.3-1102-jdbc41;type:=endorsed</library>
      </libraries>
      

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jkraushaar Jochen Kraushaar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: