Codebase list libhtml5parser-java / upstream/latest pom.xml
upstream/latest

Tree @upstream/latest (Download .tar.gz)

pom.xml @upstream/latestraw · history · blame

<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>nu.validator.htmlparser</groupId>
  <artifactId>htmlparser</artifactId>
  <packaging>jar</packaging>
  <version>1.3.1</version>
  <name>htmlparser</name>
  <url>http://about.validator.nu/htmlparser/</url>
  <description>The Validator.nu HTML Parser is an implementation of the HTML5 parsing algorithm in Java for applications that do not run scripts. The parser is designed to work as a drop-in replacement for the XML parser in applications that already support XHTML 1.x content with an XML parser and use SAX, DOM or XOM to interface with the parser.</description>
  <developers>
    <developer>
      <id>hsivonen</id>
      <name>Henri Sivonen</name>
      <email>hsivonen@iki.fi</email>
      <url>http://hsivonen.iki.fi/</url>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>The MIT License</name>
      <url>http://www.opensource.org/licenses/mit-license.php</url>
      <distribution>repo</distribution>
    </license>
    <license>
      <name>The (New) BSD License</name>
      <url>http://www.opensource.org/licenses/bsd-license.php</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <connection>scm:svn:http://svn.versiondude.net/whattf/htmlparser/</connection>
  </scm>
  <build>
    <sourceDirectory>${basedir}/src</sourceDirectory>
    <testSourceDirectory>${basedir}/test-src</testSourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rpm-maven-plugin</artifactId>
        <configuration>
          <release>1</release>
          <copyright>The MIT License</copyright>
          <group>Development/Java</group>
          <workarea>/var/tmp/${project.build.finalName}</workarea>
          <defineStatements>
            <defineStatement>_javadir ${rpm.java.dir}</defineStatement>
            <defineStatement>_javadocdir ${rpm.javadoc.dir}</defineStatement>
          </defineStatements>
          <mappings>
            <mapping>
              <directory>${rpm.java.dir}</directory>
              <filemode>644</filemode>
              <username>root</username>
              <groupname>root</groupname>
              <sources>
                <source>
                  <location>${project.build.directory}/${project.build.finalName}.jar</location>
                </source>
              </sources>
            </mapping>
            <mapping>
              <directory>${rpm.javadoc.dir}/${project.build.finalName}</directory>
              <filemode>644</filemode>
              <username>root</username>
              <groupname>root</groupname>
              <sources>
                <source>
                  <location>${project.build.directory}/apidocs</location>
                </source>
              </sources>
            </mapping>
          </mappings>
          <install>%__ln_s ${project.build.finalName}.jar %{buildroot}%{_javadir}/${project.name}.jar</install>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.ibm.icu</groupId>
      <artifactId>icu4j</artifactId>
      <version>4.0.1</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>xom</groupId>
      <artifactId>xom</artifactId>
      <version>1.1</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>net.sourceforge.jchardet</groupId>
      <artifactId>jchardet</artifactId>
      <version>1.0</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.sdicons.jsontools</groupId>
      <artifactId>jsontools-core</artifactId>
      <version>1.4</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <properties>
    <rpm.java.dir>/usr/share/java</rpm.java.dir>
    <rpm.javadoc.dir>/usr/share/javadoc</rpm.javadoc.dir>
  </properties>
</project>