Migrate a report created with Makefile into a Maven site report
-
15-06-2021 - |
Question
I am quite new to maven but asked to move my current report which is created by a Makefile in a subdirectory via make all
into a mvn site
report.
I put all my non-java stuff for my report into a legacy-report
directory. So the current tree looks roughly like this:
pom.xml
legacy-report/
Makefile
www/ # <<< created by 'make all'
index.html
subtree-1/
pom.xml
src/
subtree-2/
pom.xml
src/
So my questions to enable mvn site
for my legary-report are
- What maven (reporting) plugin should I use?
- How should I change the directory layout?
- How do I integrate that into the main
pom.xml
? - Do I need a
pom.xml
in mylegacy-reporting
dir, what does it look like (roughly)?
Solution
So after clearing what you are really talking about you should take a look here for the plugin:
http://graphviz-maven-plugin.bryon.us/index.html
Which will give you the opportunity to create graphivz graphics via Maven. The question is if there is a way to create an index.html of it.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow