Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3116

implement annotations options when specifying dependencies in jboss-deployment-structure.xml

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Critical
    • 7.1.0.Final
    • 7.1.0.Beta1b
    • Server
    • None

    Description

      Implement annotation option of dependency specification as known in MANIFEST.MF to jboss-deployment-structure.xml.

      Dependencies: org.picketlink annotations
      

      I need to specify something like this for PicketLink STS (form of web app with webservices) which has all the classes in static module in $JBOSS_HOME/modules:

       <jboss-deployment-structure>
         <deployment>
           <dependencies>
             <module name="org.picketlink" annotations="true">
               <imports>
                 <exclude path="org/picketlink/identity/federation/core/pdp/**"/>
               </imports>
             </module>
          </dependencies>
         </deployment>
       </jboss-deployment-structure>
      

      When combining MANIFEST.MF approach and jboss-deployment-structure.xml the exclude is taken into account we end up with all endpoints of org.picketlink module instantiated which is of course wrong.

      Solution to this problem is necessary for PicketLink STS and PDP being able to deploy and function properly.

      To be able to try this picketlink resources need to be jandexed. See attached temporary patch.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              pskopek@redhat.com Peter Skopek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: