Plugins You can find out about all the publicly available Grails plugins.

Datasource JNDI declare

  • Tags: /
  • Latest: 1.0.0
  • Last Updated: 13 November 2013
  • Grails version: 2.0 > *
0 vote
compile "org.grails.plugins:datasource-jndi-declare:1.0.0"

 Documentation  Source  Issues


Declares used JNDI DataSource in web.xml - so if JNDI datasource is used e.g. jndiName exists in dataSource configuration for the examined environment, then it will be added to the web.xml. The authentication type (res-auth) will always be Container, but that is probably what you want if your''re using JNDI datasource.

Credits for original in-house plugin go to Zoran Regvart.


grails install-plugin datasource-jndi-declare