Jochen Kraushaar created KARAF-4147:
---------------------------------------

             Summary: karaf-maven-plugin: Add description of configuration 
property "libraries"
                 Key: KARAF-4147
                 URL: https://issues.apache.org/jira/browse/KARAF-4147
             Project: Karaf
          Issue Type: Documentation
    Affects Versions: 4.0.3
            Reporter: Jochen Kraushaar


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:

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to