Revision: 719
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=719&view=rev
Author: henryju
Date: 2008-04-11 07:22:56 -0700 (Fri, 11 Apr 2008)
Log Message:
-----------
Removed Clover2 stuff because they don't host their artifacts on Central.
Updated some plugins versions.
Updated documentation.
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/xdoc/building-maven.xml
trunk/src/site/xdoc/index.xml
trunk/src/site/xdoc/installation.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-01-28 09:29:57 UTC (rev 718)
+++ trunk/pom.xml 2008-04-11 14:22:56 UTC (rev 719)
@@ -23,7 +23,7 @@
<module>jwebunit-core</module>
<module>jwebunit-commons-tests</module>
<module>jwebunit-htmlunit-plugin</module>
- <module>jwebunit-selenium-plugin</module>
+ <module>jwebunit-selenium-plugin</module>
</modules>
<mailingLists>
<mailingList>
@@ -145,9 +145,9 @@
</license>
</licenses>
<scm>
-
<connection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
+
<connection>scm:svn:http://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</connection>
<developerConnection>scm:svn:https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk</developerConnection>
- <url>http://svn.sourceforge.net/viewcvs.cgi/jwebunit/trunk</url>
+ <url>http://jwebunit.svn.sourceforge.net/viewvc/jwebunit/trunk</url>
</scm>
<organization>
<name>SourceForge</name>
@@ -155,65 +155,17 @@
</organization>
<repositories>
<repository>
- <id>Codehaus</id>
- <name>Mojo Codehaus Repository</name>
- <url>http://repository.codehaus.org/</url>
- </repository>
- <repository>
<id>selenium</id>
- <name>Selenium repository</name>
- <url>http://maven.openqa.org/</url>
+ <name>Selenium release repository</name>
+ <url>http://archiva.openqa.org/repository/releases/</url>
</repository>
</repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>atlassian-m2-repository</id>
- <name>Atlassian Maven 2.x Repository</name>
- <url>http://repository.atlassian.com/maven2</url>
- </pluginRepository>
- </pluginRepositories>
<build>
<plugins>
<plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-clover-plugin</artifactId>
- <configuration>
- <flushPolicy>threaded</flushPolicy>
- <flushInterval>100</flushInterval>
- <targetPercentage>0%</targetPercentage>
- <licenseLocation>
-
${basedir}/${topDirectoryLocation}/src/test/clover/clover.license
- </licenseLocation>
- </configuration>
- <executions>
- <execution>
- <id>main</id>
- <phase>verify</phase>
- <goals>
- <goal>instrument</goal>
- <goal>aggregate</goal>
- <goal>check</goal>
- <goal>log</goal>
- </goals>
- </execution>
- <execution>
- <id>site</id>
- <phase>pre-site</phase>
- <goals>
- <goal>instrument</goal>
- <goal>aggregate</goal>
-
- <!-- We save a history point in order to have data to
generate a historical report -->
- <goal>save-history</goal>
-
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-1</version>
+ <version>2.2-beta-2</version>
<configuration>
<attach>false</attach>
<descriptors>
@@ -238,13 +190,14 @@
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
+ <downloadJavadoc>true</downloadJavadoc>
</configuration>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
- <version>2.3-SNAPSHOT</version>
+ <version>2.4</version>
</plugin>
<plugin>
<inherited>true</inherited>
@@ -256,7 +209,7 @@
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.3</version>
+ <version>2.4</version>
</plugin>
</plugins>
</pluginManagement>
@@ -279,7 +232,7 @@
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
- <version>6.1.6</version>
+ <version>6.1.9</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
@@ -299,7 +252,7 @@
<dependency>
<groupId>org.openqa.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
- <version>0.9.2</version>
+ <version>1.0-beta-1</version>
</dependency>
<dependency>
<groupId>regexp</groupId>
@@ -314,12 +267,12 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.3.0</version>
+ <version>1.5.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>1.3.0</version>
+ <version>1.5.0</version>
<scope>optional</scope>
</dependency>
</dependencies>
@@ -352,16 +305,6 @@
<artifactId>taglist-maven-plugin</artifactId>
</plugin>
<plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-clover-plugin</artifactId>
- <configuration>
- <generateHistorical>true</generateHistorical>
- <licenseLocation>
-
${basedir}/${topDirectoryLocation}/src/test/clover/clover.license
- </licenseLocation>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<inherited>false</inherited>
Modified: trunk/src/site/xdoc/building-maven.xml
===================================================================
--- trunk/src/site/xdoc/building-maven.xml 2008-01-28 09:29:57 UTC (rev
718)
+++ trunk/src/site/xdoc/building-maven.xml 2008-04-11 14:22:56 UTC (rev
719)
@@ -23,15 +23,15 @@
First you need to download the latest Maven 2, which
currently is
<a href="http://maven.apache.org">
- <tt>Maven-2.0.8</tt>
+ <tt>Maven-2.0.9</tt>
</a>
, make sure you download the binary archive
- (e.g. apache-maven-2.0.8-bin.tar.bz2).
+ (e.g. apache-maven-2.0.9-bin.tar.bz2).
</p>
<p>
Installing Maven should be easy: unzip the file to
any directory you like, let's say:
- <source>/opt/apache-maven-2.0.8</source>
+ <source>/opt/apache-maven-2.0.9</source>
</p>
<p>
Next you need to do 2 things:
@@ -70,29 +70,6 @@
plugins that are available.
</p>
</subsection>
- <subsection
- name="Installing not released or snapshot plugins">
- <p>
- JWebUnit needs some tweak to
- build properly under Microsoft Windows.
- </p>
- <ul>
- <li>
- javacc-maven-plugin 2.3-SNAPSHOT because of this
- <a
- href="http://jira.codehaus.org/browse/MJAVACC-29">
- issue
- </a>
- </li>
- </ul>
- <p>
- Windows users will have to checkout sources of
javacc-maven-plugin then
- apply patch proposed in MJAVACC-29 then build the plugin
(should be 2.3-SNAPSHOT)
- then alter JWebUnit pom.xml to use your local version.
- You can vote for these issues or spam
- the Maven mailing list to help. ;)
- </p>
- </subsection>
<subsection name="Building JWebUnit">
<p>
Building JWebUnit merely consist of running Maven:
@@ -116,7 +93,7 @@
Due to findbugs memory usage, following parameter is required:
<source>export MAVEN_OPTS=-Xmx384M</source>
Now you should be able to generate site:
- <source>mvn site:site</source>
+ <source>mvn site</source>
</p>
<p>The files are in target/site directory of each module.<br/>
If you want to test the final assembled site, just hit:</p>
@@ -125,4 +102,4 @@
</subsection>
</section>
</body>
-</document>
\ No newline at end of file
+</document>
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2008-01-28 09:29:57 UTC (rev 718)
+++ trunk/src/site/xdoc/index.xml 2008-04-11 14:22:56 UTC (rev 719)
@@ -11,7 +11,7 @@
<body>
<section name="Welcome">
<p>
- You are on the JWebUnit 1.x website. Current version is 1.4. This is
+ You are on the JWebUnit 1.x website. Current version is 1.5. This is
the "stable" version of JWebUnit. You can also consult <a
href="2.x/index.html">JWebUnit 2.x website</a>.
</p>
</section>
@@ -20,6 +20,7 @@
JWebUnit is a Java framework that facilitates creation of acceptance
tests for web applications. It
evolved from a project where we were using <a
href="http://www.junit.org">JUnit</a> to create acceptance tests.
Also, we can have different testing engines. Currently, only <a
href="jwebunit-htmlunit-plugin/index.html">HtmlUnit plugin</a> is ready.
+ Some work is in progress to use Selenium to execute tests.
As the tests were being written, they were continuously refactored to
remove duplication and other bad smells in the test
code. JWebUnit is the result of these refactorings.
</p>
Modified: trunk/src/site/xdoc/installation.xml
===================================================================
--- trunk/src/site/xdoc/installation.xml 2008-01-28 09:29:57 UTC (rev
718)
+++ trunk/src/site/xdoc/installation.xml 2008-04-11 14:22:56 UTC (rev
719)
@@ -22,7 +22,7 @@
<dependency>
<groupId>net.sourceforge.jwebunit</groupId>
<artifactId>jwebunit-htmlunit-plugin</artifactId>
- <version>1.4</version>
+ <version>1.5</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -38,9 +38,10 @@
</subsection>
<subsection name="Choose what plugin you want to use">
<p>
- There are currently 1 available plugin:
+ There are currently 2 available plugins:
<ul>
<li>HtmlUnit: A good choice if you want
rapidity and good Javascript support.</li>
+ <li>Selenium: BETA quality (not all the
JWebUnit API could be executed with Selenium)</li>
</ul>
</p>
</subsection>
@@ -53,7 +54,7 @@
</p>
<p>
If you don't want to migrate to Maven,
- make sure you add the jwebunit-htmlunit-plugin-1.3.jar,
jwebunit-core-1.3.jar and all HtmlUnit dependencies
+ make sure you add the jwebunit-htmlunit-plugin-XX.jar,
jwebunit-core-XX.jar and all HtmlUnit dependencies
(these files are in lib/ folder of the JWebUnit package) to your classpath in
your IDE.
</p>
</subsection>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development