Thanks! Some additional info: * cglib and its dependencies(ant, asm) were added to openejb-ejbd and hence into tomee * openejb-ejbd does not have imports to cglib classes * without csglib a single test fail because of ClassNotFound in RMock
So as Romain suggested it seems to be a missed "test" scope. Here is the PR: https://github.com/apache/tomee/pull/82 Bets regards, Svetlin 2017-07-03 14:09 GMT+03:00 Jean-Louis Monteiro <jlmonte...@tomitribe.com>: > If not needed I'm totally ok. > Can you submit a PR? > I'dbe happy to merge it for you > > > Le 3 juil. 2017 11:45, "Svetlin Zarev" <svetlin.angelov.za...@gmail.com> a > écrit : > > > Hi everyone! > > > > Recently CGLIB was added as a dependency to TomEE (commit id: 703e9770), > > and in turn it brought Apache Ant as "compile" dependency. Yet it's not > > used by cglib at runtime, so it shouldn't really be packaged in the final > > assembly. > > > > What do you think about excluding it from the packaged TomEE > distributions > > ? > > > > Kind regards, > > Svetlin > > >