What is the role of the target folder?

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

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

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?

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,669 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you