check if your Maven home directory is pointing to the one included in the Atlassian SDK.
(preferences -> Build, Execution, Deployment -> Build Tools -> Maven)
By default it’s set to the bundled Maven version coming with IDEA.
Dependencies from Atlassian can not be resolved, because they are not available in the Maven standard repositories.
But those repositories are pre-configured in the Atlassian SDK’s Maven.
@ccsno thank you! it works! Is it (switching to Atlassian Maven) preferable way to solve this issue in Java-world? Is changing repositories in the pom.xml better solution?
Hi @sfbehnke, @ccsno tried switching to maven home directory of Atlassian SDK. But, I get the same issue. Can you please comment on what else could be a problem?
if it is really the same problem (dependency resolving in IDEA), I can think of these other possibilities:
the path to the atlassian-plugin-sdk’s Maven is wrong (note, that atlas-update might add a different maven folder)
your personal maven settings override some configuration (to prevent that, check “Override” for “User settings file” in the Maven configuration)
the settings are all correct, but you have to manually trigger the Maven rebuild (or enable “Import Maven projects automatically” in the Maven -> Importing settings)
I was able to resolve the dependency and change the settings. The reason why IntelliJ couldn’t write to that SDK folder was due to permission issues set by my IT admin team. got it resolved. thanks.
However, after using JIRA SDK as the source for library, the size of the plugin seems to be 3+ MB. I feel it’s too heavy. The entire functionality of the plugin is only to build a JQL function. Do you have any guidance on how to reduce the memory footprint of the plugins?
My larger plugins are 328 KB on disk. 3+ MB is definitely not typical. You may want to unpack the JAR or OBR and just look to see what’s taking up space.