I cloned this repo: https://bitbucket.org/atlassian/stash-webhook-plugin/overview
And imported it into IntelliJ IDEA following this guide: https://developer.atlassian.com/docs/developer-tools/working-in-an-ide/configure-idea-to-use-the-sdk
And all of my imports prepended with "com.atlassian" are showing errors. If I just create a plugin using the atlassian SDK commands and import that plugin, there are no errors, the difference being under "External Libraries" I have lots of Maven libraries that are listed that are located in my "Windows\Users\User\.m2\" directory. So, I tried to import them but I may have done it incorrectly because it still doesn't work.
Is there a simple solution to this?
Community moderators have prevented the ability to post new answers.
Have you tried to run mvn clean install
from the command line? This should trigger maven to download all the dependencies and store them in you .m2/repositories directory. At that point, IDEA should be able to find them.
It was essentially this, but because I was running a newer version of maven, I did "atlas-install" and that found all of my dependencies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
atlas-run or atlas-package should get all the dependencies too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.