ActiveMQ feature.xml will not validate
--------------------------------------

                 Key: AMQ-3398
                 URL: https://issues.apache.org/jira/browse/AMQ-3398
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.5.0
         Environment: Karaf 2.2.2, features-maven-plugin 2.2.2, JDK 6
            Reporter: Mike Gardiner


I have started using the features-maven-plugin version 2.2.2 to validate my 
feature.xml file.  When I add the activemq-karaf repository to my features.xml 
file it errors with 

EXAMPLE: 
<features>
  
<repository>mvn:org.apache.activemq/activemq-karaf/5.5.0/xml/features</repository>

ERROR: 
Unable to resolve artifact for uri 
mvn:org.apache.activemq/activemq-web-console/5.5.0/war?Webapp-Context=activemq-web-console
 

I think this has something to do with the WAR feature needing to be installed 
but looking at 
http://svn.apache.org/viewvc/activemq/tags/activemq-5.5.0/activemq-karaf/src/main/resources/features.xml?view=markup
 it looks like it is already specified. 

I think the problem is that the url is missing the war: prefix as specified 
below. 


    <feature name="activemq-web-console" version="5.5.0" resolver="(obr)">
      <feature version="[2,3)">war</feature>
      
<bundle>war:mvn:org.apache.activemq/activemq-web-console/5.5.0/war?Webapp-Context=activemq-web-console</bundle>
    </feature>

Thanks. 

-Mike-

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to