Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Imported Cloned Atlassian Repo, No Maven Libraries, Cannot Resolve Symbol Errors

Scott Walter June 30, 2015

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?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 30, 2015

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.

Scott Walter July 1, 2015

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.

1 vote
Balázs Szakmáry
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 1, 2015

atlas-run or atlas-package should get all the dependencies too.

TAGS
AUG Leaders

Atlassian Community Events