Help with importing com.fasterxml.jackson.dataformat.xml  into AEM 6.2 | Community
Skip to main content
Level 6
Nov 14, 2016 5:23 PM UTC
Solved

Help with importing com.fasterxml.jackson.dataformat.xml  into AEM 6.2

Hi,

 

I am trying to import jackson-dataformat-xml-2.5.3.jar into AEM 6.2 as it is a dependency in another OSGI bundle I have written.

When using the Eclipse Plug-In project I create an OSGI version.

However

Exported Packagescom.fasterxml.jackson.dataformat.xml,version=0.0.0

 

 

 

Here is screen shots of my projects error

 

This is my plug-in, note the version of the export package 0.0.0

This is the MANIFEST.MF file screen shot of the plug-in.

I need to have the export package version as 2.5.3.

 

Please could someone help me by explaining how I can set this.

Regards

Clive Stewart

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Nov 14, 2016 6:39 PM UTC

Hi Clive - what is happening here is that the OSGi is looking for a specific version. You can change the version in the POM file or you can modify the MF file in the OSGi bundle and remove the version from the Import section. Then AEM will use the available version - not a specific version. 

3 replies

SRK_1D
Level 2
Apr 19, 2019 7:20 AM UTC

Hi Clive,

What version worked for you ?

Regards

Sai

Translate
Level 6
Nov 15, 2016 6:46 AM UTC

Hi Scott,

 

Thank you. I followed your advice and it worked for me.

 

Reagrds

Clive Stewart

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Nov 14, 2016 6:39 PM UTC

Hi Clive - what is happening here is that the OSGi is looking for a specific version. You can change the version in the POM file or you can modify the MF file in the OSGi bundle and remove the version from the Import section. Then AEM will use the available version - not a specific version. 

Translate