Hi all!
I’m creating a component as described here:
https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingComponents/
After running mvn install everything is ok.
And I use xwiki-debug-eclipse.
When running locally, everything works, including my component.
Next, I add inject DocumentAccessBridge in the code of my component and eclipse prompts me to add a dependency to the pom.
But after adding this dependency (3 in the picture) I get an error when maven install
What do I need to fix?
Hello, the dep added in step 3 doesn’t exist.
DocumentAccessBridge
class is in org.xwiki.platform:xwiki-platform-bridge
. See https://extensions.xwiki.org/xwiki/bin/view/Extension/Model%20Bridge%20API#HDependencies
1 Like
Note that the version should be ${platform.version}
since it’s a platform dep.
1 Like