Author: ltheussl Date: Tue Sep 27 11:42:55 2011 New Revision: 1176337 URL: http://svn.apache.org/viewvc?rev=1176337&view=rev Log: [603] ClassNotFoundException on site:site when validating XML input documents
Added: maven/plugins/trunk/maven-site-plugin/src/it/validate/ maven/plugins/trunk/maven-site-plugin/src/it/validate/pom.xml maven/plugins/trunk/maven-site-plugin/src/it/validate/src/ maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/ maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/fml/ maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/fml/faq.fml maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/site.xml maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/xdoc/ maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/xdoc/xdoc.xml Modified: maven/plugins/trunk/maven-site-plugin/pom.xml Modified: maven/plugins/trunk/maven-site-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/pom.xml?rev=1176337&r1=1176336&r2=1176337&view=diff ============================================================================== --- maven/plugins/trunk/maven-site-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-site-plugin/pom.xml Tue Sep 27 11:42:55 2011 @@ -262,12 +262,6 @@ under the License. <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-core</artifactId> <version>${doxiaVersion}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> Added: maven/plugins/trunk/maven-site-plugin/src/it/validate/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/validate/pom.xml?rev=1176337&view=auto ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/it/validate/pom.xml (added) +++ maven/plugins/trunk/maven-site-plugin/src/it/validate/pom.xml Tue Sep 27 11:42:55 2011 @@ -0,0 +1,29 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.maven.plugins.its.validate</groupId> + <artifactId>test</artifactId> + <version>1.0-SNAPSHOT</version> + <name>XML validation test</name> + + <url>http://example.org/</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <build> + <plugins> + <plugin> + <artifactId>maven-site-plugin</artifactId> + <version>@project.version@</version> + <configuration> + <validate>true</validate> + <generateReports>false</generateReports> + </configuration> + </plugin> + </plugins> + </build> +</project> + Added: maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/fml/faq.fml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/fml/faq.fml?rev=1176337&view=auto ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/fml/faq.fml (added) +++ maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/fml/faq.fml Tue Sep 27 11:42:55 2011 @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<faqs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/FML/1.0" + xsi:schemaLocation="http://maven.apache.org/FML/1.0 http://maven.apache.org/xsd/fml-1.0.xsd" + id="General FAQ"> + <part id="General"> + <faq id="where"> + <question>Where did Maven come from?</question> + <answer> + <p> + Maven was created by a group of software developers who were tired + of wasting their time fiddling around with builds and wanted to get + down to brass tacks and actually develop software! + </p> + </answer> + </faq> + <faq id="why"> + <question>Why is Maven so wildly popular?</question> + <answer> + <p> + Maven saves you so much time in your software development efforts that + you will have time to learn a second language, relax ten hours a + day, and train for that marathon you've always wanted to run! + </p> + </answer> + </faq> + </part> +</faqs> Added: maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/site.xml?rev=1176337&view=auto ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/site.xml (added) +++ maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/site.xml Tue Sep 27 11:42:55 2011 @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<project name="Maven" xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> + <bannerLeft> + <name>Maven</name> + <src>http://maven.apache.org/images/apache-maven-project.png</src> + <href>http://maven.apache.org/</href> + </bannerLeft> + <bannerRight> + <src>http://maven.apache.org/images/maven-small.gif</src> + </bannerRight> + + <body> + <links> + <item name="Apache" href="http://www.apache.org/" /> + <item name="Maven 1.0" href="http://maven.apache.org/"/> + <item name="Maven 2" href="http://maven.apache.org/maven2/"/> + </links> + + <menu name="Maven 2.0"> + <item name="APT Format" href="format.html"/> + <item name="FAQ" href="faq.html"/> + <item name="Xdoc Example" href="xdoc.html"/> + </menu> + </body> +</project> Added: maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/xdoc/xdoc.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/xdoc/xdoc.xml?rev=1176337&view=auto ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/xdoc/xdoc.xml (added) +++ maven/plugins/trunk/maven-site-plugin/src/it/validate/src/site/xdoc/xdoc.xml Tue Sep 27 11:42:55 2011 @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"> + <properties> + <title>Welcome</title> + <author email="d...@maven.apache.org">The Maven Team</author> + </properties> + + <body> + <section name="Welcome to an XDOC file!"> + <p> + This is some text for the xdoc file. + </p> + </section> + </body> +</document> +