Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Quick reload really slow

JCl July 26, 2018

Hi there,

 

I'm currently developing a jira plugin and using the following dependency:

<dependency>
<groupId>nz.ac.waikato.cms.weka</groupId>
<artifactId>weka-stable</artifactId>
<version>3.8.0</version>
</dependency>

It's loaded correctly and I can use the packages. Unfortunately, my quickreload is getting really slow (between 1-3 minutes). Its stuck at the below lines for most of the time:

 

[INFO] Generating a manifest for this plugin
[INFO] using maven-bundle-plugin v2.5.3

 

when I add <scope> provided </scope> to the dependency, quick reload works well, but I get a ClassDefNotFound Error while executing.

Can anyone help on this?

 

1 answer

1 vote
Alexey Matveev
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.
July 26, 2018

Hello,

When you do not provide a scope, it means that this package will be packed to your jar. When you provide the provided scope, it does not happen, but this package must be already in Jira.

I guess packing the weka-stable jar into your jar takes time.

JCl July 26, 2018

Hi Alexey, thank for your reply!

you're right! I just checked the .jar file and a weka filder is included (with no scope or explicit compile scope) and not if scope is provided.

Any suggestions if there is a way to speed that up?
Always waiting this time really kills my workflow

Alexey Matveev
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.
July 26, 2018

You can not speed it up. It depends on your notebook/pc power.

JCl July 26, 2018

what I meant with speed up, is adding the weka.jar file/classes like permanently. I do not see the sense of adding it every time.

Alexey Matveev
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.
July 26, 2018

I am not aware of such an option. 

JCl July 26, 2018

okay, thank you anyway!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events