Created attachment 916830 [details] Intallation log for bundle "switchyard-component-bean" === Description of problem: Unable to install dependency of feature "switchyard-bean": mvn:org.switchyard.components/switchyard-component-bean/2.0.0.Alpha1-redhat-1. Caused by: java.lang.NumberFormatException: For input string: "${version" This bug blocks installation of most of the quickstarts!!! switchyard-quickstart-bean-service switchyard-quickstart-camel-amqp-binding switchyard-quickstart-camel-atom-binding switchyard-quickstart-camel-binding switchyard-quickstart-camel-bindy switchyard-quickstart-camel-bus-cdi switchyard-quickstart-camel-ftp-binding switchyard-quickstart-camel-jms-binding switchyard-quickstart-camel-jpa-binding switchyard-quickstart-camel-mail-binding switchyard-quickstart-camel-netty-binding switchyard-quickstart-camel-quartz-binding switchyard-quickstart-camel-rss-binding switchyard-quickstart-remote-invoker switchyard-quickstart-camel-sql-binding switchyard-quickstart-transform-dozer switchyard-quickstart-transform-jaxb switchyard-quickstart-transform-json switchyard-quickstart-transform-smooks switchyard-quickstart-transform-xslt switchyard-quickstart-validate-xml switchyard-quickstart-camel-sap-binding switchyard-demo-policy-transaction === Version-Release number of selected component (if applicable): fsw-6.1.0-DR1 === How reproducible: 100% === Steps to Reproduce: 1. features:addurl mvn:org.switchyard.karaf/switchyard/2.0.0.Alpha1-redhat-1/xml/features 2 features:install -v switchyard-bean === Actual results: see log === Expected results: ===Additional info:
There is a problem in MANIFEST.MF: - Missing Import-Package: "javax.enterprise.inject" - Bad Provide-Capability version: “${version;====;2.0.0.Alpha1.redhat.1}”. Should be replaced with “2.0.0.Alpha1-redhat-1”.
The problem with the manifest was caused by the build system picking up a different version of the Apache Felix Bundle plugin than the one required by SwitchYard. It was using version 2.3.7 from the JBoss BOM, which was unable to parse some of the directives in the SwitchYard Components bean pom, so as a result the manifest file was missing some packages from the Import-Package section, javax.enterprise.inject being one. The incorrect version string was partly due to the wrong plugin being used (the ${version;====;} bit of it wasn't recognised), but the replacement of dashes for dots in the version wasn't correct so has been patched. The SwitchYard-Bean component now builds and installs successfully in Fuse and will be available in the DR3 release.
Verified in JBoss Fuse 6.2 GA.