whikloj commented on issue #1339: URL: https://github.com/apache/shiro/issues/1339#issuecomment-1977547898
I've played around but I'm not really making any head way. I have removed all dependencies from the root pom.xml _except_ the `shiro-bom`. ```xml <dependencyManagement> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-bom</artifactId> <version>${shiro.version}</version> <scope>import</scope> <type>pom</type> </dependency> </dependencyManagement> ``` Then in the `fcrepo-auth-common` I have gone back to the original dependencies of ```xml <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <classifier>jakarta</classifier> </dependency> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-web</artifactId> <classifier>jakarta</classifier> </dependency> ``` But it stills seems to have some transitive dependency. ``` [INFO] -------------------< org.fcrepo:fcrepo-auth-common >-------------------- [INFO] Building Fedora Repository Authorization Commons Module 6.5.0-SNAPSHOT [16/22] [INFO] from fcrepo-auth-common/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ fcrepo-auth-common --- [INFO] [INFO] --- enforcer:3.0.0:enforce (default) @ fcrepo-auth-common --- [WARNING] Dependency convergence error for javax.el:el-api:jar:2.2:provided paths to dependency are: +-org.fcrepo:fcrepo-auth-common:bundle:6.5.0-SNAPSHOT +-org.apache.shiro:shiro-web:jar:jakarta:2.0.0:compile +-javax.servlet.jsp:jsp-api:jar:2.2:provided +-javax.el:el-api:jar:2.2:provided and +-org.fcrepo:fcrepo-auth-common:bundle:6.5.0-SNAPSHOT +-org.apache.shiro:shiro-web:jar:jakarta:2.0.0:compile +-org.apache.taglibs:taglibs-standard-spec:jar:1.2.5:provided +-javax.el:el-api:jar:1.0:provided and +-org.fcrepo:fcrepo-auth-common:bundle:6.5.0-SNAPSHOT +-org.apache.shiro:shiro-web:jar:jakarta:2.0.0:compile +-org.apache.taglibs:taglibs-standard-impl:jar:1.2.5:provided +-javax.el:el-api:jar:1.0:provided [WARNING] Rule 2: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message: Failed while enforcing releasability. See above detailed error message. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Fedora Commons 6.5.0-SNAPSHOT: [INFO] [INFO] Fedora Commons :: Parent POM ....................... SUCCESS [ 0.512 s] [INFO] Fedora Commons ..................................... SUCCESS [ 3.861 s] [INFO] Fedora Repository Common Module .................... SUCCESS [ 2.701 s] [INFO] Fedora Repository Configurations Module ............ SUCCESS [ 2.273 s] [INFO] Fedora Repository Kernel API ....................... SUCCESS [ 7.252 s] [INFO] Fedora Repository Persistence API Module ........... SUCCESS [ 1.214 s] [INFO] Fedora Repository Persistence Common Module ........ SUCCESS [ 2.719 s] [INFO] Fedora Repository Search API ....................... SUCCESS [ 1.289 s] [INFO] Fedora Repository Kernel Implementation ............ SUCCESS [ 20.730 s] [INFO] Fedora Repository OCFL Persistence Impl ............ SUCCESS [ 15.147 s] [INFO] Fedora Repository Statistics API ................... SUCCESS [ 1.197 s] [INFO] Fedora Repository Search Impl ...................... SUCCESS [ 2.720 s] [INFO] Fedora Repository HTTP Commons Module .............. SUCCESS [ 8.214 s] [INFO] Fedora Event Serialization ......................... SUCCESS [ 5.814 s] [INFO] Fedora Repository JMS Module ....................... SUCCESS [ 51.959 s] [INFO] Fedora Repository Authorization Commons Module ..... FAILURE [ 0.227 s] [INFO] Fedora Repository Stats Impl ....................... SKIPPED [INFO] Fedora Repository HTTP API Module .................. SKIPPED [INFO] Fedora Repository WebAC Authorization Module ....... SKIPPED [INFO] Fedora Repository Deployable Web Application ....... SKIPPED [INFO] Fedora Repository LDP integration tests Module ..... SKIPPED [INFO] Fedora Repository RDF integration tests Module ..... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:09 min [INFO] Finished at: 2024-03-04T16:02:47-06:00 [INFO] ------------------------------------------------------------------------ ``` Could it be our `enforcer` plugin configuration? I looked at it but I couldn't really see why this would occur. 🤷 -- 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: issues-unsubscr...@shiro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For additional commands, e-mail: issues-h...@shiro.apache.org