[
https://issues.apache.org/jira/browse/SMX4-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706831#comment-13706831
]
Claus Ibsen commented on SMX4-1477:
-----------------------------------
When releasing these bundles then we should take care not to have mandatory
imports when they are optional.
{code}
[WARNING] Failed to validate feature camel-mustache
[WARNING] No export found to match com.google.common.base;version="[13.0,14)"
(imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match scala (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match scala.collection.generic (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match org.jruby.embed (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match scala.collection (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match com.google.common.cache;version="[13.0,14)"
(imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match org.jruby (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match
com.google.common.util.concurrent;version="[13.0,14)" (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match scala.runtime (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
[WARNING] No export found to match scala.reflect (imported by
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mustache-compiler/0.8.12_1/)
{code}
what we need is only
{code}
[INFO] +- com.github.spullara.mustache.java:compiler:jar:0.8.12:compile
[INFO] | \- com.google.guava:guava:jar:14.0.1:compile (version managed from
13.0.1)
{code}
All the scala, jruby stuff should be optional. Only google guava is needed. And
then make its version range more wider as it also support version 14 of guava
etc.
> Add osgi bundle for mustache
> ----------------------------
>
> Key: SMX4-1477
> URL: https://issues.apache.org/jira/browse/SMX4-1477
> Project: ServiceMix 4
> Issue Type: Task
> Components: Bundles
> Reporter: Claus Ibsen
> Assignee: Freeman Fang
> Fix For: bundles-2013.06
>
>
> For the new camel-mustache component we need an OSGi bundle for
> com.github.spullara.mustache.java:compiler:jar:0.8.12:compile
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira