POM文件内容: |
锘�<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.6</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.0.2</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.3</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<suppressionsLocation>checkstyle_suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0.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>
<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.0.4</version>
<executions>
<execution>
<id>attach-sources</id>
<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>
</plugins>
</build>
<profiles>
<profile>
<id>without-library-tests</id>
<activation>
<property>
<name>withoutLibs</name>
</property>
</activation>
<build>
<!-- Explicitly exclude the library tests. -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<excludes>
<exclude>**/libraries/*.java</exclude>
</excludes>
<argLine>-Xmx512m -Xms128m</argLine>
<systemProperties>
<property>
<name>htmlunit.webdriver</name>
<!-- Value can be one of 'ie6', 'ie7', 'ff2' or 'ff3' -->
<value></value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
<!-- Implicitly exclude all library test resources. -->
<testResources>
<testResource>
<directory>src/test/resources</directory>
<includes>
<include>**/applets/**/*.*</include>
<include>**/com/**/*.*</include>
<include>**/objects/**/*.*</include>
<include>**/pjl-comp-filter/**/*.*</include>
<include>**/testfiles/**/*.*</include>
<include>*.*</include>
</includes>
</testResource>
</testResources>
</build>
</profile>
<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.4.3</version>
<configuration>
<argLine>-Xmx512m -Xms128m</argLine>
<systemProperties>
<property>
<name>htmlunit.webdriver</name>
<!-- Value can be one of 'ie6', 'ie7', 'ff2' or 'ff3' -->
<value></value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.6</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-changelog-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.1</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.4.2</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>
<developers>
<developer>
<name>Mike Bowler</name>
<id>mbowler</id>
<email>mbowler@GargoyleSoftware.com</email>
<organization>Gargoyle Software Inc.</organization>
<url>http://www.sphericalimprovement.com/blogs/mbowler/</url>
<timezone>-5</timezone>
</developer>
<developer>
<name>David K. Taylor</name>
<id>dktaylor</id>
</developer>
<developer>
<name>Brad Clarke</name>
<id>bradclarke</id>
<email>bradclarke@users.sourceforge.net</email>
<url>http://www.bradclarke.com/</url>
<timezone>-6</timezone>
</developer>
<developer>
<name>Marc Guillemot</name>
<id>mguillem</id>
<email>mguillem@users.sourceforge.net</email>
<url>http://mguillem.wordpress.com/</url>
<timezone>+1</timezone>
</developer>
<developer>
<name>Chris Erskine</name>
<id>cerskine</id>
<email>cerskine@users.sourceforge.net</email>
<timezone>-7</timezone>
</developer>
<developer>
<name>Daniel Gredler</name>
<id>sdanig</id>
<email>sdanig@users.sourceforge.net</email>
<url>http://daniel.gredler.net/</url>
<timezone>-5</timezone>
</developer>
<developer>
<name>Ahmed Ashour</name>
<id>asashour</id>
<email>asashour@users.sourceforge.net</email>
<url>http://asashour.blogspot.com/</url>
<timezone>+3</timezone>
</developer>
<developer>
<name>Sudhan Moghe</name>
<id>sudhan_moghe</id>
<email>sudhan_moghe@users.sourceforge.net</email>
<timezone>+5.5</timezone>
</developer>
</developers>
<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>
</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.6</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.13</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.20</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>net.sourceforge.htmlunit</groupId>
<artifactId>webdriver</artifactId>
<version>2.6</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.7089</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.webdriver</groupId>
<artifactId>webdriver-ie</artifactId>
<version>0.9.7089</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.sun.jna</groupId>
<artifactId>jna</artifactId>
</exclusion>
</exclusions>
</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>
|