Hi,
I have created a servicemix-bundle for Struts2 project. Here is what I
put in the pom.xml of the project.
<properties>
<pkgGroupId>org.apache.struts</pkgGroupId>
<pkgArtifactId>struts2-core</pkgArtifactId>
<pkgVersion>2.2.1.1</pkgVersion>
<servicemix.osgi.export.pkg>
org.apache.struts*;version=${pkgVersion}
</servicemix.osgi.export.pkg>
<servicemix.osgi.import.pkg>
!org.apache.struts.*,
org.apache.commons.lang.xwork*;version=${pkgVersion},
*
</servicemix.osgi.import.pkg>
</properties>
What I don't understand is why the headers generated contains that line :
org.apache.commons.lang.xwork;resolution=optional,
and not
org.apache.commons.lang.xwork;version="2.2.1.1"
This dependency is resolved because I have also created a servicemix
bundle for xwork-core containing those packages.
Regards,
Charles Moulliard
Sr. Principal Solution Architect - FuseSource
Apache Committer
Blog : http://cmoulliard.blogspot.com
Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard
Skype: cmoulliard