Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2694

The CXF bundle has a required import on org.apache.xml.security

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.12, 2.1.8, 2.2.6
    • 2.2.7
    • OSGi
    • None
    • Novice

    Description

      see the thrread on: http://old.nabble.com/Issue-with-CXF-bundle%27s-imports-ts27778720.html

      Hello

      In its version 2.2.6, the CXF bundles have a certain number of imports; some of them are optional and some other mandatory.

      One that's mandatory is org.apache.xml.security, but I have the impression that it actually is not: I've modified the bundle so this dependency is optional, and it still is working very well in my use cases.

      More interestingly, org.apache.ws.security* is already marked as resolution:=optional (see https://svn.apache.org/repos/asf/cxf/tags/cxf-2.2.6/distribution/bundle/minimal/pom.xml where it's clearly visible)

      Would it be possible to also mark the import of org.apache.xml.security* as optional as well?

      This request exists because there are many Web Services that don't actually require any security policy (stock ticker, weather, ...) and it's a pity to require to have it if not needed. Mostly that the org.apache.xml.security itself needs many, many more dependencies.

      Attachments

        Activity

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

          People

            dkulp Daniel Kulp
            alitokmen S. Ali Tokmen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment