Hi Devs,

When bundling the bundle[1] using feature plugin (2.1.0), I got the
error[2]. But after having offline discussion with Neranjan we found out
that bundle version is specified as 3.5.0.1 in manifest.mf.
So in order to build the feature we have to add dependency version as
3.5.0_1 [3] and add the bundle version as 3.5.0.1 [4].
So we had to maintain two version parameters in the root pom for same
bundle. I think its better if can we handle this kind of scenarios using
carbon feature plugin.

[1] - <bundle>

    <symbolicName>org.apache.servicemix.bundles.lucene</symbolicName>
    <version>3.5.0_1</version>
</bundle>

[2] - Failed to execute goal
org.wso2.carbon.maven:carbon-feature-plugin:2.1.0:generate
(1-p2-feature-generation) on project org.wso2.carbon.apimgt.core.feature:
Bundle org.apache.servicemix.bundles.lucene_3.5.0_1 is not found in project
dependency list

[3] - <dependency>

    <groupId>org.apache.servicemix.bundles</groupId>
    <artifactId>org.apache.servicemix.bundles.lucene</artifactId>
    <version>3.5.0_1</version>
</dependency>


[4] - <bundle>

    <symbolicName>org.apache.servicemix.bundles.lucene</symbolicName>
    <version>3.5.0.1</version>
</bundle>


Thanks!
Rajith

Rajith Roshan
Software Engineer, WSO2 Inc.
Mobile: +94-72-642-8350 <%2B94-71-554-8430>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to