Quick update, i was able to confirm that the path doxia uses is relative to
the current working directory...i.e. the directory you call maven from. So
the above scenario doesn't appear possible currently. via [1], doxia uses
some kind of request base directory setting which is getting the cwd.
I
Ok strange problem, using maven site 3.12.0 (also tried 3.6.0)
Project layout is like this
/pom.xml <- root project
/src/site/testfile/file1.json <- the snippet i want
/project1 <- pom project only
/project1/warmodule/pom.xml <- the project i'm generating a site for