I would like to use the Copy Space plugin in a plugin that I am developing. I have installed version 2.3 of the plugin into my local Confluence 5.1 installation created by the SDK, and added the following to my pom.xml:
<dependency> <groupId>com.atlassian.confluence.plugin</groupId> <artifactId>confluence-copyspace-plugin</artifactId> <version>2.3</version> <scope>provided</scope> </dependency>
and the following to my atlassian-plugin:
<component-import key="com.atlassian.confluence.plugin.copyspace.copySpaceManager"> <interface>com.atlassian.confluence.plugin.copyspace.CopySpaceManager</interface> </component-import>
But when I do 'atlas-run', I get an 'unresolved constraint' error:
Unable to resolve 151.0: missing requirement [151.0] package; (package=com.atlassian.confluence.plugin.copyspace). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see http://confluence.atlassian.com/x/1xy6D
Could someone please tell me what I am doing wrong? The URL in the error message doesn't work, by the way.
Steve
Community moderators have prevented the ability to post new answers.
I simply had to add "--plugins com.atlassian.confluence.plugin:confluence-copyspace-plugin:2.3" to my atlas-run call.
Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.