|
10 | 10 | <modelVersion>4.0.0</modelVersion> |
11 | 11 | <groupId>com.baloise.confluence</groupId> |
12 | 12 | <artifactId>digital-signature</artifactId> |
13 | | - <version>8.0.0</version> |
| 13 | + <version>8.0.1</version> |
14 | 14 |
|
15 | 15 | <properties> |
16 | 16 | <confluence.version>9.2.3</confluence.version> |
|
20 | 20 | <!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle's key. --> |
21 | 21 | <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key> |
22 | 22 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | | - <maven.compiler.source>1.8</maven.compiler.source> |
24 | | - <maven.compiler.target>1.8</maven.compiler.target> |
| 23 | + <maven.compiler.source>17</maven.compiler.source> |
| 24 | + <maven.compiler.target>17</maven.compiler.target> |
25 | 25 | <maven.compiler.version>3.14.0</maven.compiler.version> |
26 | 26 | <maven.javadoc.skip>true</maven.javadoc.skip> |
27 | 27 | <allow.google.tracking>false</allow.google.tracking> |
28 | 28 | <kotlin.version>2.1.20</kotlin.version> |
29 | | - <kotlin.compiler.jvmTarget>21</kotlin.compiler.jvmTarget> |
| 29 | + <kotlin.compiler.jvmTarget>17</kotlin.compiler.jvmTarget> |
30 | 30 | </properties> |
31 | 31 |
|
32 | 32 |
|
|
57 | 57 | <groupId>com.google.code.gson</groupId> |
58 | 58 | <artifactId>gson</artifactId> |
59 | 59 | <version>2.8.9</version> |
60 | | - <scope>provided</scope> |
61 | 60 | </dependency> |
62 | 61 |
|
63 | 62 | <dependency> |
|
66 | 65 | <version>${confluence.version}</version> |
67 | 66 | <scope>provided</scope> |
68 | 67 | </dependency> |
| 68 | + |
69 | 69 | <dependency> |
70 | 70 | <groupId>com.atlassian.mywork</groupId> |
71 | 71 | <artifactId>mywork-api</artifactId> |
|
211 | 211 | </goals> |
212 | 212 | </execution> |
213 | 213 | </executions> |
| 214 | + <configuration> |
| 215 | + <languageVersion>2.1</languageVersion> |
| 216 | + <apiVersion>2.1</apiVersion> |
| 217 | + <args> |
| 218 | + <arg>-Xwhen-guards</arg> |
| 219 | + </args> |
| 220 | + </configuration> |
| 221 | + |
214 | 222 | </plugin> |
215 | 223 | <plugin> |
216 | 224 | <groupId>org.apache.maven.plugins</groupId> |
|
282 | 290 | <productDataVersion>${confluence.data.version}</productDataVersion> |
283 | 291 | <enableQuickReload>false</enableQuickReload> |
284 | 292 | <extractDependencies>false</extractDependencies> |
| 293 | + <banningExcludes> |
| 294 | + <exclude>com.google.code.gson:gson</exclude> |
| 295 | + </banningExcludes> |
285 | 296 | <instructions> |
286 | 297 | <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key> |
287 | 298 | <!-- Add package to export here --> |
288 | 299 | <Export-Package>com.baloise.confluence.digitalsignature.api</Export-Package> |
289 | 300 | <!-- Add package import here --> |
290 | 301 | <Import-Package> |
291 | | - com.atlassian.plugin.module, |
292 | | - com.atlassian.plugin.osgi.external, |
293 | | - org.eclipse.gemini.blueprint.*, |
294 | | - org.osgi.framework, |
295 | | - org.springframework.*, |
296 | | - *, |
| 302 | + org.springframework.osgi.*;resolution:="optional", |
| 303 | + org.eclipse.gemini.blueprint.*;resolution:="optional", |
| 304 | + *;version="0";resolution:=optional |
297 | 305 | </Import-Package> |
298 | | - |
299 | 306 | <!-- Ensure plugin is spring powered --> |
300 | 307 | <Spring-Context>*</Spring-Context> |
301 | 308 | </instructions> |
|
0 commit comments