From 2e3901818a819f9e5fb8433fff23c049f0779e89 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 14 Feb 2006 18:29:34 +0000 Subject: [PATCH] PR: MPXDOC-181 xdoc:init is called 6 times Introduced new -noinit goals for all goals that are called internally while keeping the same behavior of goals that existed before. This is not very pretty, but I guess xdoc:init is a special case. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@377797 13f79535-47bb-0310-9956-ffa450edef68 --- xdoc/plugin.jelly | 47 ++++++++++++++++++++++++++++-------------- xdoc/xdocs/changes.xml | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/xdoc/plugin.jelly b/xdoc/plugin.jelly index fc216f35..74eb62f0 100644 --- a/xdoc/plugin.jelly +++ b/xdoc/plugin.jelly @@ -564,7 +564,7 @@ + prereqs="xdoc:init, xdoc:generate-from-pom-noinit" + description="Generates xdocs for site based on project descriptor"/> + + Generating xdocs from POM ... @@ -877,9 +881,12 @@ + + prereqs="xdoc:init, xdoc:copy-resources-noinit" + description="copy static resources for use in xdocs generated html"/> + + ${maven.xdoc.locale.default}, ${maven.xdoc.locale.supported} @@ -994,8 +1001,11 @@ + prereqs="xdoc:init, xdoc:copy-user-resources-noinit" + description="Copy user provided resources to docs destination"/> + + + @@ -1098,15 +1108,17 @@ - + + prereqs="xdoc:init, xdoc:transform-noinit" + description="Generate html project documentation xdoc sources"/> + + - - - + + + @@ -1152,9 +1164,12 @@ - + + + diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index f2010d43..ddcb8d87 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + xdoc:init was called six times during one xdoc run. Include dependencies' scope in dependencies page. Include the new theme maven-stylus.css. Document the use of pom settings by the xdoc plugin.