Hi, If you want to ignore the H2 classes, I think you need to use "exclude", not "include".
Regards, Thomas On Thu, Aug 14, 2014 at 5:18 PM, Chris Anilao <[email protected]> wrote: > Has anybody ever used maven shade's minimize jar feature while using H2? > > Like the documentation > <http://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.html>, > it is set up the pom.xml file to basically ignore the h2 classes: > > <minimizeJar>true</minimizeJar> > <filters> > <filter> > <artifact>com.h2database:h2</artifact> > <includes> > <include>**</include> > </includes> > </filter> > > ... > > > But for some reason (this does not happen with the other maven packages) H2 > is missing some key class files (like Driver.class and > org.h2.engine.Engine.class) > > > My pom.xml (w/o minimizeJar) here > <https://github.com/canilao/mc-newsfeed/blob/master/pom.xml>. > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
