HtmlUnit.
A headless browser intended for use in testing web-based applications..
Here is the list of declaration for htmlunit. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.7</version> </dependency>
If you think this Maven repository POM file listing for htmlunit is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The htmlunit-2.7 has 23 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Console | xalan 2.7.1 Xalan-Java is an XSLT processor for transforming XML documents into HTML, text, or other XML document types. It implements XSL Transformations (XSLT) Version 1.0 and XML Path Language (XPath) Version 1.0 and can be used from the command line, in an applet or a servlet, or as a module in... | 155 |
Data Structure | commons-collections 3.2.1 Types that extend and augment the Java Collections Framework. | 419 |
Data Structure | commons-lang 2.4 Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang. | 630 |
Http | commons-httpclient 3.1 The HttpClient component supports the client-side of RFC 1945 (HTTP/1.0) and RFC 2616 (HTTP/1.1) , several related specifications (RFC 2109 (Cookies) , RFC 2617 (HTTP Authentication) , etc.), and provides a framework by which new request types (methods) or HTTP extensions can be created easily. | 430 |
Data Structure | commons-codec 1.4 The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities. | 248 |
Parser | xercesImpl 2.9.1 Xerces2 is the next generation of high performance, fully compliant XML parsers in the Apache Xerces family. This new version of Xerces introduces the Xerces Native Interface (XNI), a complete framework for building parser components and configurations that is extremely modular and easy... | 97 |
Web Framework | cssparser 0.9.5 A CSS parser which implements SAC (the Simple API for CSS). | 24 |
File | commons-io 1.4 Commons-IO contains utility classes, stream implementations, file filters, file comparators and endian classes. | 444 |
Log | commons-logging 1.1.1 Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. | 1143 |
JUnit | junit 4.7 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 272 |
Library | gsbase 2.0.1 A collection of java utility classes | 30 |
Network | easymock 2.5.1 EasyMock provides an easy way to create Mock Objects for interfaces by generating them on the fly using Java's proxy mechanism | 40 |
Servlet | commons-fileupload 1.2.1 The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications. | 106 |
Jetty | jetty 6.1.22 Jetty server core | 19 |
Log | slf4j-api 1.5.8 The slf4j API | 88 |
Log | slf4j-log4j12 1.5.8 The slf4j log4j-12 binding | 50 |
Chart | jfreechart 1.0.12 JFreeChart is a class library, written in Java, for generating charts. Utilising the Java2D APIs, it currently supports bar charts, pie charts, line charts, XY-plots and time series plots. | 37 |
The following table lists the most popular artifacts which are depending on htmlunit-2.7. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Web Framework | doxia-site-renderer 1.4 The Site Renderer handles the rendering of sites, merging site decoration with document content. | 21 |
Web Framework | doxia-site-renderer 1.6 The Site Renderer handles the rendering of sites, merging site decoration with document content. | 7 |
The following plugins are used in the htmlunit-2.7.jar
The following packages are defined in the htmlunit-2.7.jar
com.gargoylesoftware.htmlunit com.gargoylesoftware.htmlunit.attachment com.gargoylesoftware.htmlunit.html com.gargoylesoftware.htmlunit.html.applets com.gargoylesoftware.htmlunit.html.impl com.gargoylesoftware.htmlunit.html.xpath com.gargoylesoftware.htmlunit.javascript com.gargoylesoftware.htmlunit.javascript.background com.gargoylesoftware.htmlunit.javascript.configuration com.gargoylesoftware.htmlunit.javascript.host com.gargoylesoftware.htmlunit.javascript.host.canvas com.gargoylesoftware.htmlunit.javascript.host.css com.gargoylesoftware.htmlunit.javascript.host.html com.gargoylesoftware.htmlunit.javascript.host.xml com.gargoylesoftware.htmlunit.javascript.regexp com.gargoylesoftware.htmlunit.protocol.about com.gargoylesoftware.htmlunit.protocol.data com.gargoylesoftware.htmlunit.protocol.javascript com.gargoylesoftware.htmlunit.ssl com.gargoylesoftware.htmlunit.util com.gargoylesoftware.htmlunit.xml
Here is the content of the POM file.
<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>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.7</version> <name>HtmlUnit</name> <organization> <name>Gargoyle Software Inc.</name> <url>http://www.GargoyleSoftware.com/</url> </organization> <packaging>jar</packaging> <description>A headless browser intended for use in testing web-based applications.</description> <url>http://htmlunit.sourceforge.net</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.1</version> <configuration> <!-- Update the links reference in javadoc, PDM and clover plugins when this changes --> <source>1.5</source> <target>1.5</target> <testExcludes> <exclude>**/CodeChecker.java</exclude> </testExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.4</version> <configuration> <configLocation>checkstyle.xml</configLocation> <includeTestSourceDirectory>true</includeTestSourceDirectory> <consoleOutput>true</consoleOutput> <failsOnError>true</failsOnError> <propertyExpansion> checkstyle.suppressions.file=checkstyle_suppressions.xml checkstyle.header.file=LICENSE.txt </propertyExpansion> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3</version> <configuration> <archive> <manifest> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> <manifestEntries> <Url>${pom.url}</Url> <!-- Following entries should be passed by CruiseControl on the CI server --> <SVN-Revision>${svnrevision}</SVN-Revision> <Build-Number>${label}</Build-Number> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>2.1</version> <configuration> <templateFile>${basedir}/src/site/maven-site.vm</templateFile> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-4</version> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <attach>false</attach> <descriptors> <descriptor>${basedir}/src/assembly/bin-distribution.xml</descriptor> <descriptor>${basedir}/src/assembly/src-distribution.xml</descriptor> </descriptors> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1</version> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>moveFiles</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${basedir}/artifacts"/> <delete includeemptydirs="true"> <fileset dir="${basedir}/artifacts" includes="**/*.jar"/> <fileset dir="${basedir}/artifacts" includes="**/*.zip"/> </delete> <copy todir="${basedir}/artifacts"> <fileset dir="${basedir}/target"> <include name="*.jar"/> <include name="*.zip"/> <exclude name="*-src.zip"/> </fileset> </copy> <move file="${basedir}/artifacts/${project.artifactId}-${project.version}.zip" tofile="${basedir}/artifacts/${project.artifactId}-${project.version}-with-dependencies.zip"/> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.7</version> <configuration> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>with-library-tests</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <argLine>-Xmx512m -Xms128m</argLine> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>without-library-tests</id> <activation> <property> <name>withoutLibs</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <excludes> <exclude>**/libraries/*.java</exclude> </excludes> <argLine>-Xmx512m -Xms128m</argLine> </configuration> </plugin> </plugins> <testResources> <testResource> <directory>src/test/resources</directory> <excludes> <exclude>libraries/**/*.*</exclude> </excludes> </testResource> </testResources> </build> </profile> <profile> <id>only-library-tests</id> <activation> <property> <name>onlyLibs</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <includes> <include>**/libraries/*.java</include> </includes> <argLine>-Xmx512m -Xms128m</argLine> </configuration> </plugin> </plugins> <testResources> <testResource> <directory>src/test/resources</directory> <includes> <include>libraries/**/*.*</include> </includes> </testResource> </testResources> </build> </profile> </profiles> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.6.1</version> <configuration> <excludePackageNames>com.gargoylesoftware.htmlunit.javascript:com.gargoylesoftware.htmlunit.protocol:com.gargoylesoftware.htmlunit.ssl:com.gargoylesoftware.htmlunit.html.xpath:com.gargoylesoftware.htmlunit.html.applets:com.gargoylesoftware.htmlunit.html.impl</excludePackageNames> <links> <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> <link>http://commons.apache.org/logging/apidocs/</link> <link>http://commons.apache.org/codec/apidocs/</link> <link>http://hc.apache.org/httpclient-3.x/apidocs/</link> </links> <stylesheet>maven</stylesheet> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <configuration> <targetJdk>1.5</targetJdk> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.3</version> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> <configuration> <issueLinkTemplate> http://sourceforge.net/support/tracker.php?aid=%ISSUE% </issueLinkTemplate> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.5</version> <configuration> <showSuccess>false</showSuccess> </configuration> </plugin> </plugins> </reporting> <issueManagement> <system>sourceforge</system> <url>http://sourceforge.net/tracker/?group_id=47038</url> </issueManagement> <inceptionYear>2002</inceptionYear> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:svn:https://htmlunit.svn.sourceforge.net/svnroot/htmlunit/trunk/htmlunit</connection> <developerConnection>scm:svn:https://htmlunit.svn.sourceforge.net/svnroot/htmlunit/trunk/htmlunit</developerConnection> <url>http://htmlunit.svn.sourceforge.net/viewvc/htmlunit</url> </scm> <ciManagement> <system>Cruise Control</system> <url>http://build.canoo.com/htmlunit</url> </ciManagement> <mailingLists> <mailingList> <name>HtmlUnit Users</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</subscribe> <unsubscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</unsubscribe> <archive>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</archive> <post>htmlunit-user@lists.sourceforge.net</post> <otherArchives> <otherArchive>http://www.nabble.com/HtmlUnit---General-f2599.html</otherArchive> <otherArchive>http://htmlunit.markmail.org/</otherArchive> <otherArchive>http://marc.info/?l=htmlunit-user</otherArchive> </otherArchives> </mailingList> <mailingList> <name>HtmlUnit Developers</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</subscribe> <unsubscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</unsubscribe> <archive>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</archive> <post>htmlunit-develop@lists.sourceforge.net</post> <otherArchives> <otherArchive>http://www.nabble.com/HtmlUnit---Dev-f2598.html</otherArchive> <otherArchive>http://htmlunit.markmail.org/</otherArchive> <otherArchive>http://marc.info/?l=htmlunit-develop</otherArchive> </otherArchives> </mailingList> </mailingLists> <contributors> <contributor> <name>Noboru Sinohara</name> </contributor> <contributor> <name>Mike J. Bresnahan</name> <email>gudujarlson@sf.net</email> </contributor> <contributor> <name>Dominique Broeglin</name> </contributor> <contributor> <name>Alex Nikiforoff</name> </contributor> <contributor> <name>Barnaby Court</name> </contributor> <contributor> <name>Andreas Hangler</name> </contributor> <contributor> <name>Jun Chen</name> <email>chen_jun@users.sourceforge.net</email> </contributor> <contributor> <name>Christian Sell</name> <email>cse@dynabean.de</email> </contributor> <contributor> <name>Darrell DeBoer</name> </contributor> <contributor> <name>David D. Kilzer</name> </contributor> <contributor> <name>Ben Curren</name> <email>bcurren@esomnie.com</email> </contributor> <contributor> <name>Mike Williams</name> </contributor> <contributor> <name>Mike Gallaher</name> </contributor> <contributor> <name>Dierk Koenig</name> </contributor> <contributor> <name>Mike Bresnahan</name> </contributor> <contributor> <name>Sergey Gorelkin</name> </contributor> <contributor> <name>Chris Eldredge</name> </contributor> <contributor> <name>Hans Donner</name> </contributor> <contributor> <name>Michael Ottati</name> </contributor> <contributor> <name>George Murnock</name> </contributor> <contributor> <name>Kent Tong</name> </contributor> <contributor> <name>Alfred Nathaniel</name> </contributor> <contributor> <name>Bruce Faulkner</name> </contributor> <contributor> <name>Ray Suliteanu</name> </contributor> <contributor> <name>Denis N. Antonioli</name> </contributor> <contributor> <name>Stefan Anzinger</name> </contributor> <contributor> <name>Lothar M?rkle</name> </contributor> <contributor> <name>Ian Lovejoy</name> </contributor> <contributor> <name>Paul King</name> </contributor> <contributor> <name>Vikram Shitole</name> </contributor> <contributor> <name>Mark van Leeuwen</name> </contributor> <contributor> <name>Brad Murray</name> </contributor> <contributor> <name>Julien Henry</name> </contributor> <contributor> <name>Andre Soereng</name> </contributor> <contributor> <name>Karel Kolman</name> </contributor> <contributor> <name>Bruce Chapman</name> </contributor> <contributor> <name>Kristian Muntau</name> </contributor> <contributor> <name>Sam Hough</name> </contributor> <contributor> <name>Deryk Sinotte</name> </contributor> <contributor> <name>Martin Tamme</name> </contributor> <contributor> <name>Philip Graf</name> </contributor> <contributor> <name>Rodney Gitzel</name> </contributor> <contributor> <name>Matt Ryall</name> </contributor> <contributor> <name>Rob Di Marco</name> </contributor> <contributor> <name>Gareth Davis</name> </contributor> <contributor> <name>David Bylsma</name> </contributor> <contributor> <name>Dmitri Zoubkov</name> </contributor> <contributor> <name>Stuart Begg</name> </contributor> <contributor> <name>Rene Schwietzke</name> </contributor> <contributor> <name>Ethan Glasser-Camp</name> </contributor> <contributor> <name>Marco Cova</name> </contributor> <contributor> <name>Mike Dirolf</name> </contributor> <contributor> <name>Mirko Friedenhagen</name> </contributor> <contributor> <name>Richard Eggert</name> </contributor> </contributors> <dependencies> <dependency> <groupId>xalan</groupId> <artifactId>xalan</artifactId> <version>2.7.1</version> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2.1</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit-core-js</artifactId> <version>2.7</version> </dependency> <!-- This is an indirect dependency, used by Xalan and NekoHtml --> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.9.1</version> </dependency> <dependency> <groupId>net.sourceforge.nekohtml</groupId> <artifactId>nekohtml</artifactId> <version>1.9.14</version> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>net.sourceforge.cssparser</groupId> <artifactId>cssparser</artifactId> <version>0.9.5</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> <!-- Test dependencies. --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.7</version> <scope>test</scope> </dependency> <dependency> <groupId>gsbase</groupId> <artifactId>gsbase</artifactId> <version>2.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>2.5.1</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> <version>6.1.22</version> <scope>test</scope> </dependency> <!-- The presence of slf4j on the classpath during the unit tests triggers correct logging in Jetty. --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.5.8</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.5.8</version> <scope>test</scope> </dependency> <dependency> <groupId>jfree</groupId> <artifactId>jfreechart</artifactId> <version>1.0.12</version> <scope>test</scope> </dependency> <!-- WebDriver --> <dependency> <groupId>org.seleniumhq.webdriver</groupId> <artifactId>webdriver-htmlunit</artifactId> <version>0.9.7376</version> <scope>test</scope> <exclusions> <exclusion> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.seleniumhq.webdriver</groupId> <artifactId>webdriver-firefox</artifactId> <version>0.9.7376</version> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.webdriver</groupId> <artifactId>webdriver-ie</artifactId> <version>0.9.7376</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <site> <id>htmlunit-website</id> <name>HtmlUnit WebSite - Sourceforge</name> <url> scp://shell.sourceforge.net/home/groups/h/ht/htmlunit/htdocs/ </url> </site> <repository> <id>htmlunit-m2-repo</id> <url> sftp://web.sourceforge.net/home/groups/h/ht/htmlunit/htdocs/m2-repo </url> <name>HtmlUnit Maven 2 Repository</name> </repository> <snapshotRepository> <id>htmlunit-m2-repo-snapshots</id> <url> sftp://web.sourceforge.net/home/groups/h/ht/htmlunit/htdocs/m2-repo-snapshots </url> <name>HtmlUnit Maven 2 Snapshots Repository</name> <uniqueVersion>false</uniqueVersion> </snapshotRepository> </distributionManagement> </project>