Maven:我可以加速 mvn 站点吗?
有没有更快的方法来生成maven用于预览的站点?
背景:
我正在使用 mvn site 生成一个网站,其中包含我们项目的文档。我使用的是 apt 格式,这种格式很简单,实际上犯的错误很少,但我确实希望在添加大量内容后得到反馈,这样我就不必花太多时间搜索语法错误。
问题是该网站每次生成大约需要 2 分钟,我想要更快的反馈,了解该网站的外观以及我在输入文档时是否犯了任何错误。这不是一个大问题,但情况肯定可以得到改善。
另外,为了帮助我,我使用带有语法突出显示的 vim,如果我需要快速预览某些内容,有一个很好的 eclipse 插件,可以让我预览我的 apt 是否正常工作(当然,它与maven生成的不一样,但已经足够接近了)。
我愿意接受任何其他建议,但使用 Maven 生成快速预览将是提高生产力的最佳选择。
Is there a quicker way to generate a site for maven for preview?
Background:
I'm using mvn site to generate a website which includes documentation for our project. I'm using the the apt format, which is simple, and very few mistakes are actually made, but I do want feedback after adding large amount of content so I don't have to spend too much time searching for syntax errors.
The problem is the site takes about 2 minutes to generate each time, and I would like quicker feedback then this for how the site looks and if I made any mistakes while typing up the docs. This isn't a huge issue but, the situation could certainly be improved.
Also, in order to help me out I'm using vim with syntax highlighting and if I need to get a quick preview on something there was a nice plug-in for eclipse that allows me to preview whether or not my apt is working correctly (of course, it's not the same as what is generated by maven, but it's close enough).
I'm open to any other suggestions, but generating a quick preview with maven would be the best option for productivity.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
配置“报告”部分以关闭您不需要的内容。例如,依赖性分析需要很长时间。查看项目信息报告插件的文档。
Configure the 'reporting' section to turn off what you don't want. Dependency analysis, for example, takes a long time. Look at the doc for the project-info-reports-plugin.