diff --git a/pdf/src/plugin-test/maven.xml b/pdf/src/plugin-test/maven.xml index a73d7d4e..045a1703 100644 --- a/pdf/src/plugin-test/maven.xml +++ b/pdf/src/plugin-test/maven.xml @@ -15,16 +15,24 @@ * limitations under the License. */ --> - - - + + - - + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/pdf/src/plugin-test/project.properties b/pdf/src/plugin-test/project.properties new file mode 100644 index 00000000..f4c02d10 --- /dev/null +++ b/pdf/src/plugin-test/project.properties @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2004 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- + +# Multiproject plugin settings +maven.multiproject.navigation=aggregate +maven.multiproject.overviewPage.title=Maven PDF tests +maven.multiproject.overviewPage.text=The following Maven pdf tests are available: + +# PDF plugin properties +maven.pdf.navigationFilePath=${maven.gen.docs} \ No newline at end of file diff --git a/pdf/src/plugin-test/project.xml b/pdf/src/plugin-test/project.xml index 1ab3ec4b..dbe33916 100644 --- a/pdf/src/plugin-test/project.xml +++ b/pdf/src/plugin-test/project.xml @@ -16,23 +16,11 @@ * limitations under the License. */ --> - - - ${basedir}/../../../plugin-parent/project.xml + ${basedir}/../../project.xml 3 test-maven-pdf-plugin - Test project for Maven PDF Plugin - maven - 1.0 - 2001 - org.apache.maven - Test for Maven PDF plugin - Test for Maven PDF plugin - http://maven.apache.org/reference/plugins/pdf/ - /www/maven.apache.org/reference/plugins/pdf/ - - scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/pdf/ - http://cvs.apache.org/viewcvs/maven-plugins/pdf/ - + Maven PDF Plugin Tests + Maven PDF Plugin Tests + Maven PDF Plugin Tests diff --git a/pdf/src/plugin-test/test01/.cvsignore b/pdf/src/plugin-test/test01/.cvsignore new file mode 100644 index 00000000..fad180b7 --- /dev/null +++ b/pdf/src/plugin-test/test01/.cvsignore @@ -0,0 +1,3 @@ +gump.xml +target +*.log diff --git a/pdf/src/plugin-test/test01/maven.xml b/pdf/src/plugin-test/test01/maven.xml new file mode 100644 index 00000000..a73d7d4e --- /dev/null +++ b/pdf/src/plugin-test/test01/maven.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/pdf/src/plugin-test/test01/project.xml b/pdf/src/plugin-test/test01/project.xml new file mode 100644 index 00000000..bf165f85 --- /dev/null +++ b/pdf/src/plugin-test/test01/project.xml @@ -0,0 +1,26 @@ + + + + ${basedir}/../../../../plugin-parent/project.xml + 3 + test-maven-pdf-plugin-01 + Maven PDF Plugin Test 01 + Maven PDF Plugin Test 01 + Maven PDF Plugin Test 01 + diff --git a/pdf/src/plugin-test/test01/xdocs/images/asf_logo_wide_clear.gif b/pdf/src/plugin-test/test01/xdocs/images/asf_logo_wide_clear.gif new file mode 100644 index 00000000..aab499c7 Binary files /dev/null and b/pdf/src/plugin-test/test01/xdocs/images/asf_logo_wide_clear.gif differ diff --git a/pdf/src/plugin-test/test01/xdocs/images/maven.gif b/pdf/src/plugin-test/test01/xdocs/images/maven.gif new file mode 100644 index 00000000..0ead880d Binary files /dev/null and b/pdf/src/plugin-test/test01/xdocs/images/maven.gif differ diff --git a/pdf/src/plugin-test/test01/xdocs/navigation.xml b/pdf/src/plugin-test/test01/xdocs/navigation.xml new file mode 100644 index 00000000..46fc2956 --- /dev/null +++ b/pdf/src/plugin-test/test01/xdocs/navigation.xml @@ -0,0 +1,31 @@ + + + + Maven PDF Plugin + + + + + + + + + + + diff --git a/pdf/src/plugin-test/xdocs/test.xml b/pdf/src/plugin-test/test01/xdocs/test.xml similarity index 100% rename from pdf/src/plugin-test/xdocs/test.xml rename to pdf/src/plugin-test/test01/xdocs/test.xml diff --git a/pdf/src/plugin-test/test02/.cvsignore b/pdf/src/plugin-test/test02/.cvsignore new file mode 100644 index 00000000..fad180b7 --- /dev/null +++ b/pdf/src/plugin-test/test02/.cvsignore @@ -0,0 +1,3 @@ +gump.xml +target +*.log diff --git a/pdf/src/plugin-test/test02/maven.xml b/pdf/src/plugin-test/test02/maven.xml new file mode 100644 index 00000000..a73d7d4e --- /dev/null +++ b/pdf/src/plugin-test/test02/maven.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/pdf/src/plugin-test/test02/project.xml b/pdf/src/plugin-test/test02/project.xml new file mode 100644 index 00000000..021af225 --- /dev/null +++ b/pdf/src/plugin-test/test02/project.xml @@ -0,0 +1,26 @@ + + + + ${basedir}/../../../../plugin-parent/project.xml + 3 + test-maven-pdf-plugin-02 + Maven PDF Plugin Test 02 + Maven PDF Plugin Test 02 + Maven PDF Plugin Test 02 + diff --git a/pdf/src/plugin-test/test02/xdocs/images/asf_logo_wide_clear.gif b/pdf/src/plugin-test/test02/xdocs/images/asf_logo_wide_clear.gif new file mode 100644 index 00000000..aab499c7 Binary files /dev/null and b/pdf/src/plugin-test/test02/xdocs/images/asf_logo_wide_clear.gif differ diff --git a/pdf/src/plugin-test/test02/xdocs/images/maven.gif b/pdf/src/plugin-test/test02/xdocs/images/maven.gif new file mode 100644 index 00000000..0ead880d Binary files /dev/null and b/pdf/src/plugin-test/test02/xdocs/images/maven.gif differ diff --git a/pdf/src/plugin-test/test02/xdocs/navigation.xml b/pdf/src/plugin-test/test02/xdocs/navigation.xml new file mode 100644 index 00000000..46fc2956 --- /dev/null +++ b/pdf/src/plugin-test/test02/xdocs/navigation.xml @@ -0,0 +1,31 @@ + + + + Maven PDF Plugin + + + + + + + + + + + diff --git a/pdf/src/plugin-test/test02/xdocs/test.xml b/pdf/src/plugin-test/test02/xdocs/test.xml new file mode 100644 index 00000000..5d61339a --- /dev/null +++ b/pdf/src/plugin-test/test02/xdocs/test.xml @@ -0,0 +1,61 @@ + + + + + Jon S. Stevens + Mr. Smith + + </properties> + <meta name="keyword" content="jakarta, java"/> + <body> + <section name="Section 1"> + <p>This is section 1.</p> + <table> + <tr> + <td>This is a table</td> + </tr> + </table> + <ul> + <li>This is an unordered list.</li> + </ul> + </section> + <section name="Section 2"> + <p>This is section 2.</p> + <ol> + <li>This is an ordered list.</li> + </ol> + </section> + <section name="Section 3"> + <p>This is section 3.</p> + <source><![CDATA[ + Anything within this tag is rendered as a "box" + with blue lines and <pre/> tags around it. +]]></source> + <pre><![CDATA[ + Anything within this tag is rendered as a "box" + with blue lines and <pre/> tags around it. +]]></pre> + <subsection name="Subsection of Section 3"> + <p> + This is the subsection 3. + </p> + </subsection> + </section> + </body> +</document> diff --git a/pdf/src/plugin-test/xdocs/navigation.xml b/pdf/src/plugin-test/xdocs/navigation.xml index 46fc2956..08423ad9 100644 --- a/pdf/src/plugin-test/xdocs/navigation.xml +++ b/pdf/src/plugin-test/xdocs/navigation.xml @@ -16,16 +16,19 @@ * limitations under the License. */ --> -<project name="Maven PDF Plugin"> - <title>Maven PDF Plugin + - - - - - + - + #if ($overviewPageCreate == "true" ) + + #end + + #foreach ($reactorProject in $multiprojects) + + + #end + diff --git a/pdf/xdocs/changes.xml b/pdf/xdocs/changes.xml index cdc7fb04..66cd4bec 100644 --- a/pdf/xdocs/changes.xml +++ b/pdf/xdocs/changes.xml @@ -25,7 +25,7 @@ PRE tag support added. Show "v." in cover only when version is not empty. - The new property "maven.pdf.navigationFilePath" allows you to define a different directory from ${maven.xdoc.src} for the navigation file (If this file is generated for example). + The new property "maven.pdf.navigationFilePath" allows you to define a different directory from ${maven.xdoc.src} for the navigation file. From now, the PDF plugin can be used in a multiproject environment with a navigation file dynamically generated. Add USLetter (8.5"x11") as a paper type.