grails-plugins / grails-standalone

Apache License 2.0
20 stars 23 forks source link

Script removes tomcat-redis-session .jar from build product #14

Open RichB opened 4 years ago

RichB commented 4 years ago

While trying to use the Standalone Tomcat Redis Plugin with this plugin, it was discovered that the script in this plugin was removing a .jar file required by the Redis plugin. Please change the BuildStandalone.groovy script in the current and in the 1.2.3 versions so that it ignores the tomcat-redis-session .jar file:

Change: if (file.name.startsWith('tomcat-') && !['embed-logging', 'jdbc', 'pool'].any { file.name.contains it }) { To: if (file.name.startsWith('tomcat-') && !['embed-logging', 'jdbc', 'pool', 'redis-session'].any { file.name.contains it }) {