Hi Charles,

Which bundles-pom version do you use ?

Regards
JB

On 02/01/2011 04:55 PM, Charles Moulliard wrote:
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

Reply via email to