Hi,
I'm getting several unresolved constraint in bundle exceptions when trying to deploy my new JIRA 7 plugin.
exceptions like this:
Unable to resolve 171.0: missing requirement [171.0]osgi.wiring.package; (osgi.wiring.package=com.ibm.uvm.tools)
I think it has something to do with the <import-package> config in pom.xml:
... <instructions> <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key> <!-- Add package to export here --> <Export-Package></Export-Package> <!-- Add package import here --> <Import-Package> org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", com.atlassian.activeobjects.external.*, com.atlassian.sal.api.*, org.apache.commons.beanutils.*, * </Import-Package> <!-- Ensure plugin is spring powered --> <Spring-Context>*</Spring-Context> </instructions> </configuration> </plugin>
What is the best method to fix these common errors?
just adding the package that is missing in the error message? like "
com.ibm.uvm.tools" in my case?
thank you for your advice
Community moderators have prevented the ability to post new answers.
This answer also solved my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, and it kiinda helped! but Im running into other dependency issues. this seems to have been the beginning of a series of other issues. right now in Flex portal com.ibm.uvm.tools is marked as
!! com.ibm.uvm.tools,version=0.0.0 from -- Cannot be resolved but is not required
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.