maven - Updating JIRA Plugin Compatibility for JIRA 7.4.x -
i've been developing jira/jsd plugin targets 7.3.3, , i'm trying make compatible 7.4 & 7.5. have class extends abstractwebcondition , use in atlassian-plugin.xml web item condition. reference com.atlassian.plugin.web.condition.class in plugin.
i'm getting following error after installed plugin on 7.4.4 data center instance:
> java.io.filenotfoundexception: class path resource > [com/atlassian/plugin/web/condition.class] cannot opened because > not exist @ > org.springframework.context.annotation.configurationclassparser.parse(configurationclassparser.java:182) > @ > org.springframework.context.annotation.configurationclasspostprocessor.processconfigbeandefinitions(configurationclasspostprocessor.java:321) > @ > org.springframework.context.annotation.configurationclasspostprocessor.postprocessbeanfactory(configurationclasspostprocessor.java:261) > @ > org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.invokebeanfactorypostprocessors(abstractdelegatedexecutionapplicationcontext.java:444) > @ > org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.invokebeanfactorypostprocessors(abstractdelegatedexecutionapplicationcontext.java:414) > @ > org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.invokebeanfactorypostprocessors(abstractdelegatedexecutionapplicationcontext.java:362) > @ > org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext$3.run(abstractdelegatedexecutionapplicationcontext.java:254) > @ > org.eclipse.gemini.blueprint.util.internal.privilegedutils.executewithcustomtccl(privilegedutils.java:85) > @ > org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.startrefresh(abstractdelegatedexecutionapplicationcontext.java:220) > @ > org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.dependencywaiterapplicationcontextexecutor.stageone(dependencywaiterapplicationcontextexecutor.java:224) > @ > org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.dependencywaiterapplicationcontextexecutor.refresh(dependencywaiterapplicationcontextexecutor.java:177) > @ > org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.refresh(abstractdelegatedexecutionapplicationcontext.java:157) > @ > org.eclipse.gemini.blueprint.extender.internal.activator.lifecyclemanager$1.run(lifecyclemanager.java:207) > @ > java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) > @ > java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) > @ java.lang.thread.run(thread.java:745) caused by: > java.io.filenotfoundexception: class path resource > [com/atlassian/plugin/web/condition.class] cannot opened because > not exist @ > org.springframework.core.io.classpathresource.getinputstream(classpathresource.java:172) > @ > org.springframework.core.type.classreading.simplemetadatareader.<init>(simplemetadatareader.java:50) > @ > org.springframework.core.type.classreading.simplemetadatareaderfactory.getmetadatareader(simplemetadatareaderfactory.java:98) > @ > org.springframework.core.type.classreading.cachingmetadatareaderfactory.getmetadatareader(cachingmetadatareaderfactory.java:102) > @ > org.springframework.core.type.classreading.simplemetadatareaderfactory.getmetadatareader(simplemetadatareaderfactory.java:93) > @ > org.springframework.context.annotation.configurationclassparser$sourceclass.getinterfaces(configurationclassparser.java:797) > @ > org.springframework.context.annotation.configurationclassparser.doprocessconfigurationclass(configurationclassparser.java:298) > @ > org.springframework.context.annotation.configurationclassparser.processconfigurationclass(configurationclassparser.java:232) > @ > org.springframework.context.annotation.configurationclassparser.parse(configurationclassparser.java:191) > @ > org.springframework.context.annotation.configurationclassparser.parse(configurationclassparser.java:174) > ... 15 more after doing little research tried adding class pom imported package this: import-package>, com.atlassian.plugin.web.;version="0";resolution:=optional
but got error:
> unable resolve 254.0: missing requirement [254.0] > osgi.wiring.package; (osgi.wiring.package=com.sun.msv.grammar) @ > org.apache.felix.framework.felix.resolvebundlerevision(felix.java:3974) > @ org.apache.felix.framework.felix.startbundle(felix.java:2037) @ > org.apache.felix.framework.bundleimpl.start(bundleimpl.java:955) @ > org.apache.felix.framework.bundleimpl.start(bundleimpl.java:942) @ com.atlassian.plugin.osgi.factory.osgiplugin.enableinternal(osgiplugin.java:399) i thought there may dependency issue pom, updated packages. here snippets of pom looks like:
jira 7.4.4 spring 4.2.6.release
<groupid>com.atlassian.maven.plugins</groupid> <artifactid>maven-jira-plugin</artifactid> <version>6.3.3</version> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-release-plugin</artifactid> <version>2.4.2</version> <groupid>org.hibernate</groupid> <artifactid>hibernate-validator</artifactid> <version>5.2.4.final</version> <scope>compile</scope> <groupid>com.atlassian.plugin</groupid> <artifactid>atlassian-spring-scanner-annotation</artifactid> <version>2.0.1</version> <scope>provided</scope> before updated (and peachy) versions in pom were:
jira: 7.3.3
spring: 4.2.4.release
maven-jira-plugin: 6.2.11
maven-release-plugin: 2.4.2
any guidance on how working appreciated! thanks!
Comments
Post a Comment