dev-guide:add-content-registry-descriptor
Differences
This shows you the differences between two versions of the page.
dev-guide:add-content-registry-descriptor [2024/12/04 14:31] – created gaetan | dev-guide:add-content-registry-descriptor [2024/12/04 18:54] (current) – [Generating a doclet xml file] gaetan | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== Generating a doclet xml file ==== | ==== Generating a doclet xml file ==== | ||
+ | The doclets files are automatically created with the maven build of a project, if it contains the following information: | ||
+ | * List of files to includes | ||
+ | * Plugin execution in pom | ||
+ | |||
+ | Both steps are defined in the pom.xml file of your project. They are added in the < | ||
+ | |||
+ | === Add files to be included === | ||
+ | |||
+ | The included files are moved from the source code to the correct repository by maven with the plugin: | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
+ | ... | ||
+ | | ||
+ | < | ||
+ | | ||
+ | ... | ||
+ | | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === Declare the plugin execution === | ||
+ | |||
+ | This do not need to be modified: | ||
+ | |||
+ | <code xml> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | | ||
+ | </ | ||
+ | |||
+ | === Complete pom file example === | ||
+ | |||
+ | Look at the RGG plugin pom.xml file. |
dev-guide/add-content-registry-descriptor.1733319104.txt.gz · Last modified: 2024/12/04 14:31 by gaetan