Plugin: Missing Dependencies, doesn't show up in templates list
I want to change the CSS of the html files, nothing fancy just changing font styles & sizes. If there's any other way please let me know. I'm on v2.1.15.
I created a plugin according to this document: http://www.k15t.com/display/HTML/Creating+and+shipping+a+Template+as+Confluence+Plugin
After a hiccup (included the toplevel folder) with the jar command line I got it to install successfully in confluence (4.2.13). I modified several sizes in the CSS files and wanted to see the effect. But I can't get the plugin to appear in the template dropdown box, I still only have "Default HTML Template". I reload the page after every change to the plugins page just to be sure, then I use the Tools dropdown menu to bring up Scroll HTML exporter.
Under plugins it says "This plugin has one or more modules with missing dependencies". The template module is disabled.
I tried it with the unmodified example template from the doc page but it says the same thing. I also tried making the template unique, ie using a unique key etc but that didn't help either.
Here's my current atlassian-plugin.xml maybe you can spot an error. I did notice that the compatibleExporters section near the end references "html-exporter" which isn't a name of a module in the Scroll HTML Exporter plugin. In case it's supposed to reference a module by name I tried changing that to the best matching candidates. I didn't have any luck with that though. So right now I'm pretty much stuck getting the template to show up in the list.
<atlassian-plugin key="com.steffens.scroll.html.template"
name="Steffens Template for Scroll HTML Exporter" plugins-version="2">
<plugin-info>
<description>
This plugins contains Steffens template for the Scroll HTML Exporter.
</description>
<version>1.0</version>
<vendor name="Steffen" url="http://www.google.com"/>
</plugin-info>
<scroll-template key="steffens-template" name="Steffens Template">
<resource type="template-part" name="attachmentlink" location="template/link-attachment.vm" />
<resource type="template-part" name="blockquote" location="template/blockquote.vm" />
<resource type="template-part" name="citation" location="template/citation.vm" />
<resource type="template-part" name="color" location="template/color.vm" />
<resource type="template-part" name="documentlink" location="template/link-page.vm" />
<resource type="template-part" name="heading" location="template/heading.vm" />
<resource type="template-part" name="image" location="template/image.vm" />
<resource type="template-part" name="info" location="template/admonition.vm" />
<resource type="template-part" name="inlineimage" location="template/image-inline.vm" />
<resource type="template-part" name="link" location="template/link-web.vm" />
<resource type="template-part" name="linktarget" location="template/anchor.vm" />
<resource type="template-part" name="note" location="template/admonition.vm" />
<resource type="template-part" name="page" location="template/page.vm" />
<resource type="template-part" name="panel" location="template/panel.vm" />
<resource type="template-part" name="para" location="template/paragraph.vm" />
<resource type="template-part" name="programlisting" location="template/programlisting.vm" />
<resource type="template-part" name="section" location="template/section.vm" />
<resource type="template-part" name="table" location="template/table.vm" />
<resource type="template-part" name="tablecell" location="template/table-cell.vm" />
<resource type="template-part" name="tablerow" location="template/table-row.vm" />
<resource type="template-part" name="tip" location="template/admonition.vm" />
<resource type="template-part" name="warning" location="template/admonition.vm" />
<resource type="static-resource" name="css/content-style.css" location="template/css/content-style.css" />
<resource type="static-resource" name="css/print.css" location="template/css/print.css" />
<resource type="static-resource" name="css/screen.css" location="template/css/screen.css" />
<resource type="static-resource" name="css/blueprint/ie.css" location="template/css/blueprint/ie.css" />
<resource type="static-resource" name="css/blueprint/liquid.css" location="template/css/blueprint/liquid.css" />
<resource type="static-resource" name="css/blueprint/print.css" location="template/css/blueprint/print.css" />
<resource type="static-resource" name="css/blueprint/screen.css" location="template/css/blueprint/screen.css" />
<resource type="static-resource" name="images/logo_titlepage.png" location="template/images/logo_titlepage.png" />
<resource type="static-resource" name="images/logos/icons/accept.png" location="template/images/icons/accept.png" />
<resource type="static-resource" name="images/logos/icons/delete.png" location="template/images/icons/accept.png" />
<resource type="static-resource" name="images/logos/icons/error.png" location="template/images/icons/accept.png" />
<resource type="static-resource" name="images/logos/icons/information.png" location="template/images/icons/accept.png" />
<resource type="static-resource" name="js/jquery-1.5.min.js" location="template/js/jquery-1.5.min.js" />
<param name="copyDefaultResources">false</param>
<param name="compatibleExporters">com.k15t.scroll.scroll-html:html-exporter</param>
</scroll-template>
</atlassian-plugin>
-
Yup, it was the missing scroll base plugin. That was really stupid of me. :)
Eventually I retraced my steps, went back to zero and checked the checklist once more. When it mentioned the scroll base plugin, I checked, and I hadn't installed it or removed it when the first attempts had failed.
Please sign in to leave a comment.
Comments
3 comments