Skip to content

Commit

Permalink
[#8] fix: read thumbnail from plugin instead from web
Browse files Browse the repository at this point in the history
  • Loading branch information
ingomohr committed Jan 3, 2020
1 parent 100fa7d commit b869cd2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.ingomohr.jira</groupId>
<artifactId>jira-versions-gadget</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.1.1</version>

<name>jira-versions-gadget</name>
<packaging>atlassian-plugin</packaging>
Expand Down
6 changes: 4 additions & 2 deletions src/main/resources/atlassian-plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<plugin-info>
<description>Provides a dashboard gadget to show versions</description>
<vendor name="Ingo Mohr" url="http://www.ingomohr.org"/>
<version>1.2</version>
<version>1.1.1</version>
</plugin-info>

<!--
Expand All @@ -15,11 +15,13 @@
disable/enable the gadget.
-->
<gadget key="jira-versions-gadget" name="Versions Gadget" location="gadget.xml"/>

<!-- Makes the gadget Locale messages available for the gadget's use. -->
<resource type="download" name="i18n/ALL_ALL.xml" location="i18n/ALL_ALL.xml">
<param name="content-type" value="text/xml; charset=UTF-8"/>
</resource>

<resource type="download" name="thumbnail.png" location="images/thumbnail.png"/>

<!--
Automatically finds all JAX-RS resource classes in the plugin and
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/gadget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
author_email="[email protected]"
directory_title="__MSG_gadget.title__"
description="__MSG_gadget.description__"
thumbnail="https://github.com/ingomohr/jira-versions-gadget/releases/download/1.0/gadget-thumbnail.png">
thumbnail='#staticResourceUrl("org.ingomohr.jira.jira-versions-gadget:jira-versions-gadget-resources", "thumbnail.png")'
>
<Optional feature="gadget-directory">
<Param name="categories">
Expand Down
Binary file added src/main/resources/images/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b869cd2

Please sign in to comment.