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.

Reply via email to