我想为JIRA移植我的插件以使其与JIRA 7.4.x兼容当我在pom.xml中将JIRA的版本更改为7.4.1时,我收到以下编译错误:
package com.atlassian.crowd.embedded.api does not exist
package org.apache.velocity does not exist
package org.apache.velocity.app does not exist
package org.apache.commons.codec.binary does not exist
class file for com.atlassian.crowd.embedded.api.Group not found
class file for com.atlassian.plugin.web.Condition not found
当我将版本设置为7.4.2时,我可以编译插件,也可以在JIRA中运行它而不会出现问题。 Here是一个包含我的pom.xml属性和依赖项的粘贴。我们可以做些什么来使插件兼容JIRA 7.4.1?
谢谢 :)
我必须在我的pom.xml中的maven-jira-plugin中添加<import-package>
指令来解决这个问题。文件:https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins
此外,this answer解决了我的进一步的类路径/依赖性错误。