<?xml version="1.0" encoding="UTF-8"?>
<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>

  <parent>
    <groupId>org.daisy</groupId>
    <artifactId>daisy</artifactId>
    <version>2</version>
    <relativePath />
  </parent>

  <groupId>org.daisy.libs</groupId>
  <artifactId>jstyleparser</artifactId>
  <version>1.7.0</version>
  <packaging>bundle</packaging>

  <name>jStyleParser</name>
  <description>jStyleParser is a CSS parser written in Java. It has its own application interface
	that is designed to allow an efficient CSS processing in Java and mapping the values to the
	Java data types. It parses CSS 2.1 style sheets into structures that can be efficiently
	assigned to DOM elements. It is intended be the primary CSS parser for the CSSBox library.
	While handling errors, it is user agent conforming according to the CSS specification.
  </description>
  <url>http://cssbox.sourceforge.net/jstyleparser/</url>

  <licenses>
    <license>
      <name>GNU General Public License 3</name>
      <url>http://www.gnu.org/copyleft/gpl.html</url>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>Radek Burget</name>
      <roles>
        <role>Main developer &amp; project leader</role>
      </roles>
    </developer>
    <developer>
      <name>Karel Piwko</name>
      <roles>
        <role>Former developer</role>
      </roles>
    </developer>
    <developer>
      <name>Jan Švercl</name>
      <roles>
        <role>Former developer</role>
      </roles>
    </developer>
    <developer>
      <name>Ron Kuhnert</name>
      <roles>
        <role>Contributor</role>
      </roles>
    </developer>
  </developers>

  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.5.2</version>
    </dependency>
    <dependency>
      <groupId>org.antlr</groupId>
      <artifactId>antlr-runtime</artifactId>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
      <version>1.3.04</version>
    </dependency>
  </dependencies>

  <scm>
    <connection>scm:svn:http://cssbox.svn.sourceforge.net/svnroot/cssbox/jstyleparser/tags/1.7/src/cz</connection>
    <tag>jstyleparser-1.7.0</tag>
  </scm>

  <build>
    <sourceDirectory>${basedir}/target/sources</sourceDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-scm-plugin</artifactId>
        <version>1.7</version><!-- TODO remove when daisy-parent declares it in pluginManagement -->
        <executions>
          <execution>
            <id>checkout</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>checkout</goal>
            </goals>
            <configuration>
              <connectionType>connection</connectionType>
              <checkoutDirectory>${basedir}/target/sources/cz</checkoutDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-patch-plugin</artifactId>
        <version>1.1.1</version>
        <configuration>
          <patchDirectory>src/main/patches</patchDirectory>
          <patches>
            <patch>saxon.patch</patch>
          </patches>
        </configuration>
        <executions>
          <execution>
            <id>patch</id>
            <phase>process-sources</phase>
            <goals>
              <goal>apply</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
      </plugin>
    </plugins>
  </build>

</project>
