在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):phasebash/jsdoc3-maven-plugin开源软件地址(OpenSource Url):https://github.com/phasebash/jsdoc3-maven-plugin开源编程语言(OpenSource Language):Java 99.2%开源软件介绍(OpenSource Introduction):jsdoc3-maven-pluginAn automatic documentation generator for JavaScript within the Maven Reporting lifecycle. Public Service AnnouncementA lot has changed since the introduction of this plugin many many years ago. Docker was still very new and not widely available, Node.js was still at Given today's dev-ops landscape, this plugin has no reason to exist. Please consider one of the following options:
Other possibilities exist, but I'm sure you get where I'm going. The need to write Maven plugins for all tool integrations is a thing of the past, and I strongly recommend using common tools available to the community. But wait, I have a very neat Maven build, and you're asking me to pollute it with Node.js? If this idea appauls you, consider adding another step in your CI/CD pipeline and contain the Node.js bits there. The below exists for legacy reasons. What is the jsdoc3-maven-plugin?The jsdoc3-maven-plugin is a maven plugin and maven report built for the purposes of generating jsdoc along with a Maven Build, or Maven Reporting lifecycle. By default, the plugin will bind to the site phase when used as a Maven Mojo or Maven Report, though this is configurable as with any other Maven plugin with goals. Why Maven Mojo and Maven Report?It has been requested by enough users that we should provide both a Maven Mojo for people who prefer to generate documentation using the command line or don't care about producing a complete site, while other users prefer to simply generate a complete Maven Site with JSDoc included. Getting StartedThe following examples enumerate the most common POM configurations for the jsdoc3-maven-plugin. This plugin is made available through Sonatype and is synchronized with the central Maven repository. ReleaseThe current release version is 1.2.0, using jsdoc3 3.3.2. Current StatusExample ConfigurationsThe jsdoc3-maven-plugin can fit into both the Maven Build and Maven Report lifecycle and offers both a Mojo and MavenReport which provide the same API. The snippets of POM configuration below can be placed both within reporting.plugins as well as build.plugins. Example POM: Recurse subdirectories only
Example POM: Recurse subdirectories + errant files
Example POM: Cherry pick
CommandlineRun the Mojo, this requires that the plugin be added via pluginManagement.
Otherwise, you may use the maven site (as the examples above are configured):
Mojo Parameters
System Properties
Questions, Feedback?Feel free to submit an issue ticket through github or contact me directly. I will help you. LicenseThe jsdoc3-maven-plugin has been released under Apache 2.0 as per all it's dependencies. Enhancements
Limitations
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论