|
19 | 19 | <packaging>atlassian-plugin</packaging> |
20 | 20 |
|
21 | 21 | <properties> |
| 22 | + |
22 | 23 | <bamboo.version>6.3.2</bamboo.version> |
23 | 24 | <bamboo.data.version>6.3.2</bamboo.data.version> |
24 | 25 | <amps.version>6.3.15</amps.version> |
25 | 26 | <plugin.testrunner.version>1.2.3</plugin.testrunner.version> |
26 | 27 | <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version> |
27 | 28 | <jersey-version>2.25.1</jersey-version> |
28 | 29 | <jackson-version>2.9.8</jackson-version> |
29 | | - <!--<atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>--> |
30 | 30 | <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. --> |
31 | 31 | <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key> |
32 | 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
33 | 33 | <maven.compiler.source>1.8</maven.compiler.source> |
34 | 34 | <maven.compiler.target>1.8</maven.compiler.target> |
| 35 | + <junit-version>4.12</junit-version> |
| 36 | + <swagger-core-version>1.5.15</swagger-core-version> |
| 37 | + |
35 | 38 | </properties> |
36 | 39 |
|
37 | 40 | <dependencies> |
| 41 | + |
38 | 42 | <dependency> |
39 | | - <groupId>com.codedx</groupId> |
40 | | - <artifactId>swagger-codegen-codedx-api-client</artifactId> |
41 | | - <version>1.0.0</version> |
42 | | - <scope>compile</scope> |
| 43 | + <groupId>io.swagger</groupId> |
| 44 | + <artifactId>swagger-annotations</artifactId> |
| 45 | + <version>${swagger-core-version}</version> |
43 | 46 | </dependency> |
44 | 47 |
|
45 | | - <!--<dependency>--> |
46 | | - <!--<groupId>com.google.code.gson</groupId>--> |
47 | | - <!--<artifactId>gson</artifactId>--> |
48 | | - <!--<version>2.8.1</version>--> |
49 | | - <!--<scope>compile</scope>--> |
50 | | - <!--</dependency>--> |
| 48 | + <!-- test dependencies --> |
| 49 | + <dependency> |
| 50 | + <groupId>junit</groupId> |
| 51 | + <artifactId>junit</artifactId> |
| 52 | + <version>${junit-version}</version> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
51 | 55 |
|
52 | 56 | <dependency> |
53 | 57 | <groupId>com.atlassian.bamboo</groupId> |
|
63 | 67 | <version>1.8.2</version> |
64 | 68 | </dependency> |
65 | 69 |
|
66 | | - |
67 | | - <!--<dependency> |
68 | | - <groupId>com.atlassian.plugin</groupId> |
69 | | - <artifactId>atlassian-spring-scanner-annotation</artifactId> |
70 | | - <version>${atlassian.spring.scanner.version}</version> |
71 | | - <scope>compile</scope> |
72 | | - </dependency> |
73 | | -
|
74 | | - <dependency> |
75 | | - <groupId>com.atlassian.plugin</groupId> |
76 | | - <artifactId>atlassian-spring-scanner-runtime</artifactId> |
77 | | - <version>${atlassian.spring.scanner.version}</version> |
78 | | - <scope>runtime</scope> |
79 | | - </dependency>--> |
80 | | - |
81 | | - <!--<dependency> |
82 | | - <groupId>javax.inject</groupId> |
83 | | - <artifactId>javax.inject</artifactId> |
84 | | - <version>1</version> |
85 | | - <scope>provided</scope> |
86 | | - </dependency> |
87 | | - |
88 | | - <dependency> |
89 | | - <groupId>junit</groupId> |
90 | | - <artifactId>junit</artifactId> |
91 | | - <version>4.10</version> |
92 | | - <scope>test</scope> |
93 | | - </dependency>--> |
94 | | - |
95 | | - <!-- WIRED TEST RUNNER DEPENDENCIES --> |
96 | | - <!--<dependency> |
97 | | - <groupId>com.atlassian.plugins</groupId> |
98 | | - <artifactId>atlassian-plugins-osgi-testrunner</artifactId> |
99 | | - <version>${plugin.testrunner.version}</version> |
100 | | - <scope>test</scope> |
101 | | - </dependency>--> |
102 | | - <dependency> |
103 | | - <groupId>javax.ws.rs</groupId> |
104 | | - <artifactId>jsr311-api</artifactId> |
105 | | - <version>1.1.1</version> |
106 | | - <scope>provided</scope> |
107 | | - </dependency> |
108 | 70 | <dependency> |
109 | 71 | <groupId>com.google.code.gson</groupId> |
110 | 72 | <artifactId>gson</artifactId> |
111 | 73 | <version>2.2.2-atlassian-1</version> |
112 | 74 | </dependency> |
113 | 75 |
|
114 | | - |
115 | 76 | <!-- HTTP client: jersey-client --> |
116 | 77 | <dependency> |
117 | 78 | <groupId>org.glassfish.jersey.core</groupId> |
|
148 | 109 | <dependency> |
149 | 110 | <groupId>com.github.joschi.jackson</groupId> |
150 | 111 | <artifactId>jackson-datatype-threetenbp</artifactId> |
151 | | - <version>${jackson-version}</version> |
| 112 | + <version>2.6.4</version> |
152 | 113 | </dependency> |
| 114 | + |
153 | 115 | <!-- Base64 encoding that works in both JVM and Android --> |
154 | 116 | <dependency> |
155 | 117 | <groupId>com.brsanthu</groupId> |
156 | 118 | <artifactId>migbase64</artifactId> |
157 | 119 | <version>2.2</version> |
158 | 120 | </dependency> |
| 121 | + |
159 | 122 | </dependencies> |
160 | 123 |
|
161 | 124 | <build> |
|
170 | 133 | <productDataVersion>${bamboo.data.version}</productDataVersion> |
171 | 134 | <enableQuickReload>true</enableQuickReload> |
172 | 135 | <enableFastdev>false</enableFastdev> |
173 | | - |
174 | | - <!-- See here for an explanation of default instructions: --> |
175 | | - <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins --> |
176 | | - <!--<instructions>--> |
177 | | - <!--<Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>--> |
178 | | - |
179 | | - <!--<!– Add package to export here –>--> |
180 | | - <!--<Export-Package>--> |
181 | | - <!--com.avi.codedx.bambooplugin.api,--> |
182 | | - <!--</Export-Package>--> |
183 | | - |
184 | | - <!--<!– Add package import here –>--> |
185 | | - <!--<Import-Package>--> |
186 | | - <!--org.springframework.osgi.*;resolution:="optional",--> |
187 | | - <!--org.eclipse.gemini.blueprint.*;resolution:="optional",--> |
188 | | - <!--com.atlassian.plugins.osgi.*;resolution:="optional",--> |
189 | | - <!--*--> |
190 | | - <!--</Import-Package>--> |
191 | | - |
192 | | - <!--<!– Ensure plugin is spring powered –>--> |
193 | | - <!--<!–<Spring-Context>*</Spring-Context>–>--> |
194 | | - <!--</instructions>--> |
195 | 136 | </configuration> |
196 | 137 | </plugin> |
197 | | - |
198 | | - <!--<plugin>--> |
199 | | - <!--<groupId>com.atlassian.plugin</groupId>--> |
200 | | - <!--<artifactId>atlassian-spring-scanner-maven-plugin</artifactId>--> |
201 | | - <!--<version>${atlassian.spring.scanner.version}</version>--> |
202 | | - <!--<executions>--> |
203 | | - <!--<execution>--> |
204 | | - <!--<goals>--> |
205 | | - <!--<goal>atlassian-spring-scanner</goal>--> |
206 | | - <!--</goals>--> |
207 | | - <!--<phase>process-classes</phase>--> |
208 | | - <!--</execution>--> |
209 | | - <!--</executions>--> |
210 | | - <!--<configuration>--> |
211 | | - <!--<scannedDependencies>--> |
212 | | - <!--<dependency>--> |
213 | | - <!--<groupId>com.atlassian.plugin</groupId>--> |
214 | | - <!--<artifactId>atlassian-spring-scanner-external-jar</artifactId>--> |
215 | | - <!--</dependency>--> |
216 | | - <!--</scannedDependencies>--> |
217 | | - <!--<verbose>false</verbose>--> |
218 | | - <!--</configuration>--> |
219 | | - <!--</plugin>--> |
220 | 138 | </plugins> |
221 | 139 | </build> |
| 140 | + |
222 | 141 | </project> |
0 commit comments