Getting maven build error while including oak:index in filter.xml
I have created custom lucene index for my website and want to make this custom lucene index part of the maven build.
I have created folder _oak_index and placed below custom index and updated my filter.xml file
But while maven build I am getting below error.
[INFO] ....\mysite\ui.apps\src\main\content\META-INF\vault\filter.xml
[ERROR] 1 error(s) detected during dependency analysis.
[ERROR] Filter root's ancestor '/oak:index' is not covered by any of the specified dependencies.


filter.xml
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/mysite"/>
<filter root="/oak:index/mysiteLuceneIndex"/>
</workspaceFilter>