/src/main/resources/atlassian-plugin.xml
https://bitbucket.org/melias/jira-issue-summary-conventions-plugin · XML · 156 lines · 130 code · 19 blank · 7 comment · 0 complexity · d3674526ae4f098b27b3bec499466507 MD5 · raw file
- <atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
- <plugin-info>
- <description>${project.description}</description>
- <version>${project.version}</version>
- <vendor name="${project.organization.name}" url="${project.organization.url}"/>
- <bundle-instructions>
- <Export-Package/>
- </bundle-instructions>
- </plugin-info>
- <resource type="i18n" name="issue-summary-conventions-plugin" location="issue-summary-conventions-plugin"/>
- <!-- REST -->
- <rest key="rest-resources" path="/convention-enforcer" version="1.0">
- <description>Provides the REST resources for the plugin.</description>
- </rest>
- <ao key="ao-module">
- <description>The module configuring the Active Objects service used by this plugin</description>
- <entity>com.atlassian.jira.plugin.convention.convention.ConventionEntity</entity>
- <entity>com.atlassian.jira.plugin.convention.config.ConfigEntity</entity>
- <entity>com.atlassian.jira.plugin.convention.config.ConfigEntryEntity</entity>
- </ao>
- <!-- COMPONENT IMPORTS -->
- <component-import key="ao" name="Active Objects service"
- interface="com.atlassian.activeobjects.external.ActiveObjects">
- <description>Component to access Active Objects functionality from the plugin</description>
- </component-import>
- <component-import key="velocity-renderer" interface="com.atlassian.templaterenderer.TemplateRenderer"/>
- <component-import key="project-manager" interface="com.atlassian.jira.project.ProjectManager"/>
- <component-import key="auth-ctx" interface="com.atlassian.jira.security.JiraAuthenticationContext"/>
- <component-import key="issue-type-manager" interface="com.atlassian.jira.config.IssueTypeManager"/>
- <!-- COMPONENTS -->
- <component key="template-service" class="com.atlassian.jira.plugin.convention.template.ConventionTemplateService"
- interface="com.atlassian.jira.plugin.convention.template.ConventionTemplateService"/>
- <component key="convention-context" class="com.atlassian.jira.plugin.convention.context.ConventionContext"/>
- <component key="convention-manager" class="com.atlassian.jira.plugin.convention.convention.ConventionManagerBean"/>
- <component key="convention-config-manager"
- class="com.atlassian.jira.plugin.convention.config.ConventionConfigManagerBean"/>
- <component key="config-repo"
- interface="com.atlassian.jira.plugin.convention.config.ConventionConfigRepository"
- class="com.atlassian.jira.plugin.convention.config.ConventionConfigAoRepository"/>
- <component key="convention-repo"
- interface="com.atlassian.jira.plugin.convention.convention.ConventionRepository"
- class="com.atlassian.jira.plugin.convention.convention.ConventionAoRepository"/>
- <!-- UI Components -->
- <web-item key="project-config-conventions-tab" name="Project Conventions"
- section="atl.jira.proj.config/projectgroup2"
- i18n-name-key="admin.project.tab.issue.conventions" weight="50">
- <label key="convention-enforcer.words.conventions"></label>
- <link linkId="project-config-conventions-tab">/secure/ViewConventions!default.jspa?projectKey=$projectKeyEncoded
- </link>
- <description>The link in Project Config that links to the conventions configuration page</description>
- </web-item>
- <webwork1 key="project-config-conventions" name="Conventions Project Admin">
- <actions>
- <action name="com.atlassian.jira.plugin.convention.projectconfig.ViewConventions"
- alias="ViewConventions" roles-required="admin">
- <view name="success">/projectconfig/view-conventions.vm</view>
- <view name="error">/projectconfig/view-conventions.vm</view>
- </action>
- <action name="com.atlassian.jira.plugin.convention.projectconfig.AddConvention"
- alias="AddConvention" roles-required="admin">
- <view name="success">/projectconfig/add-convention.vm</view>
- <view name="error">/projectconfig/add-convention.vm</view>
- </action>
- <action name="com.atlassian.jira.plugin.convention.projectconfig.ViewConvention"
- alias="ViewConvention" roles-required="admin">
- <view name="success">/projectconfig/view-convention.vm</view>
- <view name="error">/projectconfig/view-convention.vm</view>
- </action>
- </actions>
- </webwork1>
- <!-- Project Config Summary Convention Panel -->
- <web-panel key="issue.convention.project-summary-panel" location="webpanels.admin.summary.right-panels">
- <label key="convention-enforcer.words.conventions"/>
- <resource name="view" type="velocity" location="projectconfig/summary-conventions.vm"/>
- <resource name="css" type="download" location="css/summary-conventions.css"/>
- <context-provider
- class="com.atlassian.jira.plugin.convention.projectconfig.ConventionSummaryPanelContextProvider"/>
- <description>The project summary panel for configured conventions</description>
- </web-panel>
- <!-- Project Config Conventions Panel -->
- <web-panel key="issue.convention.panel" location="tabs.admin.projectconfig.conventions" weight="120">
- <resource name="view" type="velocity" location="projectconfig/conventions-summary.vm"/>
- <description>The project summary panel for configured conventions</description>
- </web-panel>
- <!-- WEB RESOURCES -->
- <web-resource key="summary-assist-resources" name="Summary Enhancer Resources">
- <context>atl.general</context>
- <transformation extension="js">
- <transformer key="jsI18n"/>
- </transformation>
- <transformation extension="soy">
- <transformer key="jiraSoyTransformer"/>
- </transformation>
- <resource name="convention-rest-client.js" type="download" location="js/convention-rest-client.js"></resource>
- <resource name="summary-enhancer.soy.js" type="download" location="templates/summary-enhancer.soy"></resource>
- <resource name="summary-enhancer.js" type="download" location="js/summary-enhancer.js"></resource>
- <resource name="summary-enhancer.css" type="download" location="css/summary-enhancer.css"></resource>
- <resource type="download" name="success.png" location="css/success.png"/>
- <resource type="download" name="hint.png" location="css/hint.png"/>
- <resource type="download" name="warning.png" location="css/warning.png"/>
- <resource type="download" name="down_key.png" location="css/down_key.png"/>
- </web-resource>
- <web-resource key="project-config-resources" name="Project Configuration Resources">
- <context>atl.admin</context>
- <transformation extension="js">
- <transformer key="jsI18n"/>
- </transformation>
- <transformation extension="soy">
- <transformer key="jiraSoyTransformer"/>
- </transformation>
- <resource name="convention-rest-client.js" type="download" location="js/convention-rest-client.js"></resource>
- <resource name="conventions-model.js" type="download" location="js/conventions-model.js"></resource>
- <resource name="convention-dialog.js" type="download" location="js/convention-dialog.js"></resource>
- <resource name="conventions-table.js" type="download" location="js/conventions-table.js"></resource>
- <resource name="conventions-controller.js" type="download" location="js/conventions-controller.js"></resource>
- <resource name="view-conventions.js" type="download" location="js/view-conventions.js"></resource>
- <resource name="view-conventions.css" type="download" location="css/view-conventions.css"></resource>
- <resource name="conventions-table.soy.js" type="download" location="templates/conventions-table.soy"></resource>
- <resource name="convention-dialog.soy.js" type="download" location="templates/convention-dialog.soy"></resource>
- <resource name="conventions-summary.js" type="download" location="js/conventions-summary.js"></resource>
- <resource name="conventions-summary.soy.js" type="download"
- location="templates/conventions-summary.soy"></resource>
- </web-resource>
- <web-resource key="admin-resources" name="Admin Resources">
- <dependency>jira.webresources:autocomplete</dependency>
- <dependency>jira.webresources:jira-fields</dependency>
- <dependency>com.atlassian.jira.jira-project-config-plugin:project-config-global</dependency>
- <dependency>com.atlassian.gadgets.embedded:gadget-standalone-resources</dependency>
- <transformation extension="js">
- <transformer key="jsI18n"/>
- </transformation>
- <transformation extension="soy">
- <transformer key="jiraSoyTransformer"/>
- </transformation>
- <dependency>com.atlassian.jira.jira-soy-plugin:soy-deps</dependency>
- </web-resource>
- </atlassian-plugin>