Advertisement
andreybotanic

atlassian-plugin.xml

Dec 6th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.38 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
  4.     <plugin-info>
  5.         <description>${project.description}</description>
  6.         <version>${project.version}</version>
  7.         <vendor name="${project.organization.name}" url="${project.organization.url}"/>
  8.         <param name="plugin-icon">images/pluginIcon.png</param>
  9.         <param name="plugin-logo">images/pluginLogo.png</param>
  10.     </plugin-info>
  11.     <!-- add our i18n resource -->
  12.     <resource type="i18n" name="i18n" location="limitedUserPicker"/>
  13.     <!-- add our web resources -->
  14.     <web-resource key="limitedUserPicker-resources" name="limitedUserPicker Web Resources">
  15.         <dependency>com.atlassian.auiplugin:ajs</dependency>
  16.         <dependency>com.atlassian.auiplugin:aui-select2</dependency>
  17.         <dependency>com.atlassian.auiplugin:aui-experimental-iconfont</dependency>
  18.         <resource type="download" name="limitedUserPicker.css" location="/css/limitedUserPicker.css"/>
  19.         <resource type="download" name="limitedUserPicker.js" location="/js/limitedUserPicker.js"/>
  20.         <resource type="download" name="images/" location="/images"/>
  21.         <context>jira.general</context> <!-- TODO: подобрать правильный контекст -->
  22.         <context>limitedUserPicker</context>
  23.     </web-resource>
  24.     <customfield-type name="Limited User Picker" i18n-name-key="limited-user-picker.name" key="limited-user-picker"
  25.                      class="com.atlassian.hclass.limitedUserPickerPlugin.customfields.LimitedUserPicker">
  26.         <description key="limited-user-picker.description">The Limited User Picker Plugin</description>
  27.         <resource name="view" type="velocity" location="/templates/customfields/limited-user-picker/view.vm"/>
  28.         <resource name="edit" type="velocity" location="/templates/customfields/limited-user-picker/edit.vm"/>
  29.     </customfield-type>
  30.     <rest name="REST Api" i18n-name-key="rest-api.name" key="rest-api" path="/limited_user_picker" version="2.0">
  31.         <description key="rest-api.description">The REST Api Plugin</description>
  32.     </rest>
  33.     <ao key="limited-user-picker-ao">
  34.         <entity>com.atlassian.hclass.limitedUserPickerPlugin.ao.UserEntity</entity>
  35.         <entity>com.atlassian.hclass.limitedUserPickerPlugin.ao.GroupEntity</entity>
  36.     </ao>
  37. </atlassian-plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement