I am trying to use ActiveObjects in my plugin, following the tutorial. But my IntelliJIdea just refuses to resolve the dependency.
I have added this to pom.xml
<dependency>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-plugin</artifactId>
<version>1.4.0</version>
<scope>provided</scope>
</dependency>
All seems fine. But when I go to Java, and try to import
import com.atlassian.activeobjects.external.ActiveObjects;
I get "Cannot resolve symbol 'activeobjects'". I have tried cleaning project, IDEA cache invalidation, remiporting maven projects, but I have had no luck.
When I try the Search for Maven Artifact tool, it doesnt seem to be able to find any class named ActiveObjects.
Hello,
I just tried to get the library and I had no problems so far. Could you run from command line the following (do not run it from IDEA):
atlas-mvn clean package
You need to be inside the plugin directory running atlas-mvn. Pay attention from where maven tries to download the library. If you received an error on this command, kindly show the error.
Well strangely enough, that command is successuful. So it just seems as Intellij IDEA problem, that it is unable to see the library correctly. Is there some way to fix it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is good.
1. In the same folder execute atlas-mvn eclipse:eclipse and open IntelliJ IDEA. Examine if everything works
2. In IntelliJ IDEA go to Settings then search for Maven and in the Maven Home Directory put the path to your atlassian-sdk maven.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.