I think that the issue is that the maven plugin is not able to manage
artifacts from another type than jar (AFAIR).
I gonna take a look on that.
Regards
JB
On 11/09/2013 12:51 PM, Charles Moulliard wrote:
As the war file is available from maven repo, you should be able to
deploy it
(http://repo1.maven.org/maven2/org/apache/activemq/activemq-web-console/5.9.0/
Ca, you try to install it manually using command (install -s
webbundle:war:mvn:org.apache.activemq/activemq-web-console/5.9.0/war
On Fri, Nov 8, 2013 at 11:46 PM, Timothy Stewart
<[email protected] <mailto:[email protected]>> wrote:
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.
--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
<http://cmoulliard.github.io>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com