Since a few versions back, the plugin SDK now includes an option to boot up the app, add stuff as you normally would with the admin tools, then create a special zip file from the app's home folder.

This zip file can then be saved in your resources folder and used as the base data everytime you boot the app (or you could use a maven profile).

Essentially, this means you can now supply all the data you need to test a plugin at boot time instead of having to use a bunch of test code to do it.

  • No labels

3 Comments

  1. Hey Jonathan, This is a very cool trick/feature I was not aware of. I'm looking forward to it. Is there a link you're aware of for documentation to this? Thanks!

  2. Good stuff! I expect it also zips extra plugins installed in home/plugins/installed-plugins?

    Also, do you know if there's a way to add resource definition to Tomcat in the dev. environment? It would normally be located in conf/server.xml and in JIRA's web.xml.