I tried to import existing plugin project.
I did "mvn eclipse:clean eclipse:eclipse" build was successfull. However when I import the project into eclipse I get errors in pom file, attached is the image of errors.
Can you please let me know how to resolve.
I did not see how to attach a file.. just copy pasting
Missing artifact com.atlassian.activeobjects:activeobjects-jira-spi:jar:0.19.7pom.xml/Subline 79Maven Dependency Problem
Missing artifact com.atlassian.activeobjects:activeobjects-plugin:jar:0.19.7pom.xml/Subline 61Maven Dependency Problem
Missing artifact com.atlassian.event:atlassian-event:jar:2.2.0-m1pom.xml/Subline 97Maven Dependency Problem
It was pointing to Maven which is not in SDK, Had to change that. It resolved all errors except at first line, it still shows this:
Multiple annotations found at this line:
- Project build error: Unresolveable build extension: Plugin com.atlassian.maven.plugins:maven-jira-plugin:4.0 or one of its
dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.5 at specified path C:\Program Files\Java\jre6/../lib/tools.jar
- Project build error: Unknown packaging: atlassian-plugin
I am able to compile..
I have the same error as you, and really don't know why :
Project build error: Unresolveable build extension: Plugin com.atlassian.maven.plugins:maven-jira-plugin:4.2.20 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.6 at specified path C:\Program Files\Java\jre6/../lib/tools.jar
This appears to be related to the JVM with which Eclipse is being started and a bug in the Maven eclipse integration.
See this stackoverflow answer: http://stackoverflow.com/a/23129154/265582
Try adding a -vm parameter (before the -vmargs parameter) in your eclipse.ini file pointing the VM explicitly to the javaw.exe binary - for example I have:
-vm C:/Program Files/Java/jdk1.7.0_51/jre/bin/javaw.exe
In mine which now appears to be correctly compiling the code (although now there are different errors but this one is resolved at least).
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs