Wiki source code of XWikiRemoteResourcePlugin

Last modified by Thomas Mortagne on 2018/06/07 09:18

Show last authors
1 This plugin extends the standard [[Maven Remote Resource Plugin>>http://maven.apache.org/plugins/maven-remote-resources-plugin/]] ##process## goal to work around a memory leak. See [[MRRESOURCES-106>>https://issues.apache.org/jira/browse/MRRESOURCES-106]] for more details.
2
3 It extends the standard ##ProcessRemoteResourcesMojo## so it support the same parameters and also add the following:
4
5 * ##projectsData##: control what is injected in the "projects" Velocity binding:
6 ** ##NONE##: {{info}}the default{{/info}} "projects" is empty
7 ** ##LICENSES##: "projects" a list of ##MavenProject## instance containing only the licenses and the organization (and of course minimal stuff like the artifact id, group id, version and url) but cleaned from any unserialized XML
8 ** ##FULL##: "projects" contains full ##MavenProject## metadata (can be very expensive depending on the number of dependencies but standard Maven Resource plugin behavior)

Get Connected