Commits

Robert Massaioli [Atlassian]  committed 9c01b13

Adding our components to the plugin xml.

I am making the plugin more capable all of the time. Very soon we will have it all running.

  • Participants
  • Parent commits e4950e1

Comments (0)

Files changed (1)

File src/main/resources/atlassian-plugin.xml

     <vendor name="${project.organization.name}" url="${project.organization.url}"/>
     </plugin-info>
 
+    <!-- I18N Resources -->
     <resource type="i18n" name="i18n" location="com.atlassian.jira.extension.pingme"/>
 
+    <!-- Active Objects 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 key="tx-processor" name="Transactional Annotation Processor"
+               class="com.atlassian.activeobjects.external.TransactionalAnnotationProcessor">
+        <decription>Processes @Transactional annotations.</decription>
+    </component>
+
+    <!-- Our Components -->
+    <component key="pingmeService" name="PingMeService" class="com.atlassian.jira.extension.PingServiceImpl">
+        <interface>com.atlassian.jira.extension.PingService</interface>
+    </component>
+
+    <!-- UI Buttons and Links -->
     <web-item name="PingMeAction" i18n-name-key="ping-me-action.name" key="ping-me-action" section="operations-top-level" weight="1000">
-    <description key="ping-me-action.description">The PingMeAction Plugin</description>
-    <label key="ping-me-action.label"/>
-    <link linkId="ping-me-action-link">/secure/PingMeAction!default.jspa</link>
+        <description key="ping-me-action.description">The PingMeAction Plugin</description>
+        <label key="ping-me-action.label"/>
+        <link linkId="ping-me-action-link">/secure/PingMeAction!default.jspa</link>
     </web-item>
 
+    <!-- Webwork pages and links -->
     <webwork1 key="ping-me-action" name="PingMe Action" i18n-name-key="ping-me-action.name">
-    <description key="ping-me-action.description">The PingMe Action Plugin</description>
-    <actions>
-      <action name="com.atlassian.jira.extension.jira.webwork.PingMeAction" alias="PingMeAction">
-        <view name="success">/templates/ping-me-action/pingmeaction/success.vm</view>
-      </action>
-    </actions>
+        <description key="ping-me-action.description">The PingMe Action Plugin</description>
+        <actions>
+          <action name="com.atlassian.jira.extension.jira.webwork.PingMeAction" alias="PingMeAction">
+            <view name="success">/templates/ping-me-action/pingmeaction/success.vm</view>
+          </action>
+        </actions>
     </webwork1>
 
+    <!-- Rest Plugin -->
     <rest name="Ping Me Rest Resource" i18n-name-key="ping-me-rest-resource.name" key="ping-me-rest-resource" path="/pingme" version="1.0">
-    <description key="ping-me-rest-resource.description">The Ping Me Rest Resource Plugin</description>
+        <description key="ping-me-rest-resource.description">The Ping Me Rest Resource Plugin</description>
     </rest>
 
+    <!-- Active Objects Modules and Entities -->
     <ao key="ao-module">
         <description>The AO module for this plugin.</description>
         <entity>com.atlassian.jira.extension.persistence.PingEntity</entity>