Unable to build Jira plugins due to 'A required class is missing: com/atlassian/maven/plugins/amps/CompressResourcesMojo'

Hey folks,
We’re trying to build a custom Jira plugin using our internal Nexus as the maven artifact repo.
We’re running into the following error after taking care of quarantined/blocked dependencies:

Failed to execute goal com.atlassian.maven.plugins:maven-jira-plugin:6.3.21:compress-resources (default-compress-resources) on project fmrelease: Execution default-compress-resources of goal com.atlassian.maven.plugins:maven-jira-plugin:6.3.21:compress-resources failed: Unable to load the mojo ‘compress-resources’ in the plugin ‘com.atlassian.maven.plugins:maven-jira-plugin:6.3.21’. A required class is missing: com/atlassian/maven/plugins/amps/CompressResourcesMojo

We’re using jira-api 9.12.1 and maven-jira-plugin 6.3.21. We verified that maven-jira-plugin 6.3.21 JAR and POM exist in our Nexus repo. We don’t know which maven dependency is required for the com/atlassian/maven/plugins/amps/CompressResourcesMojo class.

Thanks for help in advance.

Hey folks,
We resolved this issue by switching to jira-maven-plugin instead of maven-jira-plugin.
However, now we’re running into the following error when using atlas-package command:

[WARNING] Error injecting: com.atlassian.maven.plugins.amps.PlatformDependenciesProviderImpl
com.google.inject.ProvisionException: Guice provision errors:

  1. Error injecting: private org.eclipse.aether.spi.log.Logger org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider.logger
    while locating org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider