Commit 803d4de1 authored by Alexandre Rossi's avatar Alexandre Rossi

Imported Upstream version 2.2.1

parent a0651ec8
<project name="HtmlCleaner" default="build" basedir=".">
<description>HtmlCleaner</description>
<property name="version" value="2_2"/>
<property name="dir.src" value="src/main/java"/>
<property name="dir.lib" value="lib"/>
<property name="dir.doc" value="doc"/>
<property name="dir.dist" value="dist"/>
<property name="dir.zip" value="zip"/>
<property name="jarfile" value="htmlcleaner${version}.jar"/>
<!-- classpath -->
<path id="classpath.compile">
<pathelement location="${dir.lib}/ant.jar"/>
<pathelement location="${dir.lib}/jdom.jar"/>
</path>
<!-- sources targets -->
<target name="build" description="compilation of source files">
<mkdir dir="${dir.dist}"/>
<javac srcdir="${dir.src}" destdir="${dir.dist}" listfiles="on" source="1.5" target="1.5">
<classpath refid="classpath.compile"/>
</javac>
</target>
<!-- creates jar library -->
<target name="jar" depends="build" description="creates jar library">
<jar destfile="${jarfile}" basedir="${dir.dist}" manifest="config/MANIFEST.MF"/>
</target>
<!-- delete distribution folders -->
<target name="clean" description="cleans distribution">
<delete file="${jarfile}"/>
<delete dir="${dir.dist}"/>
<delete dir="${dir.zip}"/>
<delete dir="${dir.doc}"/>
</target>
<!-- generate Java docs -->
<target name="javadoc">
<javadoc access="protected"
author="true"
source="1.5"
destdir="doc"
nodeprecated="false"
nodeprecatedlist="false"
noindex="false"
nonavbar="false"
notree="false"
packagenames="org.htmlcleaner"
sourcepath="${dir.src}"
splitindex="true"
use="true"
version="true"/>
</target>
<target depends="jar,javadoc" name="zip">
<mkdir dir="${dir.zip}"/>
<zip destfile="${dir.zip}/htmlcleaner${version}-bin.zip">
<zipfileset file="${jarfile}"/>
<zipfileset dir="doc" prefix="doc"/>
<zipfileset file="default.xml"/>
</zip>
<zip destfile="${dir.zip}/htmlcleaner${version}-all.zip">
<zipfileset file="${jarfile}"/>
<zipfileset file="licence.txt"/>
<zipfileset dir="src" prefix="src" />
<zipfileset dir="test" prefix="test" />
<zipfileset dir="config" prefix="config"/>
<zipfileset dir="doc" prefix="doc"/>
<zipfileset dir="lib" prefix="lib"/>
<zipfileset file="default.xml"/>
<zipfileset file="build.xml"/>
<zipfileset file="pom.xml"/>
</zip>
</target>
</project>
\ No newline at end of file
K 25
svn:wc:ra_dav:version-url
V 45
/svnroot/htmlcleaner/!svn/ver/97/trunk/config
END
MANIFEST.MF
K 25
svn:wc:ra_dav:version-url
V 57
/svnroot/htmlcleaner/!svn/ver/97/trunk/config/MANIFEST.MF
END
10
dir
189
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner/trunk/config
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner
2010-11-12T10:01:14.707374Z
97
vnikic
482c6979-392e-0410-9d6c-a8d33d214f2b
MANIFEST.MF
file
2013-01-16T10:05:21.000000Z
e4ac332e0d621c08c9ff95869155dba3
2007-04-16T11:58:11.489179Z
1
vnikic
147
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_08-b03 (Sun Microsystems Inc.)
Main-Class: org.htmlcleaner.CommandLine
Copyright (c) 2006-2010, Vladimir Nikic
Copyright (c) 2006-2013, Vladimir Nikic
All rights reserved.
Redistribution and use of this software in source and binary forms,
......
......@@ -6,7 +6,7 @@
<groupId>net.sourceforge.htmlcleaner</groupId>
<artifactId>htmlcleaner</artifactId>
<packaging>jar</packaging>
<version>2.2</version>
<version>2.2.1</version>
<name>HtmlCleaner</name>
<description>
HtmlCleaner is an HTML parser written in Java. It transforms dirty HTML to well-formed XML following
......@@ -21,7 +21,7 @@
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<comments>
OWNER = Vladimir Nikic
YEAR = 2006-2010
YEAR = 2006-2013
</comments>
<distribution>repo</distribution>
</license>
......@@ -38,54 +38,81 @@
<timezone>1</timezone>
<email>vnikic@users.sourceforge.net</email>
</developer>
<developer>
<name>Patrick Moore</name>
<id>patmoore</id>
<roles>
<role>Project Admin</role>
<role>Developer</role>
</roles>
<timezone>-8</timezone>
<email>patmoore@farreach.es</email>
</developer>
<developer>
<name>Scott Wilson</name>
<id>scottbw</id>
<roles>
<role>Project Admin</role>
<role>Developer</role>
</roles>
<timezone>1</timezone>
<email>scottbw@apache.org</email>
</developer>
</developers>
<scm>
<url>http://htmlcleaner.svn.sourceforge.net/</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<wagon-build>1.0-beta-7</wagon-build>
</properties>
<dependencies>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom</artifactId>
<version>1.1</version>
<version>1.1.2</version>
<exclusions>
<!-- 1.1.2 refers to unreleased jaxen 1.1.3 -->
<exclusion>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.0</version>
<version>1.8.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<version>4.11-beta-1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<optimize>true</optimize>
<uniqueVersion>false</uniqueVersion>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
......@@ -103,18 +130,57 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestFile>config/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>UTF-8</encoding>
<optimize>true</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>${wagon-build}</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>${wagon-build}</version>
</extension>
<!-- sftp patmoore,amplafi-flow@web.sourceforge.net <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-sftp</artifactId> <version>${wagon-build}</version> </extension> -->
</extensions>
</build>
</project>
K 25
svn:wc:ra_dav:version-url
V 43
/svnroot/htmlcleaner/!svn/ver/188/trunk/src
END
10
dir
189
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner/trunk/src
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner
2013-01-16T11:22:47.394276Z
188
scottwilson
482c6979-392e-0410-9d6c-a8d33d214f2b
test
dir
main
dir
K 25
svn:wc:ra_dav:version-url
V 48
/svnroot/htmlcleaner/!svn/ver/188/trunk/src/main
END
10
dir
189
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner/trunk/src/main
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner
2013-01-16T11:22:47.394276Z
188
scottwilson
482c6979-392e-0410-9d6c-a8d33d214f2b
java
dir
K 25
svn:wc:ra_dav:version-url
V 53
/svnroot/htmlcleaner/!svn/ver/188/trunk/src/main/java
END
10
dir
189
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner/trunk/src/main/java
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner
2013-01-16T11:22:47.394276Z
188
scottwilson
482c6979-392e-0410-9d6c-a8d33d214f2b
org
dir
K 25
svn:wc:ra_dav:version-url
V 57
/svnroot/htmlcleaner/!svn/ver/188/trunk/src/main/java/org
END
10
dir
189
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner/trunk/src/main/java/org
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner
2013-01-16T11:22:47.394276Z
188
scottwilson
482c6979-392e-0410-9d6c-a8d33d214f2b
htmlcleaner
dir
K 25
svn:wc:ra_dav:version-url
V 69
/svnroot/htmlcleaner/!svn/ver/188/trunk/src/main/java/org/htmlcleaner
END
Utils.java
K 25
svn:wc:ra_dav:version-url
V 80
/svnroot/htmlcleaner/!svn/ver/188/trunk/src/main/java/org/htmlcleaner/Utils.java
END
PrettyXmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 94
/svnroot/htmlcleaner/!svn/ver/179/trunk/src/main/java/org/htmlcleaner/PrettyXmlSerializer.java
END
SimpleXmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 94
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/SimpleXmlSerializer.java
END
BrowserCompactXmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 102
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/BrowserCompactXmlSerializer.java
END
HtmlCleanerForAnt.java
K 25
svn:wc:ra_dav:version-url
V 92
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/HtmlCleanerForAnt.java
END
CommentNode.java
K 25
svn:wc:ra_dav:version-url
V 86
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/CommentNode.java
END
ITagInfoProvider.java
K 25
svn:wc:ra_dav:version-url
V 91
/svnroot/htmlcleaner/!svn/ver/179/trunk/src/main/java/org/htmlcleaner/ITagInfoProvider.java
END
BaseToken.java
K 25
svn:wc:ra_dav:version-url
V 84
/svnroot/htmlcleaner/!svn/ver/179/trunk/src/main/java/org/htmlcleaner/BaseToken.java
END
TagNode.java
K 25
svn:wc:ra_dav:version-url
V 82
/svnroot/htmlcleaner/!svn/ver/181/trunk/src/main/java/org/htmlcleaner/TagNode.java
END
CleanerTransformations.java
K 25
svn:wc:ra_dav:version-url
V 97
/svnroot/htmlcleaner/!svn/ver/143/trunk/src/main/java/org/htmlcleaner/CleanerTransformations.java
END
XmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 88
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/XmlSerializer.java
END
DefaultTagProvider.java
K 25
svn:wc:ra_dav:version-url
V 93
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/DefaultTagProvider.java
END
HtmlTokenizer.java
K 25
svn:wc:ra_dav:version-url
V 88
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/HtmlTokenizer.java
END
TagNodeVisitor.java
K 25
svn:wc:ra_dav:version-url
V 89
/svnroot/htmlcleaner/!svn/ver/152/trunk/src/main/java/org/htmlcleaner/TagNodeVisitor.java
END
CompactXmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 95
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/CompactXmlSerializer.java
END
TagTransformation.java
K 25
svn:wc:ra_dav:version-url
V 92
/svnroot/htmlcleaner/!svn/ver/143/trunk/src/main/java/org/htmlcleaner/TagTransformation.java
END
EndTagToken.java
K 25
svn:wc:ra_dav:version-url
V 86
/svnroot/htmlcleaner/!svn/ver/179/trunk/src/main/java/org/htmlcleaner/EndTagToken.java
END
CompactHtmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 96
/svnroot/htmlcleaner/!svn/ver/156/trunk/src/main/java/org/htmlcleaner/CompactHtmlSerializer.java
END
PrettyHtmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 95
/svnroot/htmlcleaner/!svn/ver/161/trunk/src/main/java/org/htmlcleaner/PrettyHtmlSerializer.java
END
SimpleHtmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 95
/svnroot/htmlcleaner/!svn/ver/156/trunk/src/main/java/org/htmlcleaner/SimpleHtmlSerializer.java
END
DoctypeToken.java
K 25
svn:wc:ra_dav:version-url
V 87
/svnroot/htmlcleaner/!svn/ver/179/trunk/src/main/java/org/htmlcleaner/DoctypeToken.java
END
Serializer.java
K 25
svn:wc:ra_dav:version-url
V 85
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/Serializer.java
END
DomSerializer.java
K 25
svn:wc:ra_dav:version-url
V 88
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/DomSerializer.java
END
HtmlNode.java
K 25
svn:wc:ra_dav:version-url
V 83
/svnroot/htmlcleaner/!svn/ver/152/trunk/src/main/java/org/htmlcleaner/HtmlNode.java
END
XPather.java
K 25
svn:wc:ra_dav:version-url
V 82
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/XPather.java
END
TagToken.java
K 25
svn:wc:ra_dav:version-url
V 83
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/TagToken.java
END
ConfigFileTagProvider.java
K 25
svn:wc:ra_dav:version-url
V 96
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/ConfigFileTagProvider.java
END
SpecialEntity.java
K 25
svn:wc:ra_dav:version-url
V 88
/svnroot/htmlcleaner/!svn/ver/143/trunk/src/main/java/org/htmlcleaner/SpecialEntity.java
END
HtmlCleanerException.java
K 25
svn:wc:ra_dav:version-url
V 95
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/HtmlCleanerException.java
END
ContentNode.java
K 25
svn:wc:ra_dav:version-url
V 86
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/ContentNode.java
END
JDomSerializer.java
K 25
svn:wc:ra_dav:version-url
V 89
/svnroot/htmlcleaner/!svn/ver/182/trunk/src/main/java/org/htmlcleaner/JDomSerializer.java
END
CleanerProperties.java
K 25
svn:wc:ra_dav:version-url
V 92
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/CleanerProperties.java
END
CommandLine.java
K 25
svn:wc:ra_dav:version-url
V 86
/svnroot/htmlcleaner/!svn/ver/180/trunk/src/main/java/org/htmlcleaner/CommandLine.java
END
TagInfo.java
K 25
svn:wc:ra_dav:version-url
V 82
/svnroot/htmlcleaner/!svn/ver/179/trunk/src/main/java/org/htmlcleaner/TagInfo.java
END
XPatherException.java
K 25
svn:wc:ra_dav:version-url
V 91
/svnroot/htmlcleaner/!svn/ver/178/trunk/src/main/java/org/htmlcleaner/XPatherException.java
END
HtmlSerializer.java
K 25
svn:wc:ra_dav:version-url
V 89
/svnroot/htmlcleaner/!svn/ver/161/trunk/src/main/java/org/htmlcleaner/HtmlSerializer.java
END
HtmlCleaner.java
K 25
svn:wc:ra_dav:version-url
V 86
/svnroot/htmlcleaner/!svn/ver/182/trunk/src/main/java/org/htmlcleaner/HtmlCleaner.java
END
10
dir
189
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner/trunk/src/main/java/org/htmlcleaner
https://htmlcleaner.svn.sourceforge.net/svnroot/htmlcleaner