diff --git a/xdoc/plugin.jelly b/xdoc/plugin.jelly index 59df28ba..0d1a04e5 100644 --- a/xdoc/plugin.jelly +++ b/xdoc/plugin.jelly @@ -1,4 +1,4 @@ - + @@ -67,7 +67,7 @@ - + @@ -179,7 +179,6 @@ prettyPrint="${prettyPrint}"/> - - - - - - + + + + - - ${title} - -
-

${preamble}

- -
- -
-
+ + ${title} + +
+

${preamble}

+ + + +
+ +
+ @@ -260,8 +260,66 @@
- + + + + ${defaultLocale} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -282,102 +340,150 @@ - - - - - - - - - ${maven_xdoc_xml_copy_pattern} - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - + + + + + + + + + + + + ${maven_xdoc_xml_copy_pattern} + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - Generating ${outFile} from ${file} - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + Generating ${outFile} from ${file} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + Start to grab the current class loader ${currentClassLoader} + + ${currentClassLoader.addURL(dirResource.toURL())} + + + + + + ${context.setClassLoader(foreheadClassLoader)} + + + + + + + + Start to ungrab the current class loader ${currentClassLoader} + ${context.setClassLoader(currentClassLoader.getParent())} + @@ -446,16 +584,86 @@ description="Generate html project documentation xdoc sources"/> - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + java.lang.reflect.InvocationTargetException + Caused by: org.apache.maven.xdoc.util.LocaleUtil.codesToLocales(java.lang.String) + ${ex.getCause().getTargetException().getMessage()} + + + + + + + defaultLocale=[${defaultLocale}] + + locale_supported=[${locale}] + + + + + + + + + + + + + + + + + + + + + + Generating xdocs from POM ... @@ -512,9 +720,35 @@ Unknown report format for report [${pomDocument}]. - + + + + + + + + + + + + + + + + + + @@ -548,7 +782,6 @@ - - + @@ -616,14 +849,43 @@ + + + + + + + + - Copying user supplied resources. @@ -635,15 +897,50 @@ + - + + + + + + + + + + + + + + + + + + + + + @@ -652,8 +949,7 @@ - - + @@ -683,12 +979,7 @@ prereqs="xdoc:init" description="Generate html project documentation xdoc sources"> - - - - - - + + @@ -713,17 +1007,19 @@ - + + + + + - - - @@ -766,7 +1061,6 @@ - @@ -796,11 +1090,10 @@ Transforming user supplied documentation. - - + + - - + + description="Allows the LinkCheck plugin to xdoc a single directory"> + + + + + + + diff --git a/xdoc/plugin.properties b/xdoc/plugin.properties index df0d0084..5d98dab1 100644 --- a/xdoc/plugin.properties +++ b/xdoc/plugin.properties @@ -40,18 +40,6 @@ maven.xdoc.legend=true # NOTE: In the future this information will be described in the POM maven.xdoc.distributionType=jar -# -# DATE Preferences -# - -# The place of the date on the pages : choices are 'bottom', 'left', 'right', 'navigation-top', 'navigation-bottom' -maven.xdoc.date = - -maven.xdoc.date.format = dd MMMM yyyy - -# The date locale -maven.xdoc.date.locale = en - # The default logo to show on the generated site. maven.xdoc.poweredby.image=maven-button-1.png maven.xdoc.poweredby.title=Built by Maven @@ -88,3 +76,34 @@ maven.xdoc.projectInfo = cvs-usage.xml,\ 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 + +# +# I18N Preferences +# + +# NOTE: Only used for the default language +# The place of the date on the pages : choices are 'bottom', 'left', 'right', 'navigation-top', 'navigation-bottom' +maven.xdoc.date= +maven.xdoc.date.format=dd MMMM yyyy +# The date locale +maven.xdoc.date.locale=en + +# The default locale (if null, it is the default locale for this instance of the Java Virtual Machine) +# By default it is en to ensure backward compatible +maven.xdoc.locale.default=en +# A comma separated of locales supported by the project +maven.xdoc.locale.supported= + +# Should be in ${maven.docs.src} directory +maven.xdoc.bundle.src=${maven.docs.src} +# NOT CLEAN: we need to copy ${maven.docs.src}/xdocs.properties to +# ${user.home}\.maven\cache\maven-xdoc-plugin-XXX\plugin-resources\temp\${maven.xdoc.bundle}.properties +maven.xdoc.bundle=xdocs + +# If true, display the default language with [defaultLocale.byDefault] +# Ex: English [By default] +maven.xdoc.ui.displayByDefault=false +# If true, display the maven.xdoc.locale.list property as an HTML + + + + + + + ${displayLocale} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${displayLocale} + +
  • + + + + + + + +
  • +
    +
    + + + + + + + ${file} + ${maven.xdoc.poweredby.image} + ${maven.xdoc.poweredby.title} + + + + ${maven.xdoc.poweredby.title} + + + + +
    : ${build.date}
    +
    +
    + + + + + +
    +
    + +
    +
    +

    + + + + - - -
    - -
    - - - -
    -
    - -
    -
    -

    - - - - - - + + - +
    + + + + + + + + + + + + + + + + + + + + @@ -298,6 +475,26 @@
    + + + + + + + + + + + + + + + + + + + + @@ -306,7 +503,7 @@
    - +
    @@ -356,7 +553,7 @@ - + @@ -377,8 +574,7 @@ - - + @@ -387,16 +583,35 @@  >  - + + + + + + + + + + + + + + + + + + + + @@ -417,6 +632,23 @@ + + + + + + + + + + + + + + + + + @@ -441,7 +673,7 @@ -