1. Robert Massaioli
  2. Ping Me

Commits

Robert Massaioli  committed 589e401

Added in the button to the UI.

This is awesome. Pretty soon we will be able to get pings whenever we want them.

  • Participants
  • Parent commits 2f5661c
  • Branches master

Comments (0)

Files changed (3)

File pom.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.atlassian.jira.extension</groupId>
     <artifactId>pingme</artifactId>
     <version>1.0-SNAPSHOT</version>
-
     <organization>
-        <name>Example Company</name>
-        <url>http://www.example.com/</url>
+        <name>Atlassian</name>
+        <url>http://www.atlassian.com/</url>
     </organization>
-
-    <name>pingme</name>
-    <description>This is the com.atlassian.jira.extension:pingme plugin for Atlassian JIRA.</description>
+    <name>PingMe Plugin - Ping and Forget</name>
+    <description>The PingMe plugin for JIRA allows users to get notified about issues when they want to be notified so that they can forget about the issue until then.</description>
     <packaging>atlassian-plugin</packaging>
-
     <dependencies>
         <dependency>
             <groupId>com.atlassian.jira</groupId>
             <version>${jira.version}</version>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-all</artifactId>
+            <version>1.8.5</version>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
-
     <build>
         <plugins>
             <plugin>
                 <configuration>
                     <productVersion>${jira.version}</productVersion>
                     <productDataVersion>${jira.version}</productDataVersion>
+                    <instructions/>
                 </configuration>
             </plugin>
             <plugin>
             </plugin>
         </plugins>
     </build>
-
     <properties>
         <jira.version>5.0</jira.version>
         <amps.version>3.10.4</amps.version>
     </properties>
-
 </project>

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

View file
+<?xml version="1.0" encoding="UTF-8"?>
+
 <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}" />
-    </plugin-info>
-</atlassian-plugin>
+  <plugin-info>
+    <description>${project.description}</description>
+    <version>${project.version}</version>
+    <vendor name="${project.organization.name}" url="${project.organization.url}"/>
+  </plugin-info>
+
+  <resource type="i18n" name="i18n" location="com.atlassian.jira.extension.pingme"/>
+
+  <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"></label>
+    <link linkId="ping-me-action-link">/secure/PingMe!default.jspa</link>
+  </web-item>
+</atlassian-plugin>

File src/main/resources/com/atlassian/jira/extension/pingme.properties

View file
+ping-me-action.label=Ping Me
+ping-me-action.name=Ping Me
+ping-me-action.description=The PingMe Button