Cannot import a package

I’ve been developing Crowd Add-on for couple of weeks.

I wanted to check number of current licensed users, then tried to using CrowdLicenseManager but cannot import it.
The problem is that “com.atlassian.crowd.manager.license.CrowdLicenseManager” couldn’t been imported.

Is there any other solutions can get the license information?

The contents of pom.xml are here.

<properties>
        <crowd.version>4.4.0</crowd.version>
        <crowd.data.version>3.3.3</crowd.data.version>
        <amps.version>8.1.2</amps.version>
        <osgi.javaconfig.version>0.2.0</osgi.javaconfig.version>
        <atlassian.spring.scanner.version>1.2.14</atlassian.spring.scanner.version>
        <!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle's key. -->
        <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>

I found solution.
need to add additional maven repository and dependency.

image

[repository address]
https://packages.atlassian.com/mvn/maven-atlassian-external/

[dependency]

        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-server</artifactId>
            <version>4.4.0</version>
            <scope>provided</scope>
        </dependency>