Reputation: 19
I am wanting to create a JIRA plugin with the Atlassian JIRA SDK. After creating the project I am encountering several errors when trying to import the project as a Maven project into the Eclipse IDE (Kepler)
Here are the steps that I am taking to produce the error...
At this point I receive the following errors ...
I have tried to disable the Maven Nature, then run atlas-mvn eclipse:clean then convert back to a Maven project, but the errors come back when doing so. Any suggestions on how to fix this would be appreciated.
Upvotes: 2
Views: 2183
Reputation: 11617
If you are using Atlassian SDK, you should use their maven wrapper which come together with the SDK installation.
You are seeing that problem in your Eclipse is because your local maven (which is used by your Eclipse, or maybe embedded maven) settings doesn't contain Atlassian info.
Do refer to this for how to add in the Atlassian repo into your settings.xml
.
Or you can run the atlas-mvn install
to download Atlassian library into your local repository.
Or for quick work-around, you can just point your Maven to the Atlassian settings.xml
as below:
Upvotes: 0
Reputation: 19
I switched from using Eclipse to IntelliJ. IntelliJ makes importing Maven projects incredibly simple. If anyone else encounters this problem, I suggest switching to IntelliJ.
Upvotes: -1
Reputation: 447
You probably need to update eclipse configuration for Maven (new version is Atlassian SDK 5.0.0): https://developer.atlassian.com/display/DOCS/Set+Up+the+Eclipse+IDE+for+Windows#SetUptheEclipseIDEforWindows-Step4:InstalltheMavenEclipsePlugin
Upvotes: 0