OK,thanx.
I'll give it another shot.
/hw
on., 05.06.2019 kl. 10.50 +0200, skrev Romain Manni-Bucau:
> Hi Helge,
> Meecrowave supports shadowing but as explained on the maven page
> documenting how to do a fat jar with shade plugin (no need to build a
> capsule ;)) -
> http://openwebbeans.apache.org/meecrowave/meecrowave-maven/index.html
> (the end) - it requires to use custom transformers for cxf,
> openwebbeans, log4j2 (until you exclude it) etc...
>
> If you do the same with shadowing plugin - transformers API was
> copied from shade plugin so it should be trivial to port them over -
> then the shadowing will work.
>
> Romain Manni-Bucau
> @rmannibucau | Blog | Old Blog | Github | LinkedIn | Book
>
> Le mer. 5 juin 2019 à 10:48, Helge Waastad <[email protected]> a
> écrit :
> > Hi,
> > I've been running meecrowave and maven (and capsule-maven-plugin)
> > to make a fat jar.
> >
> > However in my quest to use Gradle I'm struggling to get shadowing
> > working for Meecrowave.
> >
> > running jar:
> > Caused by: java.lang.NullPointerException
> > at
> > org.apache.meecrowave.tomcat.MeecrowaveContextConfig.webConfig(Meec
> > rowaveContextConfig.java:111)
> > at
> > org.apache.catalina.startup.ContextConfig.configureStart(ContextCon
> > fig.java:768)
> > at
> > org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextCon
> > fig.java:301)
> > at
> > org.apache.meecrowave.tomcat.MeecrowaveContextConfig.lifecycleEvent
> > (MeecrowaveContextConfig.java:165)
> > at
> > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(Lifecycle
> > Base.java:123)
> > at
> > org.apache.catalina.core.StandardContext.startInternal(StandardCont
> > ext.java:5034)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183
> > )
> >
> >
> > Does anyone have an example for a gradle build and Meecrowave?
> >
> > /hw
> >
> >
> >
> > --
> > Helge Waastad
> > - The Undelstad Cup Champion 2017
--
Helge Waastad
- The Undelstad Cup Champion 2017