> On May 21, 2017, at 7:32 PM, Remko Popma <remko.po...@gmail.com> wrote: > > >> On May 22, 2017, at 8:57, Ralph Goers <ralph.go...@dslextreme.com> wrote: >> >> When you run the release plugin the artifact is deployed when the module >> gets to the deploy phase. Thus any shading would take place too late to do >> any good. > > I think there's a misunderstanding: the shade plugin is bound to the package > phase, not the deploy phase. So the Java 9 classes would be copied in time > (before verify>install>deploy). > > Would you object to the Java 9 classes going to a separate module if we can > get this to work?
No, I did not misunderstand. The Java 9 module has to be built after log4j-api as it is dependent on the StackLocator interface. The shading has to be completed before the log4j-api is deployed. If you can tell me how you can resolve that I’m happy to listen. Ralph