开发者

How do I generate site with mvn site:site?

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜