<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.quiotix</groupId>
  <artifactId>htmlparser</artifactId>
  <name>Quiotix HTML Parser</name>
  <version>1.4-SNAPSHOT</version>
  <description>
A toolkit for parsing HTML documents. The grammar is generated by JavaCC, a parser generator developed at Sun. It does not enforce the DTD, but instead builds a simple parse tree which can be used to validate, reformat, display, analyze, or edit the HTML document. The goal was to produce a parse tree which threw away very little information contained in the source file, so that by dumping the parse tree, an almost identical copy of the input document would result. It is not confused by things that look like tags inside of quoted strings.  
  </description>
  <url>http://www.paneris.net/htmlparser/</url>
  <inceptionYear>1999</inceptionYear>
  <mailingLists />
  <ciManagement>
    <system>Jenkins</system>
    <url>http://jenkins.paneris.net/</url>
  </ciManagement>
  <developers>
    <developer>
      <id>briang</id>
      <name>Brian Goetz</name>
      <email>html-parser AT quiotix.com</email>
      <url>http://www.quiotix.com/~brian</url>
      <organization>Quiotix</organization>
      <roles>
        <role>Developer</role>
      </roles>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>timp</id>
      <name>Tim Pizey</name>
      <email>timp AT context-computing.co.uk</email>
      <url>http://www.context-computing.co.uk/~timp</url>
      <organization>Context Computing</organization>
      <roles>
        <role>Maven maven</role>
      </roles>
      <timezone>0</timezone>
    </developer>
  </developers>
  <contributors>
   <contributor>
    <name>Doug Reed</name>
   </contributor>
   <contributor>
    <name>Thorsten Weber</name>
   </contributor>
  </contributors>
  <licenses>
   <license>
    <name>Gnu Public License</name>
    <url>http://www.gnu.org/copyleft/gpl.txt</url>
    <distribution>repo</distribution>
   </license>
  </licenses>
  <scm>
    <connection>scm:git:git://github.com/timp21337/htmlparser.git</connection>
    <url>https://github.com/timp21337/htmlparser</url>
  </scm>
  <organization>
    <name>Quiotix</name>
    <url>http://www.quiotix.com/</url>
  </organization>
  <dependencies>
  
    <!--dependency>
      <groupId>net.java.dev.javacc</groupId>
      <artifactId>javacc</artifactId>
      <version>4.0</version>
      <scope>compile</scope>
    </dependency -->
    
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <sourceDirectory>src/main/java</sourceDirectory>
    <plugins>
      <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>javacc-maven-plugin</artifactId>
        <configuration>
          <buildParser>true</buildParser>
          <buildTokenManager>true</buildTokenManager>
          <packageName>com.quiotix.html.parser</packageName>
          <!-- HACK only works on windows -->
          <sourceDirectory>src\main\java\com\quiotix\html\parser</sourceDirectory>
          <outputDirectory>src\main\java</outputDirectory>
         </configuration>
         <executions>
          <execution>
           <id>jcc</id>
           <phase>generate-sources</phase>
           <goals>
            <goal>javacc</goal>
           </goals>
          </execution>
         </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
          <source>1.4</source>
          <target>1.4</target>
         </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
       <artifactId>cobertura-maven-plugin</artifactId>
       <version>2.0</version>
       <executions>
         <execution>
           <goals>
             <goal>clean</goal>
           </goals>
         </execution>
       </executions>
      </plugin>

    </plugins>
      <!-- J A R  R E S O U R C E S -->
      <!-- Resources that are packaged up inside the JAR file -->
      <resources>
       <resource>
        <directory>src/main/java</directory>
        <includes>
          <include>**/*.jj</include>
        </includes>
        </resource>
      </resources>
    </build>
  <distributionManagement>
    <repository>
      <id>melati</id>
      <name>Default Repository</name>
      <url>file:///var/www/maven2/</url>
      <layout>default</layout>
    </repository>
    <site>
      <id>htmlparser</id>
      <url>file:///var/www/htmlparser/</url>
    </site>
  </distributionManagement>  

 <profiles>
    <profile>
      <id>maven-3</id>
      <activation>
        <file>
          <!--  This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
          <exists>${basedir}</exists>
	</file>
      </activation>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-site-plugin</artifactId>
              <version>3.0-beta-1</version>
	    </plugin>
	  </plugins>
	</pluginManagement>
        <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.0-beta-3</version>
        <configuration>
          <outputEncoding>UTF-8</outputEncoding>
          <reportPlugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-project-info-reports-plugin</artifactId>
              <version>2.2</version>
              <configuration>
                <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
	      </configuration>
              <reports>
               <report>index</report>
               <report>dependencies</report>
               <report>project-team</report>
               <report>mailing-list</report>
               <report>cim</report>
               <report>issue-tracking</report>
               <report>license</report>
               <report>scm</report>
	      </reports>
	    </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-javadoc-plugin</artifactId>
              <version>2.7</version>
	    </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>cobertura-maven-plugin</artifactId>
              <version>2.4</version>
              <configuration>
                <formats>
                  <format>xml</format>
                  <format>html</format>
		</formats>
	      </configuration>
	    </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-report-plugin</artifactId>
              <version>2.8.1</version>
	    </plugin>
	  </reportPlugins>
	</configuration>
        <executions>
          <execution>
            <id>attach-descriptor</id>
            <goals>
              <goal>attach-descriptor</goal>
	    </goals>
	  </execution>
	</executions>
      </plugin>
	</plugins>
      </build>
    </profile>
</profiles>



</project>