pon., 23 gru 2024 o 21:02 Florian Schlittgen <schlitt...@liwa.de> napisał(a): > > On 23.12.24 20:51, Lukasz Lenart wrote: > > Could you define your own excluded packages using constant > > "struts.convention.exclude.packages"? The problem I see the > > "com.opensymphony.xwork2" package was never excluded, so this problem > > would have to occur earlier
> Sorry but I don't get it. How can I achieve that > org.apache.struts2.XWorkTestCase is being excluded by defining my own > constant "struts.convention.exclude.packages"? > The workaround I currently use is to include the junit:junit dependency > file at runtime. Other option is to define "struts.convention.package.locators.basePackage" [1] and I'm playing with this example [2] yet I was not able to reproduce behaviour described by you - even if I removed "struts.convention.package.locators.basePackage" I don't "org.apache.struts2.XWorkTestCase" to be used in scan. Can you share your config? [1] https://struts.apache.org/plugins/convention/#configuration-reference [2] https://github.com/apache/struts-examples/tree/main/annotations Regards Łukasz --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org