Skip to content

Commit b498bd2

Browse files
author
Timothy Harris
committed
Add a pom file to handle dependencies with maven so you can get code completion in IntelliJ. Easier than setting up stuff manually. Otherwise no use for maven.
Update the .gitignore file
1 parent cabf1ce commit b498bd2

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ fabric.properties
6060
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
6161
hs_err_pid*
6262
# Created by .ignore support plugin (hsz.mobi)
63+
64+
65+
### Maven Stuff
66+
/target/*

jira/scripts/pom.xml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<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">
4+
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>com.adaptavist</groupId>
8+
<artifactId>scriptrunner-parent</artifactId>
9+
<version>7</version>
10+
</parent>
11+
12+
<groupId>com.onresolve.scriptrunner.assets</groupId>
13+
<artifactId>sr-sample-plugins-jira</artifactId>
14+
<version>1.0.4-SNAPSHOT</version>
15+
16+
<organization>
17+
<name>Example Company</name>
18+
<url>http://www.example.com/</url>
19+
</organization>
20+
21+
<name>JIRA Sample Plugins for ScriptRunner</name>
22+
<description>Sample plugin for ScriptRunner, has listeners and JQL functions etc</description>
23+
<packaging>atlassian-plugin</packaging>
24+
25+
<dependencies>
26+
<dependency>
27+
<groupId>com.atlassian.jira</groupId>
28+
<artifactId>jira-api</artifactId>
29+
<version>${jira.version}</version>
30+
<scope>provided</scope>
31+
</dependency>
32+
33+
<dependency>
34+
<groupId>com.atlassian.jira</groupId>
35+
<artifactId>jira-core</artifactId>
36+
<version>${jira.version}</version>
37+
<scope>provided</scope>
38+
</dependency>
39+
40+
<dependency>
41+
<groupId>com.onresolve.jira.groovy</groupId>
42+
<artifactId>groovyrunner</artifactId>
43+
<version>${scriptrunner.version}</version>
44+
<scope>provided</scope>
45+
</dependency>
46+
47+
<dependency>
48+
<groupId>com.atlassian.sal</groupId>
49+
<artifactId>sal-api</artifactId>
50+
<version>3.0.3</version>
51+
<scope>provided</scope>
52+
</dependency>
53+
</dependencies>
54+
55+
<build>
56+
<plugins>
57+
<plugin>
58+
<groupId>org.codehaus.gmavenplus</groupId>
59+
<artifactId>gmavenplus-plugin</artifactId>
60+
</plugin>
61+
62+
<plugin>
63+
<groupId>com.atlassian.maven.plugins</groupId>
64+
<artifactId>maven-jira-plugin</artifactId>
65+
</plugin>
66+
67+
</plugins>
68+
</build>
69+
70+
<properties>
71+
<atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
72+
<jira.version>7.3.6</jira.version>
73+
<jira.data.version>7.3.6</jira.data.version>
74+
</properties>
75+
</project>

0 commit comments

Comments
 (0)