I've got a features file that includes several activemq, camel, cxf, etc.
requirements.  To simplify the problem I'm seeing, I've simplified the
features file to:

<?xml version="1.0" encoding="UTF-8"?>
<features name='my-karaf-feature-repo'>
   
<repository>mvn:org.apache.activemq/activemq-karaf/5.9.0/xml/features</repository>

    <feature name="my-karaf-feature" version='${project.version}'
resolver='(obr)' start-level='50'>
        
        <feature>activemq-web-console</feature>
    </feature>
</features>


This fails with:

validate (validate) on project my-karaf-feature: Unable to validate .... :
Unable to resolve artifact for uri
mvn:org.apache.activemq/activemq-web-console/5.9.0/war -> [Help 1]

Looking at the features file for activemq, I see:

<feature name="activemq-web-console" version="5.9.0" resolver="(obr)"
start-level="50">
  <feature start-level="10">war</feature> 
  <feature start-level="10">eventadmin</feature> 
  <configfile
finalname="/etc/org.apache.activemq.webconsole.cfg">mvn:org.apache.activemq/activemq-karaf/5.9.0/cfg/activemq-webconsole</configfile>
 
  <bundle>mvn:org.apache.activemq/activemq-web-console/5.9.0/war</bundle> 
  </feature>

Which I guess is where things failed.

Is this a problem with the features-maven-plugin, with the activemq features
file, or something I'm doing?





--
View this message in context: 
http://karaf.922171.n3.nabble.com/ActiveMQ-Web-Console-5-9-0-in-a-Features-file-tp4030244.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to