Trying to compile the existing Plugin code using SDK 8.0.2 as part confluence version 6.15.2 upgrade. Getting below error not been able to find the api and could you please help on this.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project AddDraftLabelAction: Compilation failure
[ERROR] /C:/Users/502075105/git/ExportWordPlugin/src/main/java/com/atlassian/plugins/tutorial/AddDraftLabelAction.java:[124,80] cannot access com.atlassian.confluence.api.model.content.id.ContentId
[ERROR] class file for com.atlassian.confluence.api.model.content.id.ContentId not found
[ERROR]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project AddDraftLabelAction: Compilation failure
/C:/Users/502075105/git/ExportWordPlugin/src/main/java/com/atlassian/plugins/tutorial/AddDraftLabelAction.java:[124,80] cannot access com.atlassian.confluence.api.model.content.id.ContentId
class file for com.atlassian.confluence.api.model.content.id.ContentId not found
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.