Description
With OAK-6505 we know guard against referenceable nodes placed in mounts. These are still allowed with a WARN for certain node types, and currently we need to solve the situation of nt:resource nodes placed underneath nt:file nodes.
One way out of this is to use oak:Resource nodes instead of nt:resource, and the most contained way of solving this is an oak-run command that can be used to convert certain paths from an existing NodeStore to use this pattern.
The invocation should be something like
java -jar oak-run-1.8-SNAPSHOT.jar composite-prepare {<path-to-repository> | <mongodb-uri>} | <rdb-uri>} --paths /libs,/apps