Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2269

javax.security.jacc dependency should have the scope 'provided'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.Beta1
    • 4.0.0.Alpha4
    • None
    • None
    • Workaround Exists
    • Hide

      The workaround is for clients of modeshape-jcr to explicitly exclude the dependencies.

      Show
      The workaround is for clients of modeshape-jcr to explicitly exclude the dependencies.

    Description

      For integrating with JAAS, ModeShape depends on the javax.security.jacc artifact. However, at the moment this is a compile-time dependency, which means that clients depending on modeshape-jcr will also get (among other things) the servlet-api:

       +- org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.5_spec:jar:1.0.0.Final:compile
       |  \- org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:compile
      

      This is not something required for ModeShape to run, so the scope of the dependency should be changed to provided

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: