Maven dependency for com.atlassian.plugin.spring.scanner.annotation

Hi
Need to maven dependency for com.atlassian.plugin.spring.scanner.annotation
Is it ok to use?

com.atlassian.plugin
atlassian-spring-scanner-annotation
2.2.1-8199150

Thanks

Regards
Shradha

Add dependency management in pom.xml. And most library version resolved automatically.

<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.jira</groupId>
                <artifactId>jira-project</artifactId>
                <version>${jira.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

After that you don’t need specify version for jira dependencies. Example:

        <dependency>
            <groupId>com.atlassian.plugin</groupId>
            <artifactId>atlassian-spring-scanner-annotation</artifactId>
            <scope>provided</scope>
        </dependency>

1 Like