lprimak commented on issue #891:
URL: https://github.com/apache/shiro/issues/891#issuecomment-1581192622

   Basically, this needs to happen:
   - Include Shiro BOM as described in Jakarta EE docs:
   ```
   <dependencyManagement>
       <dependencies>
           <dependency>
               <groupId>org.apache.shiro</groupId>
               <artifactId>shiro-bom</artifactId>
               <version>${shiro.version}</version>
               <scope>import</scope>
               <type>pom</type>
           </dependency>
       </dependencies>
   </dependencyManagement>
   ```
   
   - Exclude non-Jakarta artifacts from Spring:
   ```
       <dependencyManagement>
           <dependencies>
               <dependency>
                   <groupId>org.apache.shiro</groupId>
                   <artifactId>shiro-spring</artifactId>
                   <classifier>jakarta</classifier>
                   <version>${shiro.version}</version>
                   <exclusions>
                       <exclusion>
                           <groupId>org.apache.shiro</groupId>
                           <artifactId>*</artifactId>
                       </exclusion>
                       <exclusion>
                           <groupId>javax.servlet</groupId>
                           <artifactId>*</artifactId>
                       </exclusion>
                   </exclusions>
               </dependency>
           </dependencies>
       </dependencyManagement>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to