How do I use Bitbucket AuditService in an v2 add-on?

bitbucket-api
audit-log

#1

When including AuditService into atlassian-plugin.xml

  <component-import key="auditService" interface="com.atlassian.bitbucket.audit.AuditService" />

And adding the corresponding OSGi package to pom.xml with

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>bitbucket-maven-plugin</artifactId>
                <version>${amps.version}</version>
                <extensions>true</extensions>
                <configuration>
....
                    <instructions>
                        <DynamicImport-Package>
                            com.atlassian.upm.api.license.entity;version="2.0.1",
                            com.atlassian.upm.api.license;version="2.0.1", com.atlassian.upm.api.util;version="2.0.1",
                            com.atlassian.bitbucket.audit; resolution:=optional
                        </DynamicImport-Package>
                    </instructions>

The plugin does not start with

[INFO] 2019-01-18 08:31:40,648 ERROR [spring-startup]  c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.izymes.workzone' never resolved service '&auditService' with filter '(objectClass=com.atlassian.bitbucket.audit.AuditService)'

com.atlassian.bitbucket.audit.AuditService is part of the bitbucket-api jar (along with all the other public components) and this dependency is included in the app’s pom.xml

Not including the package into DynamicImport-Package doesn’t help either …