Updated the boot features as below and not getting the Exception any more. This
is per [2]
<bootFeatures>
<feature>standard</feature>
<feature>management</feature>
<feature>ssh</feature>
<feature>config</feature>
<feature>region</feature>
<feature>package</feature>
<feature>kar</feature>
</bootFeatures>
[2]
https://github.com/apache/karaf/blob/karaf-3.0.x/assemblies/apache-karaf/pom.xml
Thanks
Vinu
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:[email protected]]
Sent: Thursday, October 09, 2014 3:29 PM
To: [email protected]
Subject: Re: karaf-maven-plugin:3.0.2-SNAPSHOT - Feature wrap is not resolved
Hi,
you have the response in the message: the wrap feature doesn't exist anymore
(you have wrapper, but it's a different one).
So, just remove from the bootFeatures.
Regards
JB
On 10/09/2014 11:45 AM, [email protected] wrote:
> Trying to build a custom distribution using
> karaf-maven-plugin:3.0.2-SNAPSHOT. Got this error,
>
> Caused by: _org.apache.maven.plugin.MojoFailureException_: Feature
> wrap is not resolved. Check that <dependencies/> provide the kar of
> features repository providing this feature (with compile or runtime
> scope)
>
> Plug-in configuration is as below, boot features are taken from [1]
>
> <configuration>
>
> <resourcesDir>${basedir}/target/resources</resourcesDir>
>
> <bootFeatures>
>
> <feature>wrap</feature>
>
> <feature>aries-blueprint</feature>
>
> <feature>shell</feature>
>
> <feature>shell-compat</feature>
>
> <feature>jaas</feature>
>
> <feature>ssh</feature>
>
> <feature>management</feature>
>
> <feature>bundle</feature>
>
> <feature>config</feature>
>
> <feature>deployer</feature>
>
> <feature>diagnostic</feature>
>
> <feature>instance</feature>
>
> <feature>kar</feature>
>
> <feature>log</feature>
>
> <feature>package</feature>
>
> <feature>service</feature>
>
> <feature>system</feature>
>
> </bootFeatures>
>
> <installedFeature>
>
> <feature>wrapper</feature>
>
> <feature>camel-core</feature>
>
> <feature>camel-stream</feature>
>
> <feature>camel-blueprint</feature>
>
> <feature>camel-snmp</feature>
>
> <feature>camel-zipfile</feature>
>
> <feature>camel-quartz2</feature>
>
> <feature>jasypt-encryption</feature>
>
> .
>
> .
>
> .
>
> </installedFeature>
>
> How do I resolve this ?
>
> regards
>
> Vinu
>
> [1]
> https://github.com/apache/karaf/blob/master/assemblies/apache-karaf/po
> m.xml
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com