apache / shiro

Apache Shiro
https://shiro.apache.org/
Apache License 2.0
4.33k stars 2.31k forks source link

[Bug] Run time dependencies missing from shiro-web 1.13.0 karaf feature #1300

Closed steinarb closed 5 months ago

steinarb commented 9 months ago

Search before asking

Environment

Apache karaf 4.4.5, java 17.0.9, debian 12.4 "bookworm", amd64

Shiro version

1.13.0

What was the actual outcome?

It was necessary to add the missing bundles in my own feature to get things to load and run.

In addition to the bundles loaded by me above, ie:

        <bundle start-level="80">mvn:commons-beanutils/commons-beanutils/1.9.3</bundle>
        <bundle start-level="80">mvn:commons-collections/commons-collections/3.2.2</bundle>

someone else said today he needed this one as well:

   mvn:org.apache.shiro/shiro-config-core/1.13.0

What was the expected outcome?

That the shiro-web karaf feature had provided all features necessary to start and run.

How to reproduce

Load the shiro-web feature into karaf and try to do something with it

Debug logs

No response

fpapon commented 9 months ago

The Karaf feature is fixed on main branch but I didn't check the 1.13.x branch. Let me trying to reproduce and fix if needed. @steinarb thank you!

lprimak commented 5 months ago

Since 1.x branch is only maintained for critical issues, and this is fixed in 2.x, I will close this issue. Feel free to reopen if there is something I am missing or this is still needed somehow