Thank you Piotr! Understood now. Too bad that switching branches from 2.x to master leaves the invalid source code under log4j-api/src/test (and mvn clean also doesn’t remove it). I’ll just have to remember that I guess. :-)
Thanks again for the quick reply. > On Apr 21, 2022, at 20:52, Piotr P. Karwasz <[email protected]> wrote: > > Hello Remko, > >> On Thu, 21 Apr 2022 at 13:14, Remko Popma <[email protected]> wrote: >> >> Warnings look like this: >> [WARNING] >> >> C:\Users\remko\IdeaProjects\logging-log4j2\log4j-api\src\test\java\org\apache\logging\log4j\LogManagerTest.java:[52,5] >> [exports] class Test in module is not exported >> > > In `master` there is a separate `log4j-api-test` project and > `log4j-api/src/test` should be empty. That is why cherry-picking from > `release-2.x` to `master` often gives conflicts on tests. > > Piotr
