You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our app (https://github.com/rundeck/rundeck) uses grails 5.1.2, and we were upgrading to 5.1.4. We simultaneously attempted to update grails-gradle-plugin version from 5.1.1 to 5.1.3 and encountered an error:
The war file contents now are incorrect. Previously the /WEB-INF/classes/META-INF/services path contained the java service definitions. When building with grails-gradle-plugin 5.1.3, it seems the service definitions are instead placed in /META-INF/services/. Reverting to grails-gradle-plugin 5.1.2 seems to restore the correct behavior.
Using 5.1.3:
jar tvf rundeckapp/build/libs/rundeck-4.0.0-SNAPSHOT.war | grep META-INF/services
0 Tue Mar 29 16:45:26 PDT 2022 META-INF/services/
124 Tue Mar 29 16:44:00 PDT 2022 META-INF/services/org.grails.datastore.mapping.services.Service
133 Tue Mar 29 15:58:16 PDT 2022 META-INF/services/com.dtolabs.rundeck.core.encrypter.PasswordUtilityEncrypter
179 Tue Mar 29 15:58:16 PDT 2022 META-INF/services/org.rundeck.app.bootstrap.PreBootstrap
47 Tue Mar 29 15:58:16 PDT 2022 META-INF/services/org.eclipse.jetty.util.security.CredentialProvider
485 Tue Mar 29 15:58:16 PDT 2022 META-INF/services/org.rundeck.core.plugins.PluginProviderServices
0 Tue Mar 29 16:44:00 PDT 2022 WEB-INF/classes/META-INF/services/
Reverting to 5.1.1 (or 5.1.2):
jar tvf rundeckapp/build/libs/rundeck-4.0.0-SNAPSHOT.war | grep META-INF/services
0 Tue Mar 29 16:40:50 PDT 2022 WEB-INF/classes/META-INF/services/
124 Tue Mar 29 16:40:50 PDT 2022 WEB-INF/classes/META-INF/services/org.grails.datastore.mapping.services.Service
133 Tue Mar 29 15:58:16 PDT 2022 WEB-INF/classes/META-INF/services/com.dtolabs.rundeck.core.encrypter.PasswordUtilityEncrypter
179 Tue Mar 29 15:58:16 PDT 2022 WEB-INF/classes/META-INF/services/org.rundeck.app.bootstrap.PreBootstrap
47 Tue Mar 29 15:58:16 PDT 2022 WEB-INF/classes/META-INF/services/org.eclipse.jetty.util.security.CredentialProvider
485 Tue Mar 29 15:58:16 PDT 2022 WEB-INF/classes/META-INF/services/org.rundeck.core.plugins.PluginProviderServices
The text was updated successfully, but these errors were encountered:
Our app (https://github.com/rundeck/rundeck) uses grails 5.1.2, and we were upgrading to 5.1.4. We simultaneously attempted to update grails-gradle-plugin version from 5.1.1 to 5.1.3 and encountered an error:
The war file contents now are incorrect. Previously the
/WEB-INF/classes/META-INF/services
path contained the java service definitions. When building with grails-gradle-plugin 5.1.3, it seems the service definitions are instead placed in/META-INF/services/
. Reverting to grails-gradle-plugin 5.1.2 seems to restore the correct behavior.Using 5.1.3:
Reverting to 5.1.1 (or 5.1.2):
The text was updated successfully, but these errors were encountered: