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

@AnonymousAllowed not accessible

codelab expert
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.
May 3, 2013

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?

1 answer

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
codelab expert
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.
May 3, 2013

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>

Eric_Dejouhanet February 26, 2015

This doesn't seem valid anymore for 6.x.

Miguel R. Santaella
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2017

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>
Like Михаил К likes this
TAGS
AUG Leaders

Atlassian Community Events