Add a test case for the pdf plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
174f852e89
commit
62ef2105ae
7 files changed
+163
No files matched your search
@@ -0,0 +1,3 @@
|
||||
gump.xml
|
||||
target
|
||||
*.log
|
||||
@@ -0,0 +1,30 @@
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
<project xmlns:util="jelly:util"
|
||||
xmlns:assert="assert"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<goal name="testPlugin" prereqs="clean,test-pdf">
|
||||
</goal>
|
||||
|
||||
<goal name="test-pdf">
|
||||
<attainGoal name="site"/>
|
||||
<attainGoal name="pdf"/>
|
||||
<assert:assertFileExists file="${maven.docs.dest}/${pom.artifactId}.pdf"/>
|
||||
</goal>
|
||||
</project>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
|
||||
<project>
|
||||
<extend>${basedir}/../../../plugin-parent/project.xml</extend>
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>test-maven-pdf-plugin</id>
|
||||
<name>Test project for Maven PDF Plugin</name>
|
||||
<groupId>maven</groupId>
|
||||
<currentVersion>1.0</currentVersion>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
<package>org.apache.maven</package>
|
||||
<description>Test for Maven PDF plugin</description>
|
||||
<shortDescription>Test for Maven PDF plugin</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/pdf/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/pdf/</siteDirectory>
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/pdf/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven-plugins/pdf/</url>
|
||||
</repository>
|
||||
</project>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
<project name="Maven PDF Plugin">
|
||||
<title>Maven PDF Plugin</title>
|
||||
<body>
|
||||
<links>
|
||||
<item name="Maven" href="http://maven.apache.org/"/>
|
||||
<item name="FOP" href="http://xml.apache.org/fop/"/>
|
||||
<item name="PDF Documentation" href="/maven-pdf-plugin.pdf" img="/images/pdf.gif" target="_blank"/>
|
||||
</links>
|
||||
<menu name="Overview">
|
||||
<item name="Test" href="/test.html"/>
|
||||
</menu>
|
||||
</body>
|
||||
</project>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
<document>
|
||||
<properties>
|
||||
<author email="nospam.AT.foo.DOT.com">Jon S. Stevens</author>
|
||||
<author email="mrsmith.AT.foo.DOT.com">Mr. Smith</author>
|
||||
<title/>
|
||||
</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>
|
||||
Reference in new issue
Block a user