将Maven生成的站点添加到生成的包中 [英] Add Maven generated site to generated package

查看:156
本文介绍了将Maven生成的站点添加到生成的包中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了为我们的项目提供一体化Jar,我们想知道是否可以将项目生成的站点(通过站点插件生成)包含到生成的项目包中?
这背后的想法非常简单,我们有一个名为sample的项目,它演示了我们API的用法,我们希望在单个包中向用户提供有关API及其用法的文档。
是否可以使用Maven创建这样的Jar?

In order to deliver an all-in-one Jar for our project, we are wondering if it is possible to include the project's generated site (generated via the site plugin) into the generated project's package? The idea behind this is very simple, we have a project named "sample" that demonstrates the usage of our API and we want to give the user documentation on the API and its usage in a single bundle. Is it possible using Maven to create such a Jar?

提前致谢!

推荐答案

使用 site:jar 然后可以使用程序集插件创建一个everthing捆绑包。

Using site:jar and then the assembly plugin to create a bundle of everthing should be possible.

这篇关于将Maven生成的站点添加到生成的包中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆