I created a new JIRA plugin with a rest module. Then I tried to define a function as @AnonymousAllowed. But this is not possible because the repository doesn't know this annotation.
ATLAS-UPDATE and ATLAS-MVN ECLIPSE:ECLIPSE didn't help. Also I deleted .m2 directory...
What is wrong?
Community moderators have prevented the ability to post new answers.
I found it myself :-)
There was something missing in pom.xml:
<dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-rest-plugin</artifactId> <version>${jira.version}</version> <scope>provided</scope> </dependency>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric, try with this:
<dependency>
<groupId>com.atlassian.plugins.rest</groupId>
<artifactId>atlassian-rest-common</artifactId>
<version>5.0.1</version>
<scope>provided</scope>
</dependency>
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.