Hello,
I’m trying to update our plugin for Confluence 9. As far as I can tell, the following is the recommended way to manage dependency versions:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.atlassian.confluence</groupId>
<artifactId>confluence-plugins-platform-pom</artifactId>
<version>${confluence.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
However, that dependency can’t be resolved.
[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.atlassian.confluence:confluence-plugins-platform-pom:pom:9.0.0 (absent): Could not find artifact com.atlassian.confluence:confluence-plugins-platform-pom:pom:9.0.0 in maven-central (https://repo1.maven.org/maven2/)
There appear to be no 9.0.0+ versions available. Is this still the recommended way to do things? Did I do something wrong?
As a side-note, atlas-create-confluence-plugin
(using Atlassian Plugin SDK 9.1.1) creates a project with extremely old dependencies - maybe this should be updated?
EDIT: atlas-run-standalone --product confluence -v 9.0.0
results in error below, so that’s another dependency which appears to be missing.
[ERROR] Failed to execute goal com.atlassian.maven.plugins:amps-maven-plugin:9.1.1:run-standalone (default-cli) on project standalone-pom: Unable to find/resolve artifact.: The following artifacts could not be resolved: com.atlassian.confluence.plugins:confluence-plugin-test-resources:zip:9.0.0 (absent): Could not find artifact com.atlassian.confluence.plugins:confluence-plugin-test-resources:zip:9.0.0 in maven-central (https://repo1.maven.org/maven2/) -> [Help 1]