Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-241

WSS4j needs to export a version in it's Export-Package directive.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.8
    • 1.5.9, 1.6
    • None
    • None

    Description

      If I install WSS4j into ServiceMix I see that the packages have no version set, for example here's 1.5.8:

      WSS4J (120): org.apache.ws.security.message; version="0.0.0"
      WSS4J (120): org.apache.ws.security.saml; version="0.0.0"
      WSS4J (120): org.apache.ws.security.transform; version="0.0.0"
      WSS4J (120): org.apache.ws.axis.security.handler; version="0.0.0"
      WSS4J (120): org.apache.ws.security.components.crypto; version="0.0.0"
      WSS4J (120): org.apache.ws.security.action; version="0.0.0"
      WSS4J (120): org.apache.ws.security.message.token; version="0.0.0"
      WSS4J (120): org.apache.ws.security.conversation; version="0.0.0"
      WSS4J (120): org.apache.ws.security.handler; version="0.0.0"
      WSS4J (120): org.apache.ws.security.conversation.dkalgo; version="0.0.0"
      WSS4J (120): org.apache.ws.security.processor; version="0.0.0"
      WSS4J (120): org.apache.ws.security.util; version="0.0.0"
      WSS4J (120): org.apache.ws.security; version="0.0.0"
      WSS4J (120): org.apache.ws.axis.security; version="0.0.0"

      And here's 1.5.9-SNAPSHOT:

      WSS4J (182): org.apache.ws.security.saml; version="0.0.0"
      WSS4J (182): org.apache.ws.security.processor; version="0.0.0"
      WSS4J (182): org.apache.ws.axis.security.handler; version="0.0.0"
      WSS4J (182): org.apache.ws.axis.security; version="0.0.0"
      WSS4J (182): org.apache.ws.security.util; version="0.0.0"
      WSS4J (182): org.apache.ws.security.transform; version="0.0.0"
      WSS4J (182): org.apache.ws.security.conversation; version="0.0.0"
      WSS4J (182): org.apache.ws.security.handler; version="0.0.0"
      WSS4J (182): org.apache.ws.security.message.token; version="0.0.0"
      WSS4J (182): org.apache.ws.security.conversation.dkalgo; version="0.0.0"
      WSS4J (182): org.apache.ws.security.action; version="0.0.0"
      WSS4J (182): org.apache.ws.security.components.crypto; version="0.0.0"
      WSS4J (182): org.apache.ws.security; version="0.0.0"
      WSS4J (182): org.apache.ws.security.message; version="0.0.0"

      So it's not possible to have multiple versions running in the same OSGi container. Also noticed that the version of the felix-maven-bundle plugin used is a bit old, so the patch I'm attaching fixes both issues.

      Attachments

        1. patch.txt
          1 kB
          Stanley J. Lewis

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            coheigea Colm O hEigeartaigh
            slewis Stanley J. Lewis
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment