From 3a77109f4751d1211ac4fed6b905bd195083dea5 Mon Sep 17 00:00:00 2001 From: kaz Date: Sat, 25 Jan 2003 18:19:55 +0000 Subject: [PATCH] Updating some more plugins that were referring to maven.docs.dest property from the xdoc plugin. These have been updated to use the new method of accessing properties in other plugins. While cleaning this up, I also noticed a handful of other repetitive properties in plugin.properties files, which I also removed/cleaned. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112744 13f79535-47bb-0310-9956-ffa450edef68 --- dist/plugin.jelly | 4 +++- dist/plugin.properties | 7 ------- jdiff/plugin.jelly | 5 ++++- pdf/plugin.jelly | 37 ++++++++++++++++++++++++------------- pdf/plugin.properties | 4 ---- site/plugin.jelly | 17 ++++++++++++----- site/plugin.properties | 15 --------------- word2html/plugin.jelly | 9 ++++++--- 8 files changed, 49 insertions(+), 49 deletions(-) diff --git a/dist/plugin.jelly b/dist/plugin.jelly index 52eafb22..af19aff7 100644 --- a/dist/plugin.jelly +++ b/dist/plugin.jelly @@ -19,7 +19,7 @@ + diff --git a/dist/plugin.properties b/dist/plugin.properties index 604a7e9f..94e139ac 100644 --- a/dist/plugin.properties +++ b/dist/plugin.properties @@ -4,11 +4,4 @@ # Distribution plugin. # ------------------------------------------------------------------- -maven.build.dir = ${basedir}/target - -maven.docs.src = ${basedir}/xdocs -maven.docs.dest = ${maven.build.dir}/docs -maven.docs.outputencoding = ISO-8859-1 -maven.gen.docs = ${maven.build.dir}/generated-xdocs - maven.src.docbook-simple=${maven.src.dir}/sdocbook diff --git a/jdiff/plugin.jelly b/jdiff/plugin.jelly index dc58354e..1e5dda2e 100644 --- a/jdiff/plugin.jelly +++ b/jdiff/plugin.jelly @@ -8,12 +8,15 @@ - + + diff --git a/pdf/plugin.jelly b/pdf/plugin.jelly index 13c59f71..e2b31093 100644 --- a/pdf/plugin.jelly +++ b/pdf/plugin.jelly @@ -2,19 +2,30 @@ + + + + + + + - - - + - Generating ${maven.docs.dest}/project.fo ... - Generating ${docsDest}/project.fo ... + - @@ -24,14 +35,14 @@ - + - + - + @@ -42,9 +53,9 @@ description="Generate PDF project documentation"/> + prereqs="pdf:inif, fo"> - Generating ${maven.docs.dest}/project.pdf ... + Generating ${docsDest}/project.pdf ... @@ -55,9 +66,9 @@ - + - + diff --git a/pdf/plugin.properties b/pdf/plugin.properties index 8d515ad0..d1a27c5a 100644 --- a/pdf/plugin.properties +++ b/pdf/plugin.properties @@ -4,7 +4,3 @@ # PDF plugin. # ------------------------------------------------------------------- -maven.docs.src = ${basedir}/xdocs -maven.docs.dest = ${maven.build.dir}/docs -maven.docs.outputencoding = ISO-8859-1 -maven.gen.docs = ${maven.build.dir}/generated-xdocs diff --git a/site/plugin.jelly b/site/plugin.jelly index 136b5c76..95996977 100644 --- a/site/plugin.jelly +++ b/site/plugin.jelly @@ -10,6 +10,11 @@ + + + + @@ -99,7 +105,7 @@ - + @@ -127,6 +133,7 @@ @@ -137,7 +144,7 @@ - + @@ -145,11 +152,11 @@ - + prereqs="site:init, site"> + - + diff --git a/site/plugin.properties b/site/plugin.properties index de7a4bce..d0056db8 100644 --- a/site/plugin.properties +++ b/site/plugin.properties @@ -5,15 +5,6 @@ # keep them apart from the project specific properties. # ------------------------------------------------------------------- -maven.src.dir = ${basedir}/src -maven.conf.dir = ${basedir}/conf -maven.build.dir = ${basedir}/target -maven.build.src = ${maven.build.dir}/src -maven.build.dest = ${maven.build.dir}/classes - -maven.final.name = ${pom.id}-${pom.currentVersion} -maven.final.dir = ${basedir}/${maven.final.name} - # set maven.site.deploy.method to 'fs' if you want to COPY the site # instead of SSH'ing it to the webserver (pom.siteDirectory is used # to copy the site to @@ -21,9 +12,3 @@ maven.site.deploy.method=ssh maven.username=USERNAME_NOT_SET -# -# FIXME: This is a copy of maven.docs.dest, as there is a dependency -# issue where plugins dont get access to other plugins properties -# from the context -# -maven.docs.dest = ${maven.build.dir}/docs \ No newline at end of file diff --git a/word2html/plugin.jelly b/word2html/plugin.jelly index fa3d69ac..88b07ad8 100644 --- a/word2html/plugin.jelly +++ b/word2html/plugin.jelly @@ -13,7 +13,7 @@ @@ -28,11 +28,14 @@ + + - Generating from ${file} to ${maven.docs.dest} + Generating from ${file} to ${docsDest} - +