What is the role of the target folder?

Samantha Webber November 30, 2017

I am having trouble developing a plugin. Under 'Manage Add-Ons', my plugin's modules are all disabled. I notice the following during server startup:

 QuickReload - Plugin Installer ERROR      [c.a.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.psi.intern.jira.custom-fields-tests

 

Upon further inspection, this is the key in an atlassian-plugin.xml located in target\test-classes.

 

I don't really know how to interpret this. Should I be looking for an error in this atlassian-plugin.xml in target\test-classes, or is this rather the end result of what I build in src?

1 answer

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 30, 2017

Hi Samantha,

There is an argument you can add to give more time for the plugins to start. 

-Datlassian.plugins.enable.wait=300

https://confluence.atlassian.com/jirakb/jira-applications-system-plugin-timeout-while-waiting-for-add-ons-to-enable-212173447.html

Samantha Webber December 1, 2017

Hi Edwin,

Thanks, I will try that. But I think there is some error which is causing the plugin to take so long to start in the first place.

 

Would you be able to explain to me what the purpose of the target folder is?

edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2017

The target folder is a part of maven that contains all the compiled classes, jars

https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

Suggest an answer

Log in or Sign up to answer