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/pom.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

Reply via email to