You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/11/02 23:07:18 UTC

[jira] [Resolved] (AMQ-3398) ActiveMQ feature.xml will not validate

     [ https://issues.apache.org/jira/browse/AMQ-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved AMQ-3398.
------------------------------

       Resolution: Fixed
    Fix Version/s: 5.9.0
         Assignee: Claus Ibsen

Works with 5.9

> 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
>            Assignee: Claus Ibsen
>             Fix For: 5.9.0
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)