I don't understand your feature.

Why does it contain the <repository/> to itself ?

Regards
JB

On 11/27/2015 11:23 AM, gersid wrote:
simple example of such a feature is the following

<?xml version="1.0" encoding="UTF-8"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";
           name="${project.artifactId}-${project.version}">

<repository>mvn:${project.groupId}/${project.artifactId}/${project.version}/xml/features</repository>

     <feature name="${project.artifactId}" version="${project.version}">
         <bundle>mvn:com.googlecode.guava-osgi/guava-osgi/11.0.1</bundle>


<bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>
     </feature>
</features>


It is clear, the <repository> is referencing itself.
(I do not say that it is good style of writing features )



--
View this message in context: 
http://karaf.922171.n3.nabble.com/K-4-0-3-hangs-when-installing-feature-containing-looping-repository-reference-tp4043762p4043860.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to