boris-petrov opened a new issue, #1014: URL: https://github.com/apache/shiro/issues/1014
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no similar issues. ### Environment Not relevant. ### Shiro version 1.12.0 ### What was the actual outcome? See below. ### What was the expected outcome? See below. ### How to reproduce Add this in a `build.gradle` file: ```gradle plugins { id 'java' } repositories { mavenCentral() } configurations.all.findAll { it.name == 'implementation' || it.name.endsWith('Only') }.each { dependencies.add(it.name, dependencies.platform('org.apache.shiro:shiro-bom:1.12.0')) } dependencies { implementation 'org.apache.shiro:shiro-web' } ``` Run `gradle dependencies --configuration compileClasspath`. This leads to: ``` compileClasspath - Compile classpath for source set 'main'. +--- org.apache.shiro:shiro-bom:1.12.0 | +--- org.apache.shiro:shiro-web:1.12.0 (c) | \--- org.owasp.encoder:encoder:1.2.3 (c) \--- org.apache.shiro:shiro-web -> 1.12.0 \--- org.owasp.encoder:encoder:1.2.3 ``` As you see, `shiro-core` is missing as a dependency and hence the project won't compile. Using version 1.11.0 leads to a correct output. Or so I think. I'm not sure I understand correctly how BOMs are supposed to work but I believe this is a problem in version 1.12.0. I see in [1.12.0](https://github.com/apache/shiro/blob/shiro-root-1.12.0/bom/pom.xml) that a `dependencyManagement` tag has been added which is not present in [1.11.0](https://github.com/apache/shiro/blob/shiro-root-1.11.0/bom/pom.xml). Not sure if that's the problem. ### Debug logs _No response_ -- 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]
