You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Aaron Coburn (JIRA)" <ji...@apache.org> on 2018/05/10 14:19:00 UTC
[jira] [Created] (SM-3701) Update OSGi bundle for mustache-compiler
0.9.5
Aaron Coburn created SM-3701:
--------------------------------
Summary: Update OSGi bundle for mustache-compiler 0.9.5
Key: SM-3701
URL: https://issues.apache.org/jira/browse/SM-3701
Project: ServiceMix
Issue Type: Improvement
Components: bundles
Reporter: Aaron Coburn
The current servicemix bundle for mustache-compiler (v0.9.5) imports a number of packages that are not used by the underlying mustache jar.
The servicemix bundle manifest includes:
Import-Package
com.google.common.base \{version=[13.0,21.0)}
com.google.common.cache \{version=[13.0,21.0)}
com.google.common.io \{version=[13.0,21.0)}
com.google.common.util.concurrent \{version=[13.0,21.0)}
com.twitter.util \{resolution:=optional}
but the mustache compiler does not use any of these packages.
Removing the lines here: [https://github.com/apache/servicemix-bundles/blob/master/mustache-compiler-0.9.5/pom.xml#L54-L58] should fix this.
Also, the import statements are not correct: [https://github.com/apache/servicemix-bundles/blob/master/mustache-compiler-0.9.5/pom.xml#L50-L51]. There is no need to export the non-existent com.twitter.mustache package, and the version for com.github.mustachejava is incorrect.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)