diff --git a/xdoc/plugin.jelly b/xdoc/plugin.jelly index 63b55f44..cea7c67e 100644 --- a/xdoc/plugin.jelly +++ b/xdoc/plugin.jelly @@ -585,15 +585,32 @@ - + + ${maven.xdoc.copy.excludes} + + + + + ${maven.xdoc.copy.excludes.classic} + + + + - + + + + + + + @@ -629,7 +646,7 @@ - + diff --git a/xdoc/plugin.properties b/xdoc/plugin.properties index 24e82486..df0d0084 100644 --- a/xdoc/plugin.properties +++ b/xdoc/plugin.properties @@ -82,4 +82,9 @@ maven.xdoc.projectInfo = cvs-usage.xml,\ downloads.jelly # List of xml files (or patterns) that are copied but not transformed -#maven.xdoc.xml.copy= \ No newline at end of file +#maven.xdoc.xml.copy= + +# Files not copied +maven.xdoc.copy.excludes=file.gif,folder-closed.gif,folder-open.gif,icon_alert.gif,icon_alertsml.gif,icon_arrowfolder1_sml.gif,icon_arrowfolder2_sml.gif,icon_arrowmembers1_sml.gif,icon_arrowmembers2_sml.gif,icon_arrowusergroups1_sml.gif,icon_arrowusergroups2_sml.gif,icon_confirmsml.gif,icon_help_lrg.gif,icon_infosml.gif,icon_members_sml.gif,icon_sortleft.gif,icon_sortright.gif,icon_usergroups_sml.gif,icon_waste_lrg.gif,icon_waste_sml.gif,none.png,nw_maj.gif,nw_maj_hi.gif,nw_med.gif,nw_med_hi.gif,nw_med_rond.gif,nw_min.gif,nw_min_036.gif,nw_min_hi.gif,poweredby_036.gif,product_logo.gif,se_maj_rond.gif,sw_min.gif,logos/** +# Files not copied unless skin is classic +maven.xdoc.copy.excludes.classic=external-classic.png,help_logo.gif,icon_arrowfolderclosed1_sml.gif,icon_arrowwaste1_sml.gif,icon_arrowwaste2_sml.gif,icon_doc_lrg.gif,icon_doc_sml.gif,icon_error_lrg.gif,icon_folder_lrg.gif,icon_folder_sml.gif,icon_help_sml.gif,icon_info_lrg.gif,icon_members_lrg.gif,icon_sortdown.gif,icon_sortup.gif,icon_success_lrg.gif,icon_usergroups_lrg.gif,icon_arrowfolderopen2_sml.gif,icon_warning_lrg.gif,newwindow-classic.png,nw_maj_rond.gif,strich.gif,sw_maj_rond.gif,sw_med_rond.gif diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index 83c46f02..7ff266fc 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + Added maven.xdoc.copy.excludes property which lists the files to exclude from the resources copy. This defaults to any images currently unused by Maven. Additionally, if you are not using the classic theme, maven.xdoc.copy.excludes.classic is used to eliminate images only for the classic theme Added new tag <escapeXml>. Maven xdoc plugin clean up generated velocity log as part of calling clean. New property (maven.xdoc.xml.copy) to copy only and not transform some xml files provided in the ${maven.docs.src} directory. diff --git a/xdoc/xdocs/properties.xml b/xdoc/xdocs/properties.xml index 91448374..5f11c342 100644 --- a/xdoc/xdocs/properties.xml +++ b/xdoc/xdocs/properties.xml @@ -71,6 +71,26 @@ The default value is empty (no xml files are copied). + + maven.xdoc.copy.excludes + Yes + + A comma separated list of patterns to specify resources not to copy + in xdoc:copy-resources. By default it is all the images not used by + Maven. + Override this to get back some images you need in your site. + + + + maven.xdoc.copy.excludes.classic + Yes + + A comma separated list of patterns to specify resources not to copy + in xdoc:copy-resources when using a theme other than classic. + Override this to get back some images you need in your site when + using a non-classic theme. + +
@@ -200,7 +220,6 @@ Yes Sets the name of the image to use (see images/logos). - The default is the propaganda logo by Stéphane Mor.