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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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.

      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

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

                Created:
                Updated:
                Resolved: