I want to generate a site with mvn, but I cannot configure it to generate index.html
.
I can ran different reports like:
$ mvn javadoc:javadoc # generates target/site/apidocs
$ mvn cobertura:cobertura # generates target/site/cobertura
but
$ mvn site:site
doesn't generate anything. What I want is for mvn site:site
to automatically generate reports and site in target/site
. I don't need to deploy it yet.
For reference this is my pom.xml. I also added src/site/site.xml
, but the results were similar.
mvn site is no longer available/working in Maven 3 IIRC
See: https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-SiteandReporting
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With