You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/09/19 09:36:27 UTC

cvs commit: maven/src/plugins-build/html2xdoc/src/test/plugin-test/xdocs h1h2.html

dion        2003/09/19 00:36:27

  Added:       src/plugins-build/html2xdoc/src/test/plugin-test
                        project.properties maven.xml .cvsignore project.xml
               src/plugins-build/html2xdoc/src/test/plugin-test/xdocs
                        h1h2.html
  Log:
  Add test project
  
  Revision  Changes    Path
  1.1                  maven/src/plugins-build/html2xdoc/src/test/plugin-test/project.properties
  
  Index: project.properties
  ===================================================================
  # enable html transformation
  maven.html2xdoc.enabled=true
  
  
  1.1                  maven/src/plugins-build/html2xdoc/src/test/plugin-test/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project xmlns:util="jelly:util"
           xmlns:j="jelly:core">
           
    <goal name="testPlugin" prereqs="clean,test-html2xdoc,test-html2xdoc-site">
    </goal>
    
    <goal name="test-html2xdoc">
      <attainGoal name="html2xdoc"/>
      <j:set var="expectedFile" value="${maven.gen.docs}/h1h2.xml"/>
      <util:file var="file" name="${expectedFile}" />
      <j:if test="${!(file.exists())}">
        <fail>${expectedFile} not generated</fail>
      </j:if>
    </goal>
    
    <goal name="test-html2xdoc-site">
      <attainGoal name="site"/>
      <j:set var="expectedFile" value="${maven.docs.dest}/h1h2.html"/>
      <util:file var="file" name="${expectedFile}" />
      <j:if test="${!(file.exists())}">
        <fail>${expectedFile} not generated</fail>
      </j:if>
    </goal>
  </project>
  
  
  1.1                  maven/src/plugins-build/html2xdoc/src/test/plugin-test/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  gump.xml
  *.log
  
  
  
  1.1                  maven/src/plugins-build/html2xdoc/src/test/plugin-test/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <project>
    <pomVersion>3</pomVersion>
    <id>test-maven-java-plugin</id>
    <name>Test project for Maven Java Plugin</name>
    <groupId>maven</groupId>
    <currentVersion>1.0-SNAPSHOT</currentVersion>
    <organization>
      <name>Apache Software Foundation</name>
      <url>http://www.apache.org/</url>
      <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
    </organization>
    <inceptionYear>2001</inceptionYear>
    <package>org.apache.maven</package>
    <logo>http://maven.apache.org/images/maven.jpg</logo>
    <description>Test for Maven Java plugin</description>
    <shortDescription>Test for Maven Java plugin</shortDescription>
    <url>http://maven.apache.org/reference/plugins/java/</url>
    <siteDirectory>/www/maven.apache.org/reference/plugins/java/</siteDirectory>
    <repository>
      <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/java/</connection>
      <url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/java/</url>
    </repository>
    <developers>
      <developer>
        <name>dIon Gillard</name>
        <id>dion</id>
        <email>dion@multitask.com.au</email>
        <organization>Multitask Consulting</organization>
        <roles>
          <role>Documentation</role>
        </roles>
      </developer>
    </developers>
  
    <build>
      <sourceDirectory>src/main</sourceDirectory>
    </build>
  </project>
  
  
  
  1.1                  maven/src/plugins-build/html2xdoc/src/test/plugin-test/xdocs/h1h2.html
  
  Index: h1h2.html
  ===================================================================
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <title>A title</title>
  </head>
  <body>
  	
  <h1>A section title</h1>
  
  Some text
  <br/>
  More text
  
  <h2>a subsection</h2>
  
  This is a subsection. It only has this.
  
  </body>
  </html>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org