You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(7) |
Aug
(37) |
Sep
|
Oct
|
Nov
(1) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(8) |
Feb
(68) |
Mar
(72) |
Apr
(149) |
May
(32) |
Jun
(46) |
Jul
(26) |
Aug
(59) |
Sep
(25) |
Oct
(18) |
Nov
(4) |
Dec
(3) |
2004 |
Jan
(90) |
Feb
(19) |
Mar
(38) |
Apr
(41) |
May
(44) |
Jun
(2) |
Jul
(10) |
Aug
|
Sep
(14) |
Oct
|
Nov
(1) |
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(15) |
Jun
(1) |
Jul
|
Aug
(9) |
Sep
|
Oct
(17) |
Nov
|
Dec
|
2006 |
Jan
(1) |
Feb
(16) |
Mar
|
Apr
(1) |
May
(48) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(29) |
2007 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
(23) |
Mar
(31) |
Apr
|
May
(26) |
Jun
(6) |
Jul
(1) |
Aug
|
Sep
(7) |
Oct
(1) |
Nov
(8) |
Dec
(8) |
2009 |
Jan
(5) |
Feb
(9) |
Mar
(1) |
Apr
|
May
(23) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(9) |
Oct
(28) |
Nov
(18) |
Dec
(8) |
2010 |
Jan
(19) |
Feb
(24) |
Mar
(3) |
Apr
|
May
(5) |
Jun
(4) |
Jul
|
Aug
(1) |
Sep
(11) |
Oct
|
Nov
(2) |
Dec
(1) |
2011 |
Jan
|
Feb
(7) |
Mar
|
Apr
(6) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(32) |
Oct
(6) |
Nov
|
Dec
|
From: <rlo...@us...> - 2009-01-20 08:51:46
|
Revision: 946 http://dbunit.svn.sourceforge.net/dbunit/?rev=946&view=rev Author: rlogiacco Date: 2009-01-20 08:51:42 +0000 (Tue, 20 Jan 2009) Log Message: ----------- updated site fron page with new release informations Modified Paths: -------------- trunk/src/site/xdoc/index.xml Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2009-01-20 08:34:34 UTC (rev 945) +++ trunk/src/site/xdoc/index.xml 2009-01-20 08:51:42 UTC (rev 946) @@ -26,6 +26,10 @@ <section name="News"> <table border="1"> <tr> + <td>2009-01-20</td> + <td>Development continues to go on, fixes and a additions have been contributed and a new release has been cut. Here a detailed <a href="changes-report.html#a2.4.3">changes</a> report.</td> + </tr> + <tr> <td>2008-12-17</td> <td>Some other fixes and a additions have been released. Here a detailed <a href="changes-report.html#a2.4.2">changes</a> report.</td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2009-01-20 08:34:39
|
Revision: 945 http://dbunit.svn.sourceforge.net/dbunit/?rev=945&view=rev Author: rlogiacco Date: 2009-01-20 08:34:34 +0000 (Tue, 20 Jan 2009) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2009-01-20 08:34:15 UTC (rev 944) +++ trunk/pom.xml 2009-01-20 08:34:34 UTC (rev 945) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.4.3</version> + <version>2.4.4-SNAPSHOT</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> @@ -23,9 +23,9 @@ <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> </properties> <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</url> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> </scm> <issueManagement> <system>SourceForge</system> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2009-01-20 08:34:25
|
Revision: 944 http://dbunit.svn.sourceforge.net/dbunit/?rev=944&view=rev Author: rlogiacco Date: 2009-01-20 08:34:15 +0000 (Tue, 20 Jan 2009) Log Message: ----------- [maven-release-plugin] copy for tag dbunit-2.4.3 Added Paths: ----------- tags/dbunit-2.4.3/ tags/dbunit-2.4.3/pom.xml Removed Paths: ------------- tags/dbunit-2.4.3/pom.xml Deleted: tags/dbunit-2.4.3/pom.xml =================================================================== --- trunk/pom.xml 2009-01-17 21:40:51 UTC (rev 942) +++ tags/dbunit-2.4.3/pom.xml 2009-01-20 08:34:15 UTC (rev 944) @@ -1,579 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<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>org.dbunit</groupId> - <artifactId>dbunit</artifactId> - <packaging>jar</packaging> - <version>2.4.3-SNAPSHOT</version> - <name>DbUnit Framework</name> - <url>http://dbunit.sourceforge.net</url> - <inceptionYear>2002</inceptionYear> - <description> - DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. - </description> - <licenses> - <license> - <name>GNU Lesser General Public License, Version 2.1</name> - <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> - <distribution>repo</distribution> - </license> - </licenses> - <properties> - <compileSource>1.4</compileSource> - <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> - </properties> - <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> - </scm> - <issueManagement> - <system>SourceForge</system> - <url>http://sourceforge.net/tracker/?group_id=47439</url> - </issueManagement> - <ciManagement> - <system>parabuild</system> - <url><![CDATA[ - http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=30 - ]]></url> - <notifiers> - <notifier> - <type>mail</type> - <sendOnError>true</sendOnError> - <sendOnFailure>false</sendOnFailure> - <sendOnSuccess>false</sendOnSuccess> - <sendOnWarning>false</sendOnWarning> - <configuration> - <address>go...@us...</address> - </configuration> - </notifier> - </notifiers> - </ciManagement> - <mailingLists> - <mailingList> - <name>DbUnit User List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-user</archive> - </mailingList> - <mailingList> - <name>DbUnit Developer List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-developer</archive> - </mailingList> - <mailingList> - <name>DbUnit SVN Commit List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-commit</archive> - </mailingList> - </mailingLists> - - <pluginRepositories> - <!-- - <pluginRepository> - <id>snapshots</id> - <url>http://people.apache.org/repo/m2-snapshot-repository/</url> - </pluginRepository> - --> - </pluginRepositories> - - - <!-- who the developers are for the project --> - <developers> - <!-- put my name first, so my email is used by the announcements-email - plugin --> - <developer> - <name>Roberto Lo Giacco</name> - <id>rlogiacco</id> - <email>rlo...@us...</email> - <organization>SmartLab</organization> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Felipe Leme</name> - <id>felipeal</id> - <email>db...@fe...</email> - <organization>Falcon Informatica</organization> - <timezone>-3</timezone> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Benjamin Cox</name> - <id>bdrum</id> - <roles> - <role>Java Developer</role> - <!-- <role>Original Ant Task Contributor</role> --> - </roles> - </developer> - <developer> - <name>David Eric Pugh</name> - <id>dep4b</id> - <email>ep...@op...</email> - <organization>OpenSource Connections</organization> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Federico Spinazzi</name> - <id>fspinazzi</id> - <email>f.s...@ma...</email> - <organization>Master House S.r.l</organization> - <roles> - <role>Java Developer</role> - <!-- <role>DB2 Contributor</role> --> - </roles> - </developer> - <developer> - <name>Manuel Laflamme</name> - <id>mlaflamm</id> - <organization>Oz Communication</organization> - <roles> - <role>Project Founder</role> - <!-- <role>Java Developer</role> --> - </roles> - </developer> - <developer> - <name>Timothy J. Ruppert</name> - <id>zieggy</id> - <roles> - <role>Java Developer</role> - <!-- <role>Original Ant Task Contributor</role> --> - </roles> - </developer> - <developer> - <name>Sebastien Le Callonnec</name> - <id>slecallonnec</id> - <email>sle...@us...</email> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Matthias Gommeringer</name> - <id>gommma</id> - <email>go...@us...</email> - <roles> - <role>Java Developer</role> - </roles> - </developer> - </developers> - - <contributors> - <contributor> - <name>Klas Axel</name> - <roles> - <role>HsqldbDataTypeFactory</role> - </roles> - </contributor> - <contributor> - <name>Erik Price</name> - <roles> - <role>DatabaseSequenceOperation</role> - </roles> - </contributor> - <contributor> - <name>Jeremy Stein</name> - <roles> - <role>InsertIndentityOperation</role> - </roles> - </contributor> - <contributor> - <name>Keven Kizer</name> - <roles> - <role>Early guinea pig</role> - </roles> - </contributor> - <contributor> - <name>Mike Bresnahan</name> - <roles> - <role>DbUnit evangelist</role> - </roles> - </contributor> - <contributor> - <name>Andres Almiray</name> - <email>aal...@us...</email> - <roles> - <role>IDatabaseTester creator</role> - </roles> - </contributor> - </contributors> - - - <dependencies> - - <!-- TODO: check which dependencies could marked as optional. - For instance, ant is optional because it's only necessary for the dbunit - Ant tasks. --> - - <!-- TODO: add exclusion for dependencies that include xerces/xalan --> - - <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.2</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>1.5.6</version> - </dependency> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>3.2.1</version> - </dependency> - <dependency> - <groupId>ant</groupId> - <artifactId>ant</artifactId> - <!-- TODO: range-> 1.5.3-1 + - <version>1.6.5</version> ---> - <version>1.5.4</version> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi</artifactId> - <version>3.2-FINAL</version> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>junit-addons</groupId> - <artifactId>junit-addons</artifactId> - <version>1.4</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>mockobjects</groupId> - <artifactId>mockobjects-core</artifactId> - <version>0.07</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>mockmaker</groupId> - <artifactId>mmmockobjects</artifactId> - <version>1.12.0</version> - <scope>test</scope> - </dependency> - <!-- TODO: check why follow dependency is necessary --> - <dependency> - <groupId>mockobjects</groupId> - <artifactId>mockobjects-jdk1.3</artifactId> - <version>0.07</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>hsqldb</groupId> - <artifactId>hsqldb</artifactId> - <version>1.8.0.1</version> - <scope>test</scope> - </dependency> - <dependency> - <!-- Only needed when "profile.properties" is set to "derby" environment --> - <groupId>org.apache.derby</groupId> - <artifactId>derby</artifactId> - <version>10.4.1.3</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>gsbase</groupId> - <artifactId>gsbase</artifactId> - <version>2.0.1</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-nop</artifactId> - <version>1.5.6</version> - <scope>runtime</scope> - <optional>true</optional> - </dependency> - - </dependencies> - - <build> - <defaultGoal>install</defaultGoal> - <sourceDirectory>src/java</sourceDirectory> - <testSourceDirectory>src/test</testSourceDirectory> - - <!-- TODO: move to M2's expected path and separate java from test - (once SCM is migrated to SVN...) --> - <resources> - <resource> - <directory>.</directory> - <includes> - <include>LICENSE.txt</include> - </includes> - </resource> - <resource> - <directory>src/java</directory> - <includes> - <include>**/dataset.dtd</include> - </includes> - </resource> - <resource> - <directory>src/csv</directory> - <includes> - <include>**/cvs-tests.properties</include> - </includes> - </resource> - - </resources> - <!-- TODO: that are some resources on src that should be on test... - - <testResources> - <testResource> - </testResource> - </testResources> ---> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <!-- In some machines (at least on mine :-(, running AllTests is much -faster then running all tests, but there is not guarantee that all tests will -be run (i.e., a developer could create a new test file and forget to add it to -AllTests) - <includes> - <include>org/dbunit/AllTests.java</include> - </includes> - --> - <excludes> - <exclude>**/Abstract*.java</exclude> - </excludes> - <includes> - <include>**/*Test.java</include> - </includes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${compileSource}</source> - <target>${compileSource}</target> - <compilerVersion>${compileSource}</compilerVersion> - <!-- TODO somehow we must ensure that the used rt.jar is really a 1.4 and not higher, also for continuous integration --> - <!--<executable>${JAVA_1_4_HOME}/bin/javac</executable>--> - <debug>true</debug> - <fork>true</fork> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-release-plugin</artifactId> - <configuration> - <goals>javadoc:javadoc source:jar javadoc:jar deploy site changes:announcement-generate assembly:assembly</goals> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <includes> - <include>/LICENSE.txt</include> - <include>**</include> - </includes> - </configuration> - </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <descriptors> - <descriptor>assembly.xml</descriptor> - </descriptors> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <!-- basic reports - available to all plugins --> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <configuration> - <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - </plugin> -<!-- <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin>--> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>checkstyle.xml</configLocation> - <argLine>-Xmx512m -Xms128m</argLine> - </configuration> - </plugin> - <!-- Generate "PMD" and "CPD" reports --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <configuration> - <linkXref>true</linkXref> - <sourceEncoding>utf-8</sourceEncoding> - <minimumTokens>100</minimumTokens> - <targetJdk>${compileSource}</targetJdk> - </configuration> - </plugin> - <!-- Generate "JDepend" report --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jdepend-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <destDir>apidocs</destDir> - <quiet>true</quiet> - <stylesheet>maven</stylesheet> - <tags> - <tag> - <name>TODO</name> - <placement>a</placement> - <head>To do:</head> - </tag> - </tags> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <version>2.0</version> - <configuration> - <smtpHost>localhost</smtpHost> - <smtpPort implementation="java.lang.Integer">25</smtpPort> - <introduction>If you are reading this, the maintainer forgot to descrive what's the purpose of this release!!!</introduction> - <toAddresses> - <toAddress implementation="java.lang.String">dbu...@li...</toAddress> - <toAddress implementation="java.lang.String">dbu...@li...</toAddress> - </toAddresses> - <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload> - <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> -<!-- <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate> --> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - <report>license</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> - - <distributionManagement> - <snapshotRepository> - <id>sourceforge</id> - <name>SourceForge Snapshots Repo</name> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url> - </snapshotRepository> - <repository> - <id>sourceforge</id> - <name>SourceForge Releases Repo</name> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url> - </repository> - <site> - <id>sourceforge</id> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs</url> - </site> - </distributionManagement> - - <profiles> - <profile> - <id>official</id> - <dependencies> - <dependency> - <groupId>javax.sql</groupId> - <artifactId>jdbc-stdext</artifactId> - <version>2.0</version> - <optional>true</optional> - </dependency> - </dependencies> - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${compileSource}</source> - <target>${compileSource}</target> - <compilerVersion>${compileSource}</compilerVersion> - <executable>${JAVA_1_4_HOME}/bin/javac</executable> - <debug>true</debug> - <fork>true</fork> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <configuration> - <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changelog-plugin</artifactId> - </plugin> - </plugins> - </reporting> - </profile> - </profiles> - -</project> Copied: tags/dbunit-2.4.3/pom.xml (from rev 943, trunk/pom.xml) =================================================================== --- tags/dbunit-2.4.3/pom.xml (rev 0) +++ tags/dbunit-2.4.3/pom.xml 2009-01-20 08:34:15 UTC (rev 944) @@ -0,0 +1,579 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<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>org.dbunit</groupId> + <artifactId>dbunit</artifactId> + <packaging>jar</packaging> + <version>2.4.3</version> + <name>DbUnit Framework</name> + <url>http://dbunit.sourceforge.net</url> + <inceptionYear>2002</inceptionYear> + <description> + DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. + </description> + <licenses> + <license> + <name>GNU Lesser General Public License, Version 2.1</name> + <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + <properties> + <compileSource>1.4</compileSource> + <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> + </properties> + <scm> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</url> + </scm> + <issueManagement> + <system>SourceForge</system> + <url>http://sourceforge.net/tracker/?group_id=47439</url> + </issueManagement> + <ciManagement> + <system>parabuild</system> + <url><![CDATA[ + http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=30 + ]]></url> + <notifiers> + <notifier> + <type>mail</type> + <sendOnError>true</sendOnError> + <sendOnFailure>false</sendOnFailure> + <sendOnSuccess>false</sendOnSuccess> + <sendOnWarning>false</sendOnWarning> + <configuration> + <address>go...@us...</address> + </configuration> + </notifier> + </notifiers> + </ciManagement> + <mailingLists> + <mailingList> + <name>DbUnit User List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-user</archive> + </mailingList> + <mailingList> + <name>DbUnit Developer List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-developer</archive> + </mailingList> + <mailingList> + <name>DbUnit SVN Commit List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-commit</archive> + </mailingList> + </mailingLists> + + <pluginRepositories> + <!-- + <pluginRepository> + <id>snapshots</id> + <url>http://people.apache.org/repo/m2-snapshot-repository/</url> + </pluginRepository> + --> + </pluginRepositories> + + + <!-- who the developers are for the project --> + <developers> + <!-- put my name first, so my email is used by the announcements-email + plugin --> + <developer> + <name>Roberto Lo Giacco</name> + <id>rlogiacco</id> + <email>rlo...@us...</email> + <organization>SmartLab</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Felipe Leme</name> + <id>felipeal</id> + <email>db...@fe...</email> + <organization>Falcon Informatica</organization> + <timezone>-3</timezone> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Benjamin Cox</name> + <id>bdrum</id> + <roles> + <role>Java Developer</role> + <!-- <role>Original Ant Task Contributor</role> --> + </roles> + </developer> + <developer> + <name>David Eric Pugh</name> + <id>dep4b</id> + <email>ep...@op...</email> + <organization>OpenSource Connections</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Federico Spinazzi</name> + <id>fspinazzi</id> + <email>f.s...@ma...</email> + <organization>Master House S.r.l</organization> + <roles> + <role>Java Developer</role> + <!-- <role>DB2 Contributor</role> --> + </roles> + </developer> + <developer> + <name>Manuel Laflamme</name> + <id>mlaflamm</id> + <organization>Oz Communication</organization> + <roles> + <role>Project Founder</role> + <!-- <role>Java Developer</role> --> + </roles> + </developer> + <developer> + <name>Timothy J. Ruppert</name> + <id>zieggy</id> + <roles> + <role>Java Developer</role> + <!-- <role>Original Ant Task Contributor</role> --> + </roles> + </developer> + <developer> + <name>Sebastien Le Callonnec</name> + <id>slecallonnec</id> + <email>sle...@us...</email> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Matthias Gommeringer</name> + <id>gommma</id> + <email>go...@us...</email> + <roles> + <role>Java Developer</role> + </roles> + </developer> + </developers> + + <contributors> + <contributor> + <name>Klas Axel</name> + <roles> + <role>HsqldbDataTypeFactory</role> + </roles> + </contributor> + <contributor> + <name>Erik Price</name> + <roles> + <role>DatabaseSequenceOperation</role> + </roles> + </contributor> + <contributor> + <name>Jeremy Stein</name> + <roles> + <role>InsertIndentityOperation</role> + </roles> + </contributor> + <contributor> + <name>Keven Kizer</name> + <roles> + <role>Early guinea pig</role> + </roles> + </contributor> + <contributor> + <name>Mike Bresnahan</name> + <roles> + <role>DbUnit evangelist</role> + </roles> + </contributor> + <contributor> + <name>Andres Almiray</name> + <email>aal...@us...</email> + <roles> + <role>IDatabaseTester creator</role> + </roles> + </contributor> + </contributors> + + + <dependencies> + + <!-- TODO: check which dependencies could marked as optional. + For instance, ant is optional because it's only necessary for the dbunit + Ant tasks. --> + + <!-- TODO: add exclusion for dependencies that include xerces/xalan --> + + <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.2</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>1.5.6</version> + </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + <version>3.2.1</version> + </dependency> + <dependency> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + <!-- TODO: range-> 1.5.3-1 + + <version>1.6.5</version> +--> + <version>1.5.4</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>3.2-FINAL</version> + <optional>true</optional> + </dependency> + + <dependency> + <groupId>junit-addons</groupId> + <artifactId>junit-addons</artifactId> + <version>1.4</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>mockobjects</groupId> + <artifactId>mockobjects-core</artifactId> + <version>0.07</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>mockmaker</groupId> + <artifactId>mmmockobjects</artifactId> + <version>1.12.0</version> + <scope>test</scope> + </dependency> + <!-- TODO: check why follow dependency is necessary --> + <dependency> + <groupId>mockobjects</groupId> + <artifactId>mockobjects-jdk1.3</artifactId> + <version>0.07</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.1</version> + <scope>test</scope> + </dependency> + <dependency> + <!-- Only needed when "profile.properties" is set to "derby" environment --> + <groupId>org.apache.derby</groupId> + <artifactId>derby</artifactId> + <version>10.4.1.3</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>gsbase</groupId> + <artifactId>gsbase</artifactId> + <version>2.0.1</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-nop</artifactId> + <version>1.5.6</version> + <scope>runtime</scope> + <optional>true</optional> + </dependency> + + </dependencies> + + <build> + <defaultGoal>install</defaultGoal> + <sourceDirectory>src/java</sourceDirectory> + <testSourceDirectory>src/test</testSourceDirectory> + + <!-- TODO: move to M2's expected path and separate java from test + (once SCM is migrated to SVN...) --> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>LICENSE.txt</include> + </includes> + </resource> + <resource> + <directory>src/java</directory> + <includes> + <include>**/dataset.dtd</include> + </includes> + </resource> + <resource> + <directory>src/csv</directory> + <includes> + <include>**/cvs-tests.properties</include> + </includes> + </resource> + + </resources> + <!-- TODO: that are some resources on src that should be on test... + + <testResources> + <testResource> + </testResource> + </testResources> +--> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- In some machines (at least on mine :-(, running AllTests is much +faster then running all tests, but there is not guarantee that all tests will +be run (i.e., a developer could create a new test file and forget to add it to +AllTests) + <includes> + <include>org/dbunit/AllTests.java</include> + </includes> + --> + <excludes> + <exclude>**/Abstract*.java</exclude> + </excludes> + <includes> + <include>**/*Test.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${compileSource}</source> + <target>${compileSource}</target> + <compilerVersion>${compileSource}</compilerVersion> + <!-- TODO somehow we must ensure that the used rt.jar is really a 1.4 and not higher, also for continuous integration --> + <!--<executable>${JAVA_1_4_HOME}/bin/javac</executable>--> + <debug>true</debug> + <fork>true</fork> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <goals>javadoc:javadoc source:jar javadoc:jar deploy site changes:announcement-generate assembly:assembly</goals> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <includes> + <include>/LICENSE.txt</include> + <include>**</include> + </includes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>assembly.xml</descriptor> + </descriptors> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <!-- basic reports - available to all plugins --> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + </plugin> +<!-- <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin>--> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <configLocation>checkstyle.xml</configLocation> + <argLine>-Xmx512m -Xms128m</argLine> + </configuration> + </plugin> + <!-- Generate "PMD" and "CPD" reports --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <linkXref>true</linkXref> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>${compileSource}</targetJdk> + </configuration> + </plugin> + <!-- Generate "JDepend" report --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <destDir>apidocs</destDir> + <quiet>true</quiet> + <stylesheet>maven</stylesheet> + <tags> + <tag> + <name>TODO</name> + <placement>a</placement> + <head>To do:</head> + </tag> + </tags> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <version>2.0</version> + <configuration> + <smtpHost>localhost</smtpHost> + <smtpPort implementation="java.lang.Integer">25</smtpPort> + <introduction>If you are reading this, the maintainer forgot to descrive what's the purpose of this release!!!</introduction> + <toAddresses> + <toAddress implementation="java.lang.String">dbu...@li...</toAddress> + <toAddress implementation="java.lang.String">dbu...@li...</toAddress> + </toAddresses> + <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload> + <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> +<!-- <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate> --> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + <report>license</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + + <distributionManagement> + <snapshotRepository> + <id>sourceforge</id> + <name>SourceForge Snapshots Repo</name> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url> + </snapshotRepository> + <repository> + <id>sourceforge</id> + <name>SourceForge Releases Repo</name> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url> + </repository> + <site> + <id>sourceforge</id> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs</url> + </site> + </distributionManagement> + + <profiles> + <profile> + <id>official</id> + <dependencies> + <dependency> + <groupId>javax.sql</groupId> + <artifactId>jdbc-stdext</artifactId> + <version>2.0</version> + <optional>true</optional> + </dependency> + </dependencies> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${compileSource}</source> + <target>${compileSource}</target> + <compilerVersion>${compileSource}</compilerVersion> + <executable>${JAVA_1_4_HOME}/bin/javac</executable> + <debug>true</debug> + <fork>true</fork> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changelog-plugin</artifactId> + </plugin> + </plugins> + </reporting> + </profile> + </profiles> + +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2009-01-20 08:33:47
|
Revision: 943 http://dbunit.svn.sourceforge.net/dbunit/?rev=943&view=rev Author: rlogiacco Date: 2009-01-20 08:33:37 +0000 (Tue, 20 Jan 2009) Log Message: ----------- [maven-release-plugin] prepare release dbunit-2.4.3 Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2009-01-17 21:40:51 UTC (rev 942) +++ trunk/pom.xml 2009-01-20 08:33:37 UTC (rev 943) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.4.3-SNAPSHOT</version> + <version>2.4.3</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> @@ -23,9 +23,9 @@ <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> </properties> <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.4.3</url> </scm> <issueManagement> <system>SourceForge</system> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-12-21 11:26:17
|
Revision: 925 http://dbunit.svn.sourceforge.net/dbunit/?rev=925&view=rev Author: rlogiacco Date: 2008-12-21 11:26:11 +0000 (Sun, 21 Dec 2008) Log Message: ----------- updated site upon release Modified Paths: -------------- trunk/src/changes/changes.xml trunk/src/site/xdoc/index.xml Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-12-17 22:01:38 UTC (rev 924) +++ trunk/src/changes/changes.xml 2008-12-21 11:26:11 UTC (rev 925) @@ -8,7 +8,7 @@ </properties> <body> - <release version="2.4.2" date="Dec 08, 2008" description="Bugfixes, some small additions"> + <release version="2.4.2" date="Dec 17, 2008" description="Bugfixes, some small additions"> <action dev="gommma" type="fix" issue="2356800" due-to="jeremy_finney">Cannot extract contents of table with a column named "AS"</action> <action dev="gommma" type="fix" issue="2382766" due-to="dacota">MySQL case sensitive problem in dataset creation</action> <action dev="gommma" type="add" issue="2390557" due-to="gommma">Add StringIgnoreCase DataType</action> Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2008-12-17 22:01:38 UTC (rev 924) +++ trunk/src/site/xdoc/index.xml 2008-12-21 11:26:11 UTC (rev 925) @@ -26,10 +26,14 @@ <section name="News"> <table border="1"> <tr> - <td>2008-12-08</td> + <td>2008-12-17</td> <td>Some other fixes and a additions have been released. Here a detailed <a href="changes-report.html#a2.4.2">changes</a> report.</td> </tr> <tr> + <td>2008-12-15</td> + <td>Another Open Source project named <a href="http://jailer.sourceforge.net">Jailer</a> has added support for the DbUnit flat XML dataset file format. The integration provided by the Jailer project allows easy data sharing between the two projects. Well done Ralf!</td> + </tr> + <tr> <td>2008-12-03</td> <td>Previous version introduced a bug on Oracle-based tests, so we are proud to announce a quick new version (2.4.1) that fixes it. More information in the <a href="changes-report.html#a2.4.1">changes</a>.</td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-12-17 22:01:43
|
Revision: 924 http://dbunit.svn.sourceforge.net/dbunit/?rev=924&view=rev Author: rlogiacco Date: 2008-12-17 22:01:38 +0000 (Wed, 17 Dec 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-12-17 22:01:27 UTC (rev 923) +++ trunk/pom.xml 2008-12-17 22:01:38 UTC (rev 924) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.4.2</version> + <version>2.4.3-SNAPSHOT</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> @@ -23,9 +23,9 @@ <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> </properties> <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</url> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> </scm> <issueManagement> <system>SourceForge</system> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-12-17 22:01:32
|
Revision: 923 http://dbunit.svn.sourceforge.net/dbunit/?rev=923&view=rev Author: rlogiacco Date: 2008-12-17 22:01:27 +0000 (Wed, 17 Dec 2008) Log Message: ----------- [maven-release-plugin] copy for tag release-2.4.2 Added Paths: ----------- tags/release-2.4.2/ tags/release-2.4.2/pom.xml Removed Paths: ------------- tags/release-2.4.2/pom.xml Deleted: tags/release-2.4.2/pom.xml =================================================================== --- trunk/pom.xml 2008-12-08 21:15:54 UTC (rev 919) +++ tags/release-2.4.2/pom.xml 2008-12-17 22:01:27 UTC (rev 923) @@ -1,579 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<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>org.dbunit</groupId> - <artifactId>dbunit</artifactId> - <packaging>jar</packaging> - <version>2.4.2-SNAPSHOT</version> - <name>DbUnit Framework</name> - <url>http://dbunit.sourceforge.net</url> - <inceptionYear>2002</inceptionYear> - <description> - DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. - </description> - <licenses> - <license> - <name>GNU Lesser General Public License, Version 2.1</name> - <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> - <distribution>repo</distribution> - </license> - </licenses> - <properties> - <compileSource>1.4</compileSource> - <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> - </properties> - <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> - </scm> - <issueManagement> - <system>SourceForge</system> - <url>http://sourceforge.net/tracker/?group_id=47439</url> - </issueManagement> - <ciManagement> - <system>parabuild</system> - <url><![CDATA[ - http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=30 - ]]></url> - <notifiers> - <notifier> - <type>mail</type> - <sendOnError>true</sendOnError> - <sendOnFailure>false</sendOnFailure> - <sendOnSuccess>false</sendOnSuccess> - <sendOnWarning>false</sendOnWarning> - <configuration> - <address>go...@us...</address> - </configuration> - </notifier> - </notifiers> - </ciManagement> - <mailingLists> - <mailingList> - <name>DbUnit User List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-user</archive> - </mailingList> - <mailingList> - <name>DbUnit Developer List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-developer</archive> - </mailingList> - <mailingList> - <name>DbUnit SVN Commit List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-commit</archive> - </mailingList> - </mailingLists> - - <pluginRepositories> - <!-- - <pluginRepository> - <id>snapshots</id> - <url>http://people.apache.org/repo/m2-snapshot-repository/</url> - </pluginRepository> - --> - </pluginRepositories> - - - <!-- who the developers are for the project --> - <developers> - <!-- put my name first, so my email is used by the announcements-email - plugin --> - <developer> - <name>Roberto Lo Giacco</name> - <id>rlogiacco</id> - <email>rlo...@us...</email> - <organization>SmartLab</organization> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Felipe Leme</name> - <id>felipeal</id> - <email>db...@fe...</email> - <organization>Falcon Informatica</organization> - <timezone>-3</timezone> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Benjamin Cox</name> - <id>bdrum</id> - <roles> - <role>Java Developer</role> - <!-- <role>Original Ant Task Contributor</role> --> - </roles> - </developer> - <developer> - <name>David Eric Pugh</name> - <id>dep4b</id> - <email>ep...@op...</email> - <organization>OpenSource Connections</organization> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Federico Spinazzi</name> - <id>fspinazzi</id> - <email>f.s...@ma...</email> - <organization>Master House S.r.l</organization> - <roles> - <role>Java Developer</role> - <!-- <role>DB2 Contributor</role> --> - </roles> - </developer> - <developer> - <name>Manuel Laflamme</name> - <id>mlaflamm</id> - <organization>Oz Communication</organization> - <roles> - <role>Project Founder</role> - <!-- <role>Java Developer</role> --> - </roles> - </developer> - <developer> - <name>Timothy J. Ruppert</name> - <id>zieggy</id> - <roles> - <role>Java Developer</role> - <!-- <role>Original Ant Task Contributor</role> --> - </roles> - </developer> - <developer> - <name>Sebastien Le Callonnec</name> - <id>slecallonnec</id> - <email>sle...@us...</email> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Matthias Gommeringer</name> - <id>gommma</id> - <email>go...@us...</email> - <roles> - <role>Java Developer</role> - </roles> - </developer> - </developers> - - <contributors> - <contributor> - <name>Klas Axel</name> - <roles> - <role>HsqldbDataTypeFactory</role> - </roles> - </contributor> - <contributor> - <name>Erik Price</name> - <roles> - <role>DatabaseSequenceOperation</role> - </roles> - </contributor> - <contributor> - <name>Jeremy Stein</name> - <roles> - <role>InsertIndentityOperation</role> - </roles> - </contributor> - <contributor> - <name>Keven Kizer</name> - <roles> - <role>Early guinea pig</role> - </roles> - </contributor> - <contributor> - <name>Mike Bresnahan</name> - <roles> - <role>DbUnit evangelist</role> - </roles> - </contributor> - <contributor> - <name>Andres Almiray</name> - <email>aal...@us...</email> - <roles> - <role>IDatabaseTester creator</role> - </roles> - </contributor> - </contributors> - - - <dependencies> - - <!-- TODO: check which dependencies could marked as optional. - For instance, ant is optional because it's only necessary for the dbunit - Ant tasks. --> - - <!-- TODO: add exclusion for dependencies that include xerces/xalan --> - - <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.2</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>1.5.6</version> - </dependency> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>3.2.1</version> - </dependency> - <dependency> - <groupId>ant</groupId> - <artifactId>ant</artifactId> - <!-- TODO: range-> 1.5.3-1 + - <version>1.6.5</version> ---> - <version>1.5.4</version> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi</artifactId> - <version>3.2-FINAL</version> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>junit-addons</groupId> - <artifactId>junit-addons</artifactId> - <version>1.4</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>mockobjects</groupId> - <artifactId>mockobjects-core</artifactId> - <version>0.07</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>mockmaker</groupId> - <artifactId>mmmockobjects</artifactId> - <version>1.12.0</version> - <scope>test</scope> - </dependency> - <!-- TODO: check why follow dependency is necessary --> - <dependency> - <groupId>mockobjects</groupId> - <artifactId>mockobjects-jdk1.3</artifactId> - <version>0.07</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>hsqldb</groupId> - <artifactId>hsqldb</artifactId> - <version>1.8.0.1</version> - <scope>test</scope> - </dependency> - <dependency> - <!-- Only needed when "profile.properties" is set to "derby" environment --> - <groupId>org.apache.derby</groupId> - <artifactId>derby</artifactId> - <version>10.4.1.3</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>gsbase</groupId> - <artifactId>gsbase</artifactId> - <version>2.0.1</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-nop</artifactId> - <version>1.5.6</version> - <scope>runtime</scope> - <optional>true</optional> - </dependency> - - </dependencies> - - <build> - <defaultGoal>install</defaultGoal> - <sourceDirectory>src/java</sourceDirectory> - <testSourceDirectory>src/test</testSourceDirectory> - - <!-- TODO: move to M2's expected path and separate java from test - (once SCM is migrated to SVN...) --> - <resources> - <resource> - <directory>.</directory> - <includes> - <include>LICENSE.txt</include> - </includes> - </resource> - <resource> - <directory>src/java</directory> - <includes> - <include>**/dataset.dtd</include> - </includes> - </resource> - <resource> - <directory>src/csv</directory> - <includes> - <include>**/cvs-tests.properties</include> - </includes> - </resource> - - </resources> - <!-- TODO: that are some resources on src that should be on test... - - <testResources> - <testResource> - </testResource> - </testResources> ---> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <!-- In some machines (at least on mine :-(, running AllTests is much -faster then running all tests, but there is not guarantee that all tests will -be run (i.e., a developer could create a new test file and forget to add it to -AllTests) - <includes> - <include>org/dbunit/AllTests.java</include> - </includes> - --> - <excludes> - <exclude>**/Abstract*.java</exclude> - </excludes> - <includes> - <include>**/*Test.java</include> - </includes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${compileSource}</source> - <target>${compileSource}</target> - <compilerVersion>${compileSource}</compilerVersion> - <!-- TODO somehow we must ensure that the used rt.jar is really a 1.4 and not higher, also for continuous integration --> - <!--<executable>${JAVA_1_4_HOME}/bin/javac</executable>--> - <debug>true</debug> - <fork>true</fork> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-release-plugin</artifactId> - <configuration> - <goals>javadoc:javadoc source:jar javadoc:jar deploy site changes:announcement-generate assembly:assembly</goals> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <includes> - <include>/LICENSE.txt</include> - <include>**</include> - </includes> - </configuration> - </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <descriptors> - <descriptor>assembly.xml</descriptor> - </descriptors> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <!-- basic reports - available to all plugins --> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <configuration> - <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - </plugin> -<!-- <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin>--> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>checkstyle.xml</configLocation> - <argLine>-Xmx512m -Xms128m</argLine> - </configuration> - </plugin> - <!-- Generate "PMD" and "CPD" reports --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <configuration> - <linkXref>true</linkXref> - <sourceEncoding>utf-8</sourceEncoding> - <minimumTokens>100</minimumTokens> - <targetJdk>${compileSource}</targetJdk> - </configuration> - </plugin> - <!-- Generate "JDepend" report --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jdepend-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <destDir>apidocs</destDir> - <quiet>true</quiet> - <stylesheet>maven</stylesheet> - <tags> - <tag> - <name>TODO</name> - <placement>a</placement> - <head>To do:</head> - </tag> - </tags> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <version>2.0</version> - <configuration> - <smtpHost>localhost</smtpHost> - <smtpPort implementation="java.lang.Integer">25</smtpPort> - <introduction>If you are reading this, the maintainer forgot to descrive what's the purpose of this release!!!</introduction> - <toAddresses> - <toAddress implementation="java.lang.String">dbu...@li...</toAddress> - <toAddress implementation="java.lang.String">dbu...@li...</toAddress> - </toAddresses> - <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload> - <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> -<!-- <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate> --> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - <report>license</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> - - <distributionManagement> - <snapshotRepository> - <id>sourceforge</id> - <name>SourceForge Snapshots Repo</name> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url> - </snapshotRepository> - <repository> - <id>sourceforge</id> - <name>SourceForge Releases Repo</name> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url> - </repository> - <site> - <id>sourceforge</id> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs</url> - </site> - </distributionManagement> - - <profiles> - <profile> - <id>official</id> - <dependencies> - <dependency> - <groupId>javax.sql</groupId> - <artifactId>jdbc-stdext</artifactId> - <version>2.0</version> - <optional>true</optional> - </dependency> - </dependencies> - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${compileSource}</source> - <target>${compileSource}</target> - <compilerVersion>${compileSource}</compilerVersion> - <executable>${JAVA_1_4_HOME}/bin/javac</executable> - <debug>true</debug> - <fork>true</fork> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <configuration> - <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changelog-plugin</artifactId> - </plugin> - </plugins> - </reporting> - </profile> - </profiles> - -</project> Copied: tags/release-2.4.2/pom.xml (from rev 922, trunk/pom.xml) =================================================================== --- tags/release-2.4.2/pom.xml (rev 0) +++ tags/release-2.4.2/pom.xml 2008-12-17 22:01:27 UTC (rev 923) @@ -0,0 +1,579 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<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>org.dbunit</groupId> + <artifactId>dbunit</artifactId> + <packaging>jar</packaging> + <version>2.4.2</version> + <name>DbUnit Framework</name> + <url>http://dbunit.sourceforge.net</url> + <inceptionYear>2002</inceptionYear> + <description> + DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. + </description> + <licenses> + <license> + <name>GNU Lesser General Public License, Version 2.1</name> + <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + <properties> + <compileSource>1.4</compileSource> + <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> + </properties> + <scm> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</url> + </scm> + <issueManagement> + <system>SourceForge</system> + <url>http://sourceforge.net/tracker/?group_id=47439</url> + </issueManagement> + <ciManagement> + <system>parabuild</system> + <url><![CDATA[ + http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=30 + ]]></url> + <notifiers> + <notifier> + <type>mail</type> + <sendOnError>true</sendOnError> + <sendOnFailure>false</sendOnFailure> + <sendOnSuccess>false</sendOnSuccess> + <sendOnWarning>false</sendOnWarning> + <configuration> + <address>go...@us...</address> + </configuration> + </notifier> + </notifiers> + </ciManagement> + <mailingLists> + <mailingList> + <name>DbUnit User List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-user</archive> + </mailingList> + <mailingList> + <name>DbUnit Developer List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-developer</archive> + </mailingList> + <mailingList> + <name>DbUnit SVN Commit List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-commit</archive> + </mailingList> + </mailingLists> + + <pluginRepositories> + <!-- + <pluginRepository> + <id>snapshots</id> + <url>http://people.apache.org/repo/m2-snapshot-repository/</url> + </pluginRepository> + --> + </pluginRepositories> + + + <!-- who the developers are for the project --> + <developers> + <!-- put my name first, so my email is used by the announcements-email + plugin --> + <developer> + <name>Roberto Lo Giacco</name> + <id>rlogiacco</id> + <email>rlo...@us...</email> + <organization>SmartLab</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Felipe Leme</name> + <id>felipeal</id> + <email>db...@fe...</email> + <organization>Falcon Informatica</organization> + <timezone>-3</timezone> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Benjamin Cox</name> + <id>bdrum</id> + <roles> + <role>Java Developer</role> + <!-- <role>Original Ant Task Contributor</role> --> + </roles> + </developer> + <developer> + <name>David Eric Pugh</name> + <id>dep4b</id> + <email>ep...@op...</email> + <organization>OpenSource Connections</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Federico Spinazzi</name> + <id>fspinazzi</id> + <email>f.s...@ma...</email> + <organization>Master House S.r.l</organization> + <roles> + <role>Java Developer</role> + <!-- <role>DB2 Contributor</role> --> + </roles> + </developer> + <developer> + <name>Manuel Laflamme</name> + <id>mlaflamm</id> + <organization>Oz Communication</organization> + <roles> + <role>Project Founder</role> + <!-- <role>Java Developer</role> --> + </roles> + </developer> + <developer> + <name>Timothy J. Ruppert</name> + <id>zieggy</id> + <roles> + <role>Java Developer</role> + <!-- <role>Original Ant Task Contributor</role> --> + </roles> + </developer> + <developer> + <name>Sebastien Le Callonnec</name> + <id>slecallonnec</id> + <email>sle...@us...</email> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Matthias Gommeringer</name> + <id>gommma</id> + <email>go...@us...</email> + <roles> + <role>Java Developer</role> + </roles> + </developer> + </developers> + + <contributors> + <contributor> + <name>Klas Axel</name> + <roles> + <role>HsqldbDataTypeFactory</role> + </roles> + </contributor> + <contributor> + <name>Erik Price</name> + <roles> + <role>DatabaseSequenceOperation</role> + </roles> + </contributor> + <contributor> + <name>Jeremy Stein</name> + <roles> + <role>InsertIndentityOperation</role> + </roles> + </contributor> + <contributor> + <name>Keven Kizer</name> + <roles> + <role>Early guinea pig</role> + </roles> + </contributor> + <contributor> + <name>Mike Bresnahan</name> + <roles> + <role>DbUnit evangelist</role> + </roles> + </contributor> + <contributor> + <name>Andres Almiray</name> + <email>aal...@us...</email> + <roles> + <role>IDatabaseTester creator</role> + </roles> + </contributor> + </contributors> + + + <dependencies> + + <!-- TODO: check which dependencies could marked as optional. + For instance, ant is optional because it's only necessary for the dbunit + Ant tasks. --> + + <!-- TODO: add exclusion for dependencies that include xerces/xalan --> + + <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.2</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>1.5.6</version> + </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + <version>3.2.1</version> + </dependency> + <dependency> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + <!-- TODO: range-> 1.5.3-1 + + <version>1.6.5</version> +--> + <version>1.5.4</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>3.2-FINAL</version> + <optional>true</optional> + </dependency> + + <dependency> + <groupId>junit-addons</groupId> + <artifactId>junit-addons</artifactId> + <version>1.4</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>mockobjects</groupId> + <artifactId>mockobjects-core</artifactId> + <version>0.07</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>mockmaker</groupId> + <artifactId>mmmockobjects</artifactId> + <version>1.12.0</version> + <scope>test</scope> + </dependency> + <!-- TODO: check why follow dependency is necessary --> + <dependency> + <groupId>mockobjects</groupId> + <artifactId>mockobjects-jdk1.3</artifactId> + <version>0.07</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.1</version> + <scope>test</scope> + </dependency> + <dependency> + <!-- Only needed when "profile.properties" is set to "derby" environment --> + <groupId>org.apache.derby</groupId> + <artifactId>derby</artifactId> + <version>10.4.1.3</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>gsbase</groupId> + <artifactId>gsbase</artifactId> + <version>2.0.1</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-nop</artifactId> + <version>1.5.6</version> + <scope>runtime</scope> + <optional>true</optional> + </dependency> + + </dependencies> + + <build> + <defaultGoal>install</defaultGoal> + <sourceDirectory>src/java</sourceDirectory> + <testSourceDirectory>src/test</testSourceDirectory> + + <!-- TODO: move to M2's expected path and separate java from test + (once SCM is migrated to SVN...) --> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>LICENSE.txt</include> + </includes> + </resource> + <resource> + <directory>src/java</directory> + <includes> + <include>**/dataset.dtd</include> + </includes> + </resource> + <resource> + <directory>src/csv</directory> + <includes> + <include>**/cvs-tests.properties</include> + </includes> + </resource> + + </resources> + <!-- TODO: that are some resources on src that should be on test... + + <testResources> + <testResource> + </testResource> + </testResources> +--> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- In some machines (at least on mine :-(, running AllTests is much +faster then running all tests, but there is not guarantee that all tests will +be run (i.e., a developer could create a new test file and forget to add it to +AllTests) + <includes> + <include>org/dbunit/AllTests.java</include> + </includes> + --> + <excludes> + <exclude>**/Abstract*.java</exclude> + </excludes> + <includes> + <include>**/*Test.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${compileSource}</source> + <target>${compileSource}</target> + <compilerVersion>${compileSource}</compilerVersion> + <!-- TODO somehow we must ensure that the used rt.jar is really a 1.4 and not higher, also for continuous integration --> + <!--<executable>${JAVA_1_4_HOME}/bin/javac</executable>--> + <debug>true</debug> + <fork>true</fork> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <goals>javadoc:javadoc source:jar javadoc:jar deploy site changes:announcement-generate assembly:assembly</goals> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <includes> + <include>/LICENSE.txt</include> + <include>**</include> + </includes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>assembly.xml</descriptor> + </descriptors> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <!-- basic reports - available to all plugins --> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + </plugin> +<!-- <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin>--> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <configLocation>checkstyle.xml</configLocation> + <argLine>-Xmx512m -Xms128m</argLine> + </configuration> + </plugin> + <!-- Generate "PMD" and "CPD" reports --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <linkXref>true</linkXref> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>${compileSource}</targetJdk> + </configuration> + </plugin> + <!-- Generate "JDepend" report --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <destDir>apidocs</destDir> + <quiet>true</quiet> + <stylesheet>maven</stylesheet> + <tags> + <tag> + <name>TODO</name> + <placement>a</placement> + <head>To do:</head> + </tag> + </tags> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <version>2.0</version> + <configuration> + <smtpHost>localhost</smtpHost> + <smtpPort implementation="java.lang.Integer">25</smtpPort> + <introduction>If you are reading this, the maintainer forgot to descrive what's the purpose of this release!!!</introduction> + <toAddresses> + <toAddress implementation="java.lang.String">dbu...@li...</toAddress> + <toAddress implementation="java.lang.String">dbu...@li...</toAddress> + </toAddresses> + <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload> + <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> +<!-- <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate> --> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + <report>license</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + + <distributionManagement> + <snapshotRepository> + <id>sourceforge</id> + <name>SourceForge Snapshots Repo</name> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url> + </snapshotRepository> + <repository> + <id>sourceforge</id> + <name>SourceForge Releases Repo</name> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url> + </repository> + <site> + <id>sourceforge</id> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs</url> + </site> + </distributionManagement> + + <profiles> + <profile> + <id>official</id> + <dependencies> + <dependency> + <groupId>javax.sql</groupId> + <artifactId>jdbc-stdext</artifactId> + <version>2.0</version> + <optional>true</optional> + </dependency> + </dependencies> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${compileSource}</source> + <target>${compileSource}</target> + <compilerVersion>${compileSource}</compilerVersion> + <executable>${JAVA_1_4_HOME}/bin/javac</executable> + <debug>true</debug> + <fork>true</fork> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changelog-plugin</artifactId> + </plugin> + </plugins> + </reporting> + </profile> + </profiles> + +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-12-17 22:01:08
|
Revision: 922 http://dbunit.svn.sourceforge.net/dbunit/?rev=922&view=rev Author: rlogiacco Date: 2008-12-17 22:01:03 +0000 (Wed, 17 Dec 2008) Log Message: ----------- [maven-release-plugin] prepare release release-2.4.2 Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-12-17 21:41:38 UTC (rev 921) +++ trunk/pom.xml 2008-12-17 22:01:03 UTC (rev 922) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.4.2-SNAPSHOT</version> + <version>2.4.2</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> @@ -23,9 +23,9 @@ <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> </properties> <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.2</url> </scm> <issueManagement> <system>SourceForge</system> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-12-08 21:15:57
|
Revision: 919 http://dbunit.svn.sourceforge.net/dbunit/?rev=919&view=rev Author: rlogiacco Date: 2008-12-08 21:15:54 +0000 (Mon, 08 Dec 2008) Log Message: ----------- preparing for next release Modified Paths: -------------- trunk/src/changes/changes.xml trunk/src/site/xdoc/index.xml Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-12-08 20:41:02 UTC (rev 918) +++ trunk/src/changes/changes.xml 2008-12-08 21:15:54 UTC (rev 919) @@ -8,7 +8,7 @@ </properties> <body> - <release version="2.4.2" date="TBD" description="Bugfixes, some small additions"> + <release version="2.4.2" date="Dec 08, 2008" description="Bugfixes, some small additions"> <action dev="gommma" type="fix" issue="2356800" due-to="jeremy_finney">Cannot extract contents of table with a column named "AS"</action> <action dev="gommma" type="fix" issue="2382766" due-to="dacota">MySQL case sensitive problem in dataset creation</action> <action dev="gommma" type="add" issue="2390557" due-to="gommma">Add StringIgnoreCase DataType</action> Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2008-12-08 20:41:02 UTC (rev 918) +++ trunk/src/site/xdoc/index.xml 2008-12-08 21:15:54 UTC (rev 919) @@ -26,6 +26,10 @@ <section name="News"> <table border="1"> <tr> + <td>2008-12-08</td> + <td>Some other fixes and a additions have been released. Here a detailed <a href="changes-report.html#a2.4.2">changes</a> report.</td> + </tr> + <tr> <td>2008-12-03</td> <td>Previous version introduced a bug on Oracle-based tests, so we are proud to announce a quick new version (2.4.1) that fixes it. More information in the <a href="changes-report.html#a2.4.1">changes</a>.</td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-12-03 16:46:19
|
Revision: 905 http://dbunit.svn.sourceforge.net/dbunit/?rev=905&view=rev Author: rlogiacco Date: 2008-12-03 16:46:14 +0000 (Wed, 03 Dec 2008) Log Message: ----------- Fixed minor typo in site home page Modified Paths: -------------- trunk/src/site/xdoc/index.xml Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2008-12-03 12:43:45 UTC (rev 904) +++ trunk/src/site/xdoc/index.xml 2008-12-03 16:46:14 UTC (rev 905) @@ -27,7 +27,7 @@ <table border="1"> <tr> <td>2008-12-03</td> - <td>Previous version introduced a bug on Oracle-based tests, so we are proud to announce a quick new version (2.4.1) that fixes it. More information in the <a href="changes-report.html#a2.4.0">changes</a>.</td> + <td>Previous version introduced a bug on Oracle-based tests, so we are proud to announce a quick new version (2.4.1) that fixes it. More information in the <a href="changes-report.html#a2.4.1">changes</a>.</td> </tr> <tr> <td>2008-11-27</td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-12-03 12:43:47
|
Revision: 904 http://dbunit.svn.sourceforge.net/dbunit/?rev=904&view=rev Author: felipeal Date: 2008-12-03 12:43:45 +0000 (Wed, 03 Dec 2008) Log Message: ----------- removed release_id from downloads link Modified Paths: -------------- trunk/src/site/site.xml Modified: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml 2008-12-03 12:04:12 UTC (rev 903) +++ trunk/src/site/site.xml 2008-12-03 12:43:45 UTC (rev 904) @@ -51,7 +51,7 @@ <menu name="Quick Links"> <item name="Maven 1.x Plugin" href="http://maven-plugins.sourceforge.net/maven-dbunit-plugin/index.html"/> <item name="Maven 2 Plugin" href="http://mojo.codehaus.org/dbunit-maven-plugin/"/> - <item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=242511"/> + <item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=47439"/> <item name="Changes" href="/changes-report.html"/> <item name="FAQ" href="/faq.html"/> <item name="Wiki" href="http://dbunit.wikidot.com/"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-12-03 12:04:16
|
Revision: 903 http://dbunit.svn.sourceforge.net/dbunit/?rev=903&view=rev Author: felipeal Date: 2008-12-03 12:04:12 +0000 (Wed, 03 Dec 2008) Log Message: ----------- changed version to 2.4.1; updated instructions Modified Paths: -------------- trunk/pom.xml trunk/src/changes/changes.xml trunk/src/site/apt/building.apt trunk/src/site/xdoc/index.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-12-02 20:28:54 UTC (rev 902) +++ trunk/pom.xml 2008-12-03 12:04:12 UTC (rev 903) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.4.1-SNAPSHOT</version> + <version>2.4.1</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-12-02 20:28:54 UTC (rev 902) +++ trunk/src/changes/changes.xml 2008-12-03 12:04:12 UTC (rev 903) @@ -4,100 +4,101 @@ <title>Changes</title> <author email="ep...@up...">Eric Pugh</author> <author email="mla...@us...">Manuel Laflamme</author> + <author email="db...@fe...">Felipe Leme</author> </properties> - <body> - <release version="2.4.1" date="TBD" description="Updates and bugfixes only"> - <action dev="gommma" type="update">Updated slf4j dependencies to version 1.5.6.</action> - <action dev="gommma" type="fix" issue="1628896" due-to="jeromevdl">No metadata Tables found</action> - <action dev="gommma" type="fix" issue="2356010">Oracle problem rel 2.4 in createQueryTable</action> - <action dev="gommma" type="fix" issue="2370993" due-to="schedinl">Cannot insert table data with self-reference in 2.4.0</action> - </release> - <release version="2.4.0" date="Nov 27, 2008" description="Some API changes, features added, bugfixes"> + <body> + <release version="2.4.1" date="Dec 03, 2008" description="Updates and bugfixes only"> + <action dev="gommma" type="update">Updated slf4j dependencies to version 1.5.6.</action> + <action dev="gommma" type="fix" issue="1628896" due-to="jeromevdl">No metadata Tables found</action> + <action dev="gommma" type="fix" issue="2356010">Oracle problem rel 2.4 in createQueryTable</action> + <action dev="gommma" type="fix" issue="2370993" due-to="schedinl">Cannot insert table data with self-reference in 2.4.0</action> + </release> + <release version="2.4.0" date="Nov 27, 2008" description="Some API changes, features added, bugfixes"> <action dev="felipeal" type="add" issue="2235876">Refactor Assertion class</action> <action dev="felipeal" type="fix" issue="2198914">When comparing empty tables, column info should be ignored</action> <action dev="felipeal" type="add" issue="2122413">Added "constants" for DatabaseOperation wrappers</action> - <action dev="gommma" type="update">ISearchAlgorithm.search returns strongly typed ListOrderedSet instead of a normal Set so that TableDependencyHelper can return tables in correct order. API change.</action> - <action dev="gommma" type="fix" issue="1628105" due-to="ozonobon">XmlWriter can't write nested CDATA sections</action> - <action dev="gommma" type="fix" issue="1464982" due-to="woollybarr">XMLType Support for Oracle - Again</action> - <action dev="gommma" type="fix" issue="2122773" due-to="mkejzar">QueryDataSet does not cache query results - Implies API change - new method IDatabaseConnection.createTable(String tableName)</action> - <action dev="gommma" type="update" issue="2132121">Fail-Fast if AmbiguousTableNames found</action> - <action dev="gommma" type="add" issue="1735092" due-to="stritti">[PATCH] Support Oracle SQLLoader files for datasets - refactored the CSV Pipeline infrastructure so that it can be reused for sqlldr files</action> - <action dev="gommma" type="update">Updated apache commons-collections from 3.1 to 3.2.1</action> - <action dev="gommma" type="fix" issue="1159489" due-to="srinirang">BigDecimal values read by XlsDataSet have wrong precision</action> - <action dev="gommma" type="add" issue="2148079">give tolerated delta as percentage in floating-point compare</action> - <action dev="gommma" type="remove" issue="2148099">Remove commons-lang dependency</action> - <action dev="gommma" type="update" issue="1180734" due-to="che---">DbUnitTask#createConnection</action> - <action dev="gommma" type="add" issue="1432308" due-to="hack">FlatDtdProducer does not support Element dataset ANY</action> - <action dev="gommma" type="fix" issue="1344618" due-to="ianjoyce">tinyint being ignored</action> - <action dev="gommma" type="fix" issue="1194928" due-to="rahulr">DBUnit does not recognise "Unsigned" INTEGER columns</action> - <action dev="gommma" type="fix" issue="1063128" due-to="djocal">FlatXMLdataSet counts 14 tables instead of 1 table of 14 row</action> - <action dev="gommma" type="fix" issue="2163902" due-to="olegc">Better reporting of extra columns in FlatXmlProducer</action> - <action dev="gommma" type="fix" issue="2163897" due-to="olegc">BufferedConsumer never cleans _allRows</action> - <action dev="gommma" type="fix" issue="2119648" due-to="powerlord">new SortedTable throws NoSuchColumnException</action> - <action dev="gommma" type="fix" issue="2122773" due-to="mkejzar">QueryDataSet does not cache query results</action> - <action dev="gommma" type="fix" issue="1214252" due-to="bilaco">problem because tableName is case insensitive</action> - <action dev="gommma" type="fix" issue="1531883" due-to="fordfrog">DatabaseSequenceFilter infinite loop on cyclic dependency</action> - <action dev="gommma" type="update">Performance improvement in Assertions.assertEquals(ITable expected, ITable actual) - Lookup the DataTypes for every column only once and not for every single row</action> - <action dev="gommma" type="fix" issue="2166291" due-to="lyrzine">Field forgot under insert step - enabled columnSensing feature for ant task when format "flat" is used</action> - <action dev="gommma" type="add" issue="1196357" due-to="ips_khanwale">Need a way to NOT pretty format xml</action> - <action dev="gommma" type="add" issue="2212329">Additional column info also for filtered columns</action> - <action dev="gommma" type="update" issue="1277038" due-to="lennymarks">QuerySet docs (includes little refactoring)</action> + <action dev="gommma" type="update">ISearchAlgorithm.search returns strongly typed ListOrderedSet instead of a normal Set so that TableDependencyHelper can return tables in correct order. API change.</action> + <action dev="gommma" type="fix" issue="1628105" due-to="ozonobon">XmlWriter can't write nested CDATA sections</action> + <action dev="gommma" type="fix" issue="1464982" due-to="woollybarr">XMLType Support for Oracle - Again</action> + <action dev="gommma" type="fix" issue="2122773" due-to="mkejzar">QueryDataSet does not cache query results - Implies API change - new method IDatabaseConnection.createTable(String tableName)</action> + <action dev="gommma" type="update" issue="2132121">Fail-Fast if AmbiguousTableNames found</action> + <action dev="gommma" type="add" issue="1735092" due-to="stritti">[PATCH] Support Oracle SQLLoader files for datasets - refactored the CSV Pipeline infrastructure so that it can be reused for sqlldr files</action> + <action dev="gommma" type="update">Updated apache commons-collections from 3.1 to 3.2.1</action> + <action dev="gommma" type="fix" issue="1159489" due-to="srinirang">BigDecimal values read by XlsDataSet have wrong precision</action> + <action dev="gommma" type="add" issue="2148079">give tolerated delta as percentage in floating-point compare</action> + <action dev="gommma" type="remove" issue="2148099">Remove commons-lang dependency</action> + <action dev="gommma" type="update" issue="1180734" due-to="che---">DbUnitTask#createConnection</action> + <action dev="gommma" type="add" issue="1432308" due-to="hack">FlatDtdProducer does not support Element dataset ANY</action> + <action dev="gommma" type="fix" issue="1344618" due-to="ianjoyce">tinyint being ignored</action> + <action dev="gommma" type="fix" issue="1194928" due-to="rahulr">DBUnit does not recognise "Unsigned" INTEGER columns</action> + <action dev="gommma" type="fix" issue="1063128" due-to="djocal">FlatXMLdataSet counts 14 tables instead of 1 table of 14 row</action> + <action dev="gommma" type="fix" issue="2163902" due-to="olegc">Better reporting of extra columns in FlatXmlProducer</action> + <action dev="gommma" type="fix" issue="2163897" due-to="olegc">BufferedConsumer never cleans _allRows</action> + <action dev="gommma" type="fix" issue="2119648" due-to="powerlord">new SortedTable throws NoSuchColumnException</action> + <action dev="gommma" type="fix" issue="2122773" due-to="mkejzar">QueryDataSet does not cache query results</action> + <action dev="gommma" type="fix" issue="1214252" due-to="bilaco">problem because tableName is case insensitive</action> + <action dev="gommma" type="fix" issue="1531883" due-to="fordfrog">DatabaseSequenceFilter infinite loop on cyclic dependency</action> + <action dev="gommma" type="update">Performance improvement in Assertions.assertEquals(ITable expected, ITable actual) - Lookup the DataTypes for every column only once and not for every single row</action> + <action dev="gommma" type="fix" issue="2166291" due-to="lyrzine">Field forgot under insert step - enabled columnSensing feature for ant task when format "flat" is used</action> + <action dev="gommma" type="add" issue="1196357" due-to="ips_khanwale">Need a way to NOT pretty format xml</action> + <action dev="gommma" type="add" issue="2212329">Additional column info also for filtered columns</action> + <action dev="gommma" type="update" issue="1277038" due-to="lennymarks">QuerySet docs (includes little refactoring)</action> <action dev="gommma" type="add" issue="2041400" due-to="moschen">add primaryKeyFilter-Property in ant</action> <action dev="gommma" type="add" issue="1371813" due-to="dsyer">Make configuration elements settable in ant (see 2041400)</action> <action dev="gommma" type="add" issue="1108976" due-to="matty70">Choose encoding for ant export task</action> <action dev="gommma" type="fix" issue="564041" due-to="james_a_woods">Share transaction with InsertIdentityOp.</action> - <action dev="gommma" type="fix" issue="1798605" due-to="gianasista">New Datatype MySqlDataTypeFactory</action> - <action dev="gommma" type="add" issue="1897627" due-to="felipeal">Remove JUnit dependency</action> - <action dev="gommma" type="add" issue="2241776">Provide the complete diff of 2 tables</action> - <action dev="gommma" type="fix" issue="2017635" due-to="paul0al">MySqlDataTypeFactory incorrectly maps TinyInt</action> - <action dev="gommma" type="fix" issue="2263530" due-to="alekssokolov">Excel processing error - update from POI-3.1-FINAL to POI-3.2-FINAL. Date values are read/written as Numeric values for now since the POI Date handling is not consistent (i.e. write Date and read the written Date do not provide equal Date objects).</action> - <action dev="gommma" type="fix" issue="2230097" due-to="stevensa">dataset generated with getAllDependentTables contradicts DTD</action> - <action dev="gommma" type="fix" issue="1644650" due-to="j_linz">MetaData get() are Pattern-Like</action> - <action dev="gommma" type="update" issue="1897620" due-to="felipeal">Improvements on HxxxxDataFactory</action> + <action dev="gommma" type="fix" issue="1798605" due-to="gianasista">New Datatype MySqlDataTypeFactory</action> + <action dev="gommma" type="add" issue="1897627" due-to="felipeal">Remove JUnit dependency</action> + <action dev="gommma" type="add" issue="2241776">Provide the complete diff of 2 tables</action> + <action dev="gommma" type="fix" issue="2017635" due-to="paul0al">MySqlDataTypeFactory incorrectly maps TinyInt</action> + <action dev="gommma" type="fix" issue="2263530" due-to="alekssokolov">Excel processing error - update from POI-3.1-FINAL to POI-3.2-FINAL. Date values are read/written as Numeric values for now since the POI Date handling is not consistent (i.e. write Date and read the written Date do not provide equal Date objects).</action> + <action dev="gommma" type="fix" issue="2230097" due-to="stevensa">dataset generated with getAllDependentTables contradicts DTD</action> + <action dev="gommma" type="fix" issue="1644650" due-to="j_linz">MetaData get() are Pattern-Like</action> + <action dev="gommma" type="update" issue="1897620" due-to="felipeal">Improvements on HxxxxDataFactory</action> </release> <release version="2.3.0" date="Sep 11, 2008" description="Some API changes, features added, bugfixes, performance improvements in assertions. See migration guide for additional help"> <action dev="slecallonnec" type="fix" issue="1968640">Trimming is now done on Excel column names to prevent NoSuchColumnException.</action> <action dev="rlogiacco" type="fix" issue="1981449" due-to="gommma">Patch for Bug #1421590 "Problem in data import if all the columns are not populated"</action> <action dev="slecallonnec" type="fix" issue="1975499" due-to="gommma">NoSuchColumnException now thrown when column name does not exist.</action> - <action dev="gommma" type="add" issue="1969355" due-to="ymenager">Patch: some extra comparison methods for Assertion.</action> + <action dev="gommma" type="add" issue="1969355" due-to="ymenager">Patch: some extra comparison methods for Assertion.</action> <action dev="gommma" type="add" issue="1966517">Assertion.equals to provide more info about failure</action> - <action dev="slecallonnec" type="fix" issue="1636182">StreamingDataSet.toString() now returning default value rather UnsupportedOperationException.</action> - <action dev="gommma" type="add" issue="1993243">Performance optimization getColumnIndex() - Implies API change: new method ITableMetaData.getColumnIndex</action> - <action dev="gommma" type="add" issue="1959771">Support RowFilter on ITable</action> + <action dev="slecallonnec" type="fix" issue="1636182">StreamingDataSet.toString() now returning default value rather UnsupportedOperationException.</action> + <action dev="gommma" type="add" issue="1993243">Performance optimization getColumnIndex() - Implies API change: new method ITableMetaData.getColumnIndex</action> + <action dev="gommma" type="add" issue="1959771">Support RowFilter on ITable</action> <action dev="gommma" type="add" issue="1961269">support for tolerated delta in floating-point comparisons - Implies API change: new method IDataTypeFactory.createDataType(int sqlType, String sqlTypeName, String tableName, String columnName)</action> - <action dev="slecallonnec" type="add">Added batchSize as a parameter.</action> - <action dev="gommma" type="add" issue="1358137" due-to="rinkrank">Excel support in Ant task</action> - <action dev="gommma" type="add" issue="1176380" due-to="easyproglife">Bad comparison in SortedTable</action> - <action dev="gommma" type="add">Added fetchSize as a parameter.</action> + <action dev="slecallonnec" type="add">Added batchSize as a parameter.</action> + <action dev="gommma" type="add" issue="1358137" due-to="rinkrank">Excel support in Ant task</action> + <action dev="gommma" type="add" issue="1176380" due-to="easyproglife">Bad comparison in SortedTable</action> + <action dev="gommma" type="add">Added fetchSize as a parameter.</action> <action dev="gommma" type="add" issue="1685474" due-to="jacobrobertson">ReplacementTable - allow fail if value not replaced</action> <action dev="slecallonnec" type="fix" issue="2009747">Fixing erroneous logger.error in BytesDataType.typeCast().</action> - <action dev="slecallonnec" type="add" issue="2004349" due-to="gommma">Refactoring of column-related methods.</action> - <action dev="gommma" type="fix" issue="2007635" due-to="phisf">TablesDependencyHelper with Oracle schema bug - Implies API change - the constructors of DatabaseConnection throw a DatabaseUnitException if the connection/schema are not valid</action> - <action dev="gommma" type="add" issue="2010546" due-to="damian_golda">Assertion: replace Assert.fail with ComparisonFailure</action> - <action dev="gommma" type="add" issue="2010567" due-to="damian_golda">Alternative support for CLOB and BLOB in Oracle 11 JDBC</action> - <action dev="gommma" type="fix" issue="1499591" due-to="loedolff">datatypeFactory documentation note needed</action> - <action dev="gommma" type="fix" issue="2014884" due-to="pasha_z">getAllDependentTables ORA-01000: maximum open cursors exceed</action> - <action dev="gommma" type="fix" issue="1746373" due-to="byte-error">getAllDependentTables didn't work with full qualified names </action> - <action dev="gommma" type="add">Added constructors to NoSuchColumnException taking table name and column name as arguments - set old constructors to deprecated</action> - <action dev="gommma" type="fix" issue="1789402" due-to="jondi">Exception in DTD generation - Implies API behaviour change. DatabaseTableMetaData.getColumns() does not throw a NoColumnsFoundExcepion anymore but returns an empty Column[] when a table does not have any dbunit-supported columns</action> - <action dev="gommma" type="add">Assertion.equals provides more information than just the column count when a column mismatch between expected and result tables was found. All columns are reported so that the user can see immediately which columns are missing</action> - <action dev="gommma" type="add">Write validation message when the configured IDataTypeFactory probably does not match to the current database system. The validation implicitly takes place when AbstractTableMetaData.getDataTypeFactory() is invoked.</action> - <action dev="gommma" type="add">Maven pom.xml updates: Added ciManagement section, added some plugins for reporting</action> - <action dev="gommma" type="fix" issue="1497369" due-to="bascan">Test error: testExportWithQuerySet</action> - <action dev="gommma" type="add" issue="2012491" due-to="rpuchkovskiy">Topological sorting of tables when exporting</action> - <action dev="gommma" type="fix" issue="2012495" due-to="rpuchkovskiy">Use DataType.BLOB instead of DataType.LONGVARBINARY</action> - <action dev="gommma" type="fix" due-to="rpuchkovskiy">DbUnit is only JDK 1.4 compatible and not 1.3 (as claimed until now). Several methods are in use that did not exist in JDK 1.3. To build with JDK 1.4 and maven it is now required to set the environment variable JAVA_1_4_HOME to your JDK 1.4 home directory</action> - <action dev="gommma" type="add" issue="2029693">Update apache POI to latest release (2.5.1 -> 3.1)</action> + <action dev="slecallonnec" type="add" issue="2004349" due-to="gommma">Refactoring of column-related methods.</action> + <action dev="gommma" type="fix" issue="2007635" due-to="phisf">TablesDependencyHelper with Oracle schema bug - Implies API change - the constructors of DatabaseConnection throw a DatabaseUnitException if the connection/schema are not valid</action> + <action dev="gommma" type="add" issue="2010546" due-to="damian_golda">Assertion: replace Assert.fail with ComparisonFailure</action> + <action dev="gommma" type="add" issue="2010567" due-to="damian_golda">Alternative support for CLOB and BLOB in Oracle 11 JDBC</action> + <action dev="gommma" type="fix" issue="1499591" due-to="loedolff">datatypeFactory documentation note needed</action> + <action dev="gommma" type="fix" issue="2014884" due-to="pasha_z">getAllDependentTables ORA-01000: maximum open cursors exceed</action> + <action dev="gommma" type="fix" issue="1746373" due-to="byte-error">getAllDependentTables didn't work with full qualified names </action> + <action dev="gommma" type="add">Added constructors to NoSuchColumnException taking table name and column name as arguments - set old constructors to deprecated</action> + <action dev="gommma" type="fix" issue="1789402" due-to="jondi">Exception in DTD generation - Implies API behaviour change. DatabaseTableMetaData.getColumns() does not throw a NoColumnsFoundExcepion anymore but returns an empty Column[] when a table does not have any dbunit-supported columns</action> + <action dev="gommma" type="add">Assertion.equals provides more information than just the column count when a column mismatch between expected and result tables was found. All columns are reported so that the user can see immediately which columns are missing</action> + <action dev="gommma" type="add">Write validation message when the configured IDataTypeFactory probably does not match to the current database system. The validation implicitly takes place when AbstractTableMetaData.getDataTypeFactory() is invoked.</action> + <action dev="gommma" type="add">Maven pom.xml updates: Added ciManagement section, added some plugins for reporting</action> + <action dev="gommma" type="fix" issue="1497369" due-to="bascan">Test error: testExportWithQuerySet</action> + <action dev="gommma" type="add" issue="2012491" due-to="rpuchkovskiy">Topological sorting of tables when exporting</action> + <action dev="gommma" type="fix" issue="2012495" due-to="rpuchkovskiy">Use DataType.BLOB instead of DataType.LONGVARBINARY</action> + <action dev="gommma" type="fix" due-to="rpuchkovskiy">DbUnit is only JDK 1.4 compatible and not 1.3 (as claimed until now). Several methods are in use that did not exist in JDK 1.3. To build with JDK 1.4 and maven it is now required to set the environment variable JAVA_1_4_HOME to your JDK 1.4 home directory</action> + <action dev="gommma" type="add" issue="2029693">Update apache POI to latest release (2.5.1 -> 3.1)</action> <action dev="gommma" type="fix" issue="1984596" due-to="bustuila">Inserting of clobs fails</action> <action dev="gommma" type="fix" issue="1214234" due-to="bilaco">method getRowCount don't use schema.</action> <action dev="gommma" type="fix" issue="1224643" due-to="bugmenot">Column count for empty XlsDataSet returns 0.</action> <action dev="gommma" type="fix" issue="948472" due-to="gmathijssen">Values with newlines cannot be compared with assertEquals.</action> <action dev="gommma" type="fix" issue="1031870" due-to="chadwl">Infinite wait in StreamingIterator.</action> - <action dev="gommma" type="fix" issue="1144269" due-to="berni123">Types.BOOLEAN not recognized.</action> - <action dev="gommma" type="add" issue="1448932" due-to="palsnagaraj">"compare" + "table" tag throw NoSuchTableException - added more information about the cause to the thrown exception.</action> - <action dev="gommma" type="fix" issue="1339675" due-to="vanhill21">DTD Creation and Parsing - throw meaningful exception if DTD ELEMENT declaration is missing.</action> - <action dev="gommma" type="add" issue="2059253" due-to="kornstaedt">Added more information in case of a wrong configured DataTypeFactory.</action> + <action dev="gommma" type="fix" issue="1144269" due-to="berni123">Types.BOOLEAN not recognized.</action> + <action dev="gommma" type="add" issue="1448932" due-to="palsnagaraj">"compare" + "table" tag throw NoSuchTableException - added more information about the cause to the thrown exception.</action> + <action dev="gommma" type="fix" issue="1339675" due-to="vanhill21">DTD Creation and Parsing - throw meaningful exception if DTD ELEMENT declaration is missing.</action> + <action dev="gommma" type="add" issue="2059253" due-to="kornstaedt">Added more information in case of a wrong configured DataTypeFactory.</action> </release> <release version="2.2.3" date="May 23, 2008" description="Bugfixing release"> <action dev="rlogiacco" type="fix" issue="1967969">Missing License file in distribution jars</action> @@ -111,7 +112,7 @@ <action dev="rlogiacco" type="fix" issue="1955929">junit jar-file should be JDK 1.4 compatible</action> <action dev="rlogiacco" type="fix" issue="1475565">Version 2.2-dev, Java 1.4 compatibility issue</action> <action dev="slecallonnec" type="fix" issue="1925603">Changed logger.error into logger.debug when the exception can be disregarded.</action> - <action dev="slecallonnec" type="fix" issue="1806363" due-to="Brian Atkinson">Fixed issue with CLOB datatype in Derby.</action> + <action dev="slecallonnec" type="fix" issue="1806363" due-to="Brian Atkinson">Fixed issue with CLOB datatype in Derby.</action> </release> <release version="2.2.1" date="March 17, 2008" description="Another official release after a long, long time..."> <action dev="rlogiacco" type="add">Added SLF4J dependency and logging statements</action> Modified: trunk/src/site/apt/building.apt =================================================================== --- trunk/src/site/apt/building.apt 2008-12-02 20:28:54 UTC (rev 902) +++ trunk/src/site/apt/building.apt 2008-12-03 12:04:12 UTC (rev 903) @@ -50,14 +50,15 @@ Maintenance tasks - The tasks described below describes how to maintain DbUnit. Some of these tasks will use <ssh> to upload files to SourceForge, so it is necessary to setup your environment to allow it (typically using <ssh-agent> - see more details on {{{http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1} SourceForge}}). + The tasks described below describes how to maintain DbUnit. Some of these tasks will use <ssh> to upload files to SourceForge, so it is necessary to setup your environment to allow it (typically using <ssh-agent> - see more details on {{{http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1} SourceForge}}). Also notice that in 2008 SourceForge changed the way it provides shell access, so you need to create a temporary shell for your user before using ssh (see instructions {{{http://people.apache.org/~baerrach/maven-site-plugin-2.0-beta-8-SNAPSHOT/examples/site-deploy-to-sourceforge.net.html} here}}. + Updating the repository and site Once new code is incorporated in the SVN code, it is necessary to update the Maven 2 repository with new snapshots, and also update the site. These 2 tasks can be done with a simple command: --- -mvn -Pofficial clean source:jar javadoc:jar deploy site:deploy +mvn -Pofficial clean source:jar javadoc:jar deploy site:site site:deploy --- Cutting a release Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2008-12-02 20:28:54 UTC (rev 902) +++ trunk/src/site/xdoc/index.xml 2008-12-03 12:04:12 UTC (rev 903) @@ -26,8 +26,12 @@ <section name="News"> <table border="1"> <tr> + <td>2008-12-03</td> + <td>Previous version introduced a bug on Oracle-based tests, so we are proud to announce a quick new version (2.4.1) that fixes it. More information in the <a href="changes-report.html#a2.4.0">changes</a>.</td> + </tr> + <tr> <td>2008-11-27</td> - <td>DbUnit development is very active and is proud to announce the 2.4.0 release! Here the <a href="changes-report.html#a2.4.0">changes</a>.</td> + <td>DbUnit development is very active and is proud to announce the 2.4.0 release! Here are the <a href="changes-report.html#a2.4.0">changes</a>.</td> </tr> <tr> <td>2008-09-11</td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-11-27 20:24:36
|
Revision: 891 http://dbunit.svn.sourceforge.net/dbunit/?rev=891&view=rev Author: rlogiacco Date: 2008-11-27 20:24:33 +0000 (Thu, 27 Nov 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-11-27 20:24:24 UTC (rev 890) +++ trunk/pom.xml 2008-11-27 20:24:33 UTC (rev 891) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.4.0</version> + <version>2.4.1-SNAPSHOT</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> @@ -23,9 +23,9 @@ <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> </properties> <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</url> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> </scm> <issueManagement> <system>SourceForge</system> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-11-27 20:24:28
|
Revision: 890 http://dbunit.svn.sourceforge.net/dbunit/?rev=890&view=rev Author: rlogiacco Date: 2008-11-27 20:24:24 +0000 (Thu, 27 Nov 2008) Log Message: ----------- [maven-release-plugin] copy for tag release-2.4.0 Added Paths: ----------- tags/release-2.4.0/ tags/release-2.4.0/pom.xml Removed Paths: ------------- tags/release-2.4.0/pom.xml Deleted: tags/release-2.4.0/pom.xml =================================================================== --- trunk/pom.xml 2008-11-27 19:37:05 UTC (rev 888) +++ tags/release-2.4.0/pom.xml 2008-11-27 20:24:24 UTC (rev 890) @@ -1,579 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<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>org.dbunit</groupId> - <artifactId>dbunit</artifactId> - <packaging>jar</packaging> - <version>2.4-SNAPSHOT</version> - <name>DbUnit Framework</name> - <url>http://dbunit.sourceforge.net</url> - <inceptionYear>2002</inceptionYear> - <description> - DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. - </description> - <licenses> - <license> - <name>GNU Lesser General Public License, Version 2.1</name> - <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> - <distribution>repo</distribution> - </license> - </licenses> - <properties> - <compileSource>1.4</compileSource> - <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> - </properties> - <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> - </scm> - <issueManagement> - <system>SourceForge</system> - <url>http://sourceforge.net/tracker/?group_id=47439</url> - </issueManagement> - <ciManagement> - <system>parabuild</system> - <url><![CDATA[ - http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=30 - ]]></url> - <notifiers> - <notifier> - <type>mail</type> - <sendOnError>true</sendOnError> - <sendOnFailure>false</sendOnFailure> - <sendOnSuccess>false</sendOnSuccess> - <sendOnWarning>false</sendOnWarning> - <configuration> - <address>go...@us...</address> - </configuration> - </notifier> - </notifiers> - </ciManagement> - <mailingLists> - <mailingList> - <name>DbUnit User List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-user</archive> - </mailingList> - <mailingList> - <name>DbUnit Developer List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-developer</archive> - </mailingList> - <mailingList> - <name>DbUnit SVN Commit List</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-commit</archive> - </mailingList> - </mailingLists> - - <pluginRepositories> - <!-- - <pluginRepository> - <id>snapshots</id> - <url>http://people.apache.org/repo/m2-snapshot-repository/</url> - </pluginRepository> - --> - </pluginRepositories> - - - <!-- who the developers are for the project --> - <developers> - <!-- put my name first, so my email is used by the announcements-email - plugin --> - <developer> - <name>Roberto Lo Giacco</name> - <id>rlogiacco</id> - <email>rlo...@us...</email> - <organization>SmartLab</organization> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Felipe Leme</name> - <id>felipeal</id> - <email>db...@fe...</email> - <organization>Falcon Informatica</organization> - <timezone>-3</timezone> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Benjamin Cox</name> - <id>bdrum</id> - <roles> - <role>Java Developer</role> - <!-- <role>Original Ant Task Contributor</role> --> - </roles> - </developer> - <developer> - <name>David Eric Pugh</name> - <id>dep4b</id> - <email>ep...@op...</email> - <organization>OpenSource Connections</organization> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Federico Spinazzi</name> - <id>fspinazzi</id> - <email>f.s...@ma...</email> - <organization>Master House S.r.l</organization> - <roles> - <role>Java Developer</role> - <!-- <role>DB2 Contributor</role> --> - </roles> - </developer> - <developer> - <name>Manuel Laflamme</name> - <id>mlaflamm</id> - <organization>Oz Communication</organization> - <roles> - <role>Project Founder</role> - <!-- <role>Java Developer</role> --> - </roles> - </developer> - <developer> - <name>Timothy J. Ruppert</name> - <id>zieggy</id> - <roles> - <role>Java Developer</role> - <!-- <role>Original Ant Task Contributor</role> --> - </roles> - </developer> - <developer> - <name>Sebastien Le Callonnec</name> - <id>slecallonnec</id> - <email>sle...@us...</email> - <roles> - <role>Java Developer</role> - </roles> - </developer> - <developer> - <name>Matthias Gommeringer</name> - <id>gommma</id> - <email>go...@us...</email> - <roles> - <role>Java Developer</role> - </roles> - </developer> - </developers> - - <contributors> - <contributor> - <name>Klas Axel</name> - <roles> - <role>HsqldbDataTypeFactory</role> - </roles> - </contributor> - <contributor> - <name>Erik Price</name> - <roles> - <role>DatabaseSequenceOperation</role> - </roles> - </contributor> - <contributor> - <name>Jeremy Stein</name> - <roles> - <role>InsertIndentityOperation</role> - </roles> - </contributor> - <contributor> - <name>Keven Kizer</name> - <roles> - <role>Early guinea pig</role> - </roles> - </contributor> - <contributor> - <name>Mike Bresnahan</name> - <roles> - <role>DbUnit evangelist</role> - </roles> - </contributor> - <contributor> - <name>Andres Almiray</name> - <email>aal...@us...</email> - <roles> - <role>IDatabaseTester creator</role> - </roles> - </contributor> - </contributors> - - - <dependencies> - - <!-- TODO: check which dependencies could marked as optional. - For instance, ant is optional because it's only necessary for the dbunit - Ant tasks. --> - - <!-- TODO: add exclusion for dependencies that include xerces/xalan --> - - <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.2</version> - </dependency> - - <dependency> - <groupId>junit-addons</groupId> - <artifactId>junit-addons</artifactId> - <version>1.4</version> - </dependency> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi</artifactId> - <version>3.2-FINAL</version> - </dependency> - <dependency> - <groupId>ant</groupId> - <artifactId>ant</artifactId> - <!-- TODO: range-> 1.5.3-1 + - <version>1.6.5</version> ---> - <version>1.5.4</version> - <optional>true</optional> - </dependency> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>3.2.1</version> - </dependency> - <dependency> - <groupId>mockobjects</groupId> - <artifactId>mockobjects-core</artifactId> - <version>0.07</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>mockmaker</groupId> - <artifactId>mmmockobjects</artifactId> - <version>1.12.0</version> - <scope>test</scope> - </dependency> - <!-- TODO: check why follow dependency is necessary --> - <dependency> - <groupId>mockobjects</groupId> - <artifactId>mockobjects-jdk1.3</artifactId> - <version>0.07</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>hsqldb</groupId> - <artifactId>hsqldb</artifactId> - <version>1.8.0.1</version> - <scope>test</scope> - </dependency> - <dependency> - <!-- Only needed when "profile.properties" is set to "derby" environment --> - <groupId>org.apache.derby</groupId> - <artifactId>derby</artifactId> - <version>10.4.1.3</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>gsbase</groupId> - <artifactId>gsbase</artifactId> - <version>2.0.1</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>1.4.3</version> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-nop</artifactId> - <version>1.4.3</version> - <scope>runtime</scope> - </dependency> - - </dependencies> - - <build> - <defaultGoal>install</defaultGoal> - <sourceDirectory>src/java</sourceDirectory> - <testSourceDirectory>src/test</testSourceDirectory> - - <!-- TODO: move to M2's expected path and separate java from test - (once SCM is migrated to SVN...) --> - <resources> - <resource> - <directory>.</directory> - <includes> - <include>LICENSE.txt</include> - </includes> - </resource> - <resource> - <directory>src/java</directory> - <includes> - <include>**/dataset.dtd</include> - </includes> - </resource> - <resource> - <directory>src/csv</directory> - <includes> - <include>**/cvs-tests.properties</include> - </includes> - </resource> - - </resources> - <!-- TODO: that are some resources on src that should be on test... - - <testResources> - <testResource> - </testResource> - </testResources> ---> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <!-- In some machines (at least on mine :-(, running AllTests is much -faster then running all tests, but there is not guarantee that all tests will -be run (i.e., a developer could create a new test file and forget to add it to -AllTests) - <includes> - <include>org/dbunit/AllTests.java</include> - </includes> - --> - <excludes> - <exclude>**/Abstract*.java</exclude> - </excludes> - <includes> - <include>**/*Test.java</include> - </includes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${compileSource}</source> - <target>${compileSource}</target> - <compilerVersion>${compileSource}</compilerVersion> - <!-- TODO somehow we must ensure that the used rt.jar is really a 1.4 and not higher, also for continuous integration --> - <!--<executable>${JAVA_1_4_HOME}/bin/javac</executable>--> - <debug>true</debug> - <fork>true</fork> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-release-plugin</artifactId> - <configuration> - <goals>javadoc:javadoc source:jar javadoc:jar deploy site changes:announcement-generate assembly:assembly</goals> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <includes> - <include>/LICENSE.txt</include> - <include>**</include> - </includes> - </configuration> - </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <descriptors> - <descriptor>assembly.xml</descriptor> - </descriptors> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <!-- basic reports - available to all plugins --> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <configuration> - <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - </plugin> -<!-- <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin>--> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>checkstyle.xml</configLocation> - <argLine>-Xmx512m -Xms128m</argLine> - </configuration> - </plugin> - <!-- Generate "PMD" and "CPD" reports --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <configuration> - <linkXref>true</linkXref> - <sourceEncoding>utf-8</sourceEncoding> - <minimumTokens>100</minimumTokens> - <targetJdk>${compileSource}</targetJdk> - </configuration> - </plugin> - <!-- Generate "JDepend" report --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jdepend-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <destDir>apidocs</destDir> - <quiet>true</quiet> - <stylesheet>maven</stylesheet> - <tags> - <tag> - <name>TODO</name> - <placement>a</placement> - <head>To do:</head> - </tag> - </tags> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <version>2.0</version> - <configuration> - <smtpHost>localhost</smtpHost> - <smtpPort implementation="java.lang.Integer">25</smtpPort> - <introduction>If you are reading this, the maintainer forgot to descrive what's the purpose of this release!!!</introduction> - <toAddresses> - <toAddress implementation="java.lang.String">dbu...@li...</toAddress> - <toAddress implementation="java.lang.String">dbu...@li...</toAddress> - </toAddresses> - <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload> - <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> -<!-- <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate> --> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - <report>license</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> - - <distributionManagement> - <snapshotRepository> - <id>sourceforge</id> - <name>SourceForge Snapshots Repo</name> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url> - </snapshotRepository> - <repository> - <id>sourceforge</id> - <name>SourceForge Releases Repo</name> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url> - </repository> - <site> - <id>sourceforge</id> - <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs</url> - </site> - </distributionManagement> - - <profiles> - <profile> - <id>official</id> - <dependencies> - <dependency> - <groupId>javax.sql</groupId> - <artifactId>jdbc-stdext</artifactId> - <version>2.0</version> - <optional>true</optional> - </dependency> - </dependencies> - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${compileSource}</source> - <target>${compileSource}</target> - <compilerVersion>${compileSource}</compilerVersion> - <executable>${JAVA_1_4_HOME}/bin/javac</executable> - <debug>true</debug> - <fork>true</fork> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <configuration> - <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changelog-plugin</artifactId> - </plugin> - </plugins> - </reporting> - </profile> - </profiles> - -</project> Copied: tags/release-2.4.0/pom.xml (from rev 889, trunk/pom.xml) =================================================================== --- tags/release-2.4.0/pom.xml (rev 0) +++ tags/release-2.4.0/pom.xml 2008-11-27 20:24:24 UTC (rev 890) @@ -0,0 +1,579 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<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>org.dbunit</groupId> + <artifactId>dbunit</artifactId> + <packaging>jar</packaging> + <version>2.4.0</version> + <name>DbUnit Framework</name> + <url>http://dbunit.sourceforge.net</url> + <inceptionYear>2002</inceptionYear> + <description> + DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. + </description> + <licenses> + <license> + <name>GNU Lesser General Public License, Version 2.1</name> + <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + <properties> + <compileSource>1.4</compileSource> + <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> + </properties> + <scm> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</url> + </scm> + <issueManagement> + <system>SourceForge</system> + <url>http://sourceforge.net/tracker/?group_id=47439</url> + </issueManagement> + <ciManagement> + <system>parabuild</system> + <url><![CDATA[ + http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=30 + ]]></url> + <notifiers> + <notifier> + <type>mail</type> + <sendOnError>true</sendOnError> + <sendOnFailure>false</sendOnFailure> + <sendOnSuccess>false</sendOnSuccess> + <sendOnWarning>false</sendOnWarning> + <configuration> + <address>go...@us...</address> + </configuration> + </notifier> + </notifiers> + </ciManagement> + <mailingLists> + <mailingList> + <name>DbUnit User List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-user</archive> + </mailingList> + <mailingList> + <name>DbUnit Developer List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-developer</archive> + </mailingList> + <mailingList> + <name>DbUnit SVN Commit List</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-commit</archive> + </mailingList> + </mailingLists> + + <pluginRepositories> + <!-- + <pluginRepository> + <id>snapshots</id> + <url>http://people.apache.org/repo/m2-snapshot-repository/</url> + </pluginRepository> + --> + </pluginRepositories> + + + <!-- who the developers are for the project --> + <developers> + <!-- put my name first, so my email is used by the announcements-email + plugin --> + <developer> + <name>Roberto Lo Giacco</name> + <id>rlogiacco</id> + <email>rlo...@us...</email> + <organization>SmartLab</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Felipe Leme</name> + <id>felipeal</id> + <email>db...@fe...</email> + <organization>Falcon Informatica</organization> + <timezone>-3</timezone> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Benjamin Cox</name> + <id>bdrum</id> + <roles> + <role>Java Developer</role> + <!-- <role>Original Ant Task Contributor</role> --> + </roles> + </developer> + <developer> + <name>David Eric Pugh</name> + <id>dep4b</id> + <email>ep...@op...</email> + <organization>OpenSource Connections</organization> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Federico Spinazzi</name> + <id>fspinazzi</id> + <email>f.s...@ma...</email> + <organization>Master House S.r.l</organization> + <roles> + <role>Java Developer</role> + <!-- <role>DB2 Contributor</role> --> + </roles> + </developer> + <developer> + <name>Manuel Laflamme</name> + <id>mlaflamm</id> + <organization>Oz Communication</organization> + <roles> + <role>Project Founder</role> + <!-- <role>Java Developer</role> --> + </roles> + </developer> + <developer> + <name>Timothy J. Ruppert</name> + <id>zieggy</id> + <roles> + <role>Java Developer</role> + <!-- <role>Original Ant Task Contributor</role> --> + </roles> + </developer> + <developer> + <name>Sebastien Le Callonnec</name> + <id>slecallonnec</id> + <email>sle...@us...</email> + <roles> + <role>Java Developer</role> + </roles> + </developer> + <developer> + <name>Matthias Gommeringer</name> + <id>gommma</id> + <email>go...@us...</email> + <roles> + <role>Java Developer</role> + </roles> + </developer> + </developers> + + <contributors> + <contributor> + <name>Klas Axel</name> + <roles> + <role>HsqldbDataTypeFactory</role> + </roles> + </contributor> + <contributor> + <name>Erik Price</name> + <roles> + <role>DatabaseSequenceOperation</role> + </roles> + </contributor> + <contributor> + <name>Jeremy Stein</name> + <roles> + <role>InsertIndentityOperation</role> + </roles> + </contributor> + <contributor> + <name>Keven Kizer</name> + <roles> + <role>Early guinea pig</role> + </roles> + </contributor> + <contributor> + <name>Mike Bresnahan</name> + <roles> + <role>DbUnit evangelist</role> + </roles> + </contributor> + <contributor> + <name>Andres Almiray</name> + <email>aal...@us...</email> + <roles> + <role>IDatabaseTester creator</role> + </roles> + </contributor> + </contributors> + + + <dependencies> + + <!-- TODO: check which dependencies could marked as optional. + For instance, ant is optional because it's only necessary for the dbunit + Ant tasks. --> + + <!-- TODO: add exclusion for dependencies that include xerces/xalan --> + + <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.2</version> + </dependency> + + <dependency> + <groupId>junit-addons</groupId> + <artifactId>junit-addons</artifactId> + <version>1.4</version> + </dependency> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>3.2-FINAL</version> + </dependency> + <dependency> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + <!-- TODO: range-> 1.5.3-1 + + <version>1.6.5</version> +--> + <version>1.5.4</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + <version>3.2.1</version> + </dependency> + <dependency> + <groupId>mockobjects</groupId> + <artifactId>mockobjects-core</artifactId> + <version>0.07</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>mockmaker</groupId> + <artifactId>mmmockobjects</artifactId> + <version>1.12.0</version> + <scope>test</scope> + </dependency> + <!-- TODO: check why follow dependency is necessary --> + <dependency> + <groupId>mockobjects</groupId> + <artifactId>mockobjects-jdk1.3</artifactId> + <version>0.07</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.1</version> + <scope>test</scope> + </dependency> + <dependency> + <!-- Only needed when "profile.properties" is set to "derby" environment --> + <groupId>org.apache.derby</groupId> + <artifactId>derby</artifactId> + <version>10.4.1.3</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>gsbase</groupId> + <artifactId>gsbase</artifactId> + <version>2.0.1</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>1.4.3</version> + </dependency> + + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-nop</artifactId> + <version>1.4.3</version> + <scope>runtime</scope> + </dependency> + + </dependencies> + + <build> + <defaultGoal>install</defaultGoal> + <sourceDirectory>src/java</sourceDirectory> + <testSourceDirectory>src/test</testSourceDirectory> + + <!-- TODO: move to M2's expected path and separate java from test + (once SCM is migrated to SVN...) --> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>LICENSE.txt</include> + </includes> + </resource> + <resource> + <directory>src/java</directory> + <includes> + <include>**/dataset.dtd</include> + </includes> + </resource> + <resource> + <directory>src/csv</directory> + <includes> + <include>**/cvs-tests.properties</include> + </includes> + </resource> + + </resources> + <!-- TODO: that are some resources on src that should be on test... + + <testResources> + <testResource> + </testResource> + </testResources> +--> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- In some machines (at least on mine :-(, running AllTests is much +faster then running all tests, but there is not guarantee that all tests will +be run (i.e., a developer could create a new test file and forget to add it to +AllTests) + <includes> + <include>org/dbunit/AllTests.java</include> + </includes> + --> + <excludes> + <exclude>**/Abstract*.java</exclude> + </excludes> + <includes> + <include>**/*Test.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${compileSource}</source> + <target>${compileSource}</target> + <compilerVersion>${compileSource}</compilerVersion> + <!-- TODO somehow we must ensure that the used rt.jar is really a 1.4 and not higher, also for continuous integration --> + <!--<executable>${JAVA_1_4_HOME}/bin/javac</executable>--> + <debug>true</debug> + <fork>true</fork> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <goals>javadoc:javadoc source:jar javadoc:jar deploy site changes:announcement-generate assembly:assembly</goals> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <includes> + <include>/LICENSE.txt</include> + <include>**</include> + </includes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>assembly.xml</descriptor> + </descriptors> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <!-- basic reports - available to all plugins --> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + </plugin> +<!-- <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin>--> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <configLocation>checkstyle.xml</configLocation> + <argLine>-Xmx512m -Xms128m</argLine> + </configuration> + </plugin> + <!-- Generate "PMD" and "CPD" reports --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <linkXref>true</linkXref> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>${compileSource}</targetJdk> + </configuration> + </plugin> + <!-- Generate "JDepend" report --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <destDir>apidocs</destDir> + <quiet>true</quiet> + <stylesheet>maven</stylesheet> + <tags> + <tag> + <name>TODO</name> + <placement>a</placement> + <head>To do:</head> + </tag> + </tags> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <version>2.0</version> + <configuration> + <smtpHost>localhost</smtpHost> + <smtpPort implementation="java.lang.Integer">25</smtpPort> + <introduction>If you are reading this, the maintainer forgot to descrive what's the purpose of this release!!!</introduction> + <toAddresses> + <toAddress implementation="java.lang.String">dbu...@li...</toAddress> + <toAddress implementation="java.lang.String">dbu...@li...</toAddress> + </toAddresses> + <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload> + <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> +<!-- <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate> --> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + <report>license</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + + <distributionManagement> + <snapshotRepository> + <id>sourceforge</id> + <name>SourceForge Snapshots Repo</name> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url> + </snapshotRepository> + <repository> + <id>sourceforge</id> + <name>SourceForge Releases Repo</name> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url> + </repository> + <site> + <id>sourceforge</id> + <url>scp://shell.sourceforge.net/home/groups/d/db/dbunit/htdocs</url> + </site> + </distributionManagement> + + <profiles> + <profile> + <id>official</id> + <dependencies> + <dependency> + <groupId>javax.sql</groupId> + <artifactId>jdbc-stdext</artifactId> + <version>2.0</version> + <optional>true</optional> + </dependency> + </dependencies> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${compileSource}</source> + <target>${compileSource}</target> + <compilerVersion>${compileSource}</compilerVersion> + <executable>${JAVA_1_4_HOME}/bin/javac</executable> + <debug>true</debug> + <fork>true</fork> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <!--<stylesheet>"${basedir}/myStyles.css"</stylesheet>--> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changelog-plugin</artifactId> + </plugin> + </plugins> + </reporting> + </profile> + </profiles> + +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-11-27 20:24:15
|
Revision: 889 http://dbunit.svn.sourceforge.net/dbunit/?rev=889&view=rev Author: rlogiacco Date: 2008-11-27 20:24:11 +0000 (Thu, 27 Nov 2008) Log Message: ----------- [maven-release-plugin] prepare release release-2.4.0 Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-11-27 19:37:05 UTC (rev 888) +++ trunk/pom.xml 2008-11-27 20:24:11 UTC (rev 889) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.4-SNAPSHOT</version> + <version>2.4.0</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> @@ -23,9 +23,9 @@ <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> </properties> <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.4.0</url> </scm> <issueManagement> <system>SourceForge</system> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-11-27 19:37:10
|
Revision: 888 http://dbunit.svn.sourceforge.net/dbunit/?rev=888&view=rev Author: rlogiacco Date: 2008-11-27 19:37:05 +0000 (Thu, 27 Nov 2008) Log Message: ----------- committing release related updates Modified Paths: -------------- trunk/src/changes/changes.xml trunk/src/site/xdoc/index.xml Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-11-24 19:45:28 UTC (rev 887) +++ trunk/src/changes/changes.xml 2008-11-27 19:37:05 UTC (rev 888) @@ -7,7 +7,7 @@ </properties> <body> - <release version="2.4-SNAPSHOT" date="TBD" description="Some API changes, features added, bugfixes"> + <release version="2.4.0" date="Nov 27, 2008" description="Some API changes, features added, bugfixes"> <action dev="felipeal" type="add" issue="2235876">Refactor Assertion class</action> <action dev="felipeal" type="fix" issue="2198914">When comparing empty tables, column info should be ignored</action> <action dev="felipeal" type="add" issue="2122413">Added "constants" for DatabaseOperation wrappers</action> Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2008-11-24 19:45:28 UTC (rev 887) +++ trunk/src/site/xdoc/index.xml 2008-11-27 19:37:05 UTC (rev 888) @@ -26,6 +26,10 @@ <section name="News"> <table border="1"> <tr> + <td>2008-11-27</td> + <td>DbUnit development is very active and is proud to announce the 2.4.0 release! Here the <a href="changes-report.html#a2.4.0">changes</a>.</td> + </tr> + <tr> <td>2008-09-11</td> <td>We all are so proud to announce the 2.3.0 release is finally out! Have a look at the <a href="changes-report.html#a2.3.0">changes</a>.</td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-11-18 21:06:12
|
Revision: 882 http://dbunit.svn.sourceforge.net/dbunit/?rev=882&view=rev Author: felipeal Date: 2008-11-18 21:06:09 +0000 (Tue, 18 Nov 2008) Log Message: ----------- added columnName on skipCompare() Modified Paths: -------------- trunk/src/java/org/dbunit/assertion/DbUnitAssert.java Modified: trunk/src/java/org/dbunit/assertion/DbUnitAssert.java =================================================================== --- trunk/src/java/org/dbunit/assertion/DbUnitAssert.java 2008-11-18 20:40:05 UTC (rev 881) +++ trunk/src/java/org/dbunit/assertion/DbUnitAssert.java 2008-11-18 21:06:09 UTC (rev 882) @@ -467,7 +467,7 @@ Object actualValue = actualTable.getValue(i, columnName); // Compare the values - if(skipCompare(expectedValue, actualValue)){ + if(skipCompare(columnName, expectedValue, actualValue)){ if(logger.isTraceEnabled()){ logger.trace( "ignoring comparison " + expectedValue + "=" + actualValue + " on column " + columnName); @@ -495,12 +495,13 @@ * expected and actual value. Designed to be overridden in order * to skip cell comparison by specific cell values. * + * @param columnName The column being compared * @param expectedValue The expected value to be compared * @param actualValue The actual value to be compared * @return <code>false</code> always so that the comparison is never skipped * @since 2.4 */ - protected boolean skipCompare(Object expectedValue, Object actualValue) + protected boolean skipCompare(String columnName, Object expectedValue, Object actualValue) { return false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-11-07 19:48:22
|
Revision: 868 http://dbunit.svn.sourceforge.net/dbunit/?rev=868&view=rev Author: felipeal Date: 2008-11-07 19:48:16 +0000 (Fri, 07 Nov 2008) Log Message: ----------- 2235876 - refactor Assertion, so now it relies on a DbUnitAssert class to do its job Modified Paths: -------------- trunk/src/changes/changes.xml trunk/src/java/org/dbunit/Assertion.java trunk/src/test/org/dbunit/AssertionTest.java Added Paths: ----------- trunk/src/java/org/dbunit/assertion/DbUnitAssert.java trunk/src/java/org/dbunit/assertion/DefaultDbUnitAssert.java Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-11-07 17:35:28 UTC (rev 867) +++ trunk/src/changes/changes.xml 2008-11-07 19:48:16 UTC (rev 868) @@ -8,6 +8,7 @@ <body> <release version="2.4-SNAPSHOT" date="TBD" description="Some API changes, features added, bugfixes"> + <action dev="felipeal" type="add" issue="2235876">Refactor Assertion class</action> <action dev="felipeal" type="fix" issue="2198914">When comparing empty tables, column info should be ignored</action> <action dev="felipeal" type="add" issue="2122413">Added "constants" for DatabaseOperation wrappers</action> <action dev="gommma" type="update">ISearchAlgorithm.search returns strongly typed ListOrderedSet instead of a normal Set so that TableDependencyHelper can return tables in correct order. API change.</action> Modified: trunk/src/java/org/dbunit/Assertion.java =================================================================== --- trunk/src/java/org/dbunit/Assertion.java 2008-11-07 17:35:28 UTC (rev 867) +++ trunk/src/java/org/dbunit/Assertion.java 2008-11-07 19:48:16 UTC (rev 868) @@ -22,562 +22,239 @@ package org.dbunit; import java.sql.SQLException; -import java.util.Arrays; +import org.dbunit.assertion.DbUnitAssert; +import org.dbunit.assertion.DefaultDbUnitAssert; import org.dbunit.assertion.FailureHandler; -import org.dbunit.assertion.JUnitFailureHandler; import org.dbunit.database.IDatabaseConnection; import org.dbunit.dataset.Column; -import org.dbunit.dataset.Columns; -import org.dbunit.dataset.DataSetException; import org.dbunit.dataset.IDataSet; import org.dbunit.dataset.ITable; -import org.dbunit.dataset.ITableMetaData; -import org.dbunit.dataset.datatype.DataType; -import org.dbunit.dataset.datatype.UnknownDataType; -import org.dbunit.dataset.filter.DefaultColumnFilter; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** - * Provides assertions for the most common dbunit test cases. + * Provides static methods for the most common DbUnit assertion needs. * + * Although the methods are static, they rely on a DbUnitAssert instance to do + * the work. So, if you need to customize this class behavior, you can create + * your own DbUnitAssert (typically extending DefaultDbUnitAssert), override the + * desired methods, then call setInstance() with the new object. + * * @author Manuel Laflamme + * @author Felipe Leme <db...@fe...> * @version $Revision$ * @since Mar 22, 2002 */ -public class Assertion -{ +public class Assertion { - /** - * Logger for this class - */ - private static final Logger logger = LoggerFactory.getLogger(Assertion.class); - + /** + * Object that will effectively do the assertions. + */ + private static DbUnitAssert instance = new DefaultDbUnitAssert(); - private Assertion() - { - } + private Assertion() { + throw new UnsupportedOperationException( + "this class has only static methods"); + } - /** - * Compare one table present in two datasets ignoring specified columns. - * - * @param expectedDataset First dataset. - * @param actualDataset Second dataset. - * @param tableName Table name of the table to be compared. - * @param ignoreCols Columns to be ignored in comparison. - * @throws org.dbunit.DatabaseUnitException If an error occurs. - */ - public static void assertEqualsIgnoreCols(final IDataSet expectedDataset, final IDataSet actualDataset, - final String tableName, final String[] ignoreCols) throws DatabaseUnitException - { - if(logger.isDebugEnabled()) - logger.debug("assertEqualsIgnoreCols(expectedDataset={}, actualDataset={}, tableName={}, ignoreCols={}) - start", - new Object[] {expectedDataset, actualDataset, tableName, Arrays.asList(ignoreCols)} ); - - Assertion.assertEqualsIgnoreCols( - expectedDataset.getTable(tableName), - actualDataset.getTable(tableName), - ignoreCols); - } - - /** - * Compare the given tables ignoring specified columns. - * - * @param expectedTable First table. - * @param actualTable Second table. - * @param ignoreCols Columns to be ignored in comparison. - * @throws org.dbunit.DatabaseUnitException If an error occurs. - */ - public static void assertEqualsIgnoreCols(final ITable expectedTable, final ITable actualTable, - final String[] ignoreCols) throws DatabaseUnitException - { - if(logger.isDebugEnabled()) - logger.debug("assertEqualsIgnoreCols(expectedTable={}, actualTable={}, ignoreCols={}) - start", - new Object[] {expectedTable, actualTable, Arrays.asList(ignoreCols)} ); - - final ITable expectedTableFiltered = DefaultColumnFilter.excludedColumnsTable(expectedTable, ignoreCols); - final ITable actualTableFiltered = DefaultColumnFilter.excludedColumnsTable(actualTable, ignoreCols); - Assertion.assertEquals(expectedTableFiltered, actualTableFiltered); - } - - /** - * Compare a table from a dataset with a table generated from an sql query. - * - * @param expectedDataset Dataset to retrieve the first table from. - * @param connection Connection to use for the SQL statement. - * @param sqlQuery SQL query that will build the data in returned second table rows. - * @param tableName Table name of the table to compare - * @param ignoreCols Columns to be ignored in comparison. - * @throws DatabaseUnitException If an error occurs while performing the comparison. - * @throws java.sql.SQLException If an SQL error occurs. - */ - public static void assertEqualsByQuery(final IDataSet expectedDataset, - final IDatabaseConnection connection, final String sqlQuery, - final String tableName, final String[] ignoreCols) - throws DatabaseUnitException, SQLException - { - if(logger.isDebugEnabled()) - logger.debug("assertEqualsByQuery(expectedDataset={}, connection={}, tableName={}, sqlQuery={}, ignoreCols={}) - start", - new Object[] {expectedDataset, connection, tableName, sqlQuery, ignoreCols} ); - - ITable expectedTable = expectedDataset.getTable(tableName); - Assertion.assertEqualsByQuery(expectedTable, connection, tableName, sqlQuery, ignoreCols); + /** + * This method can be used to customize the behavior of the static methods, as + * they will delegate the work to this instance. + * + * @param instance + * new instance to be used by static methods. + */ + public static void setInstance(DbUnitAssert instance) { + if (instance == null) { + throw new IllegalArgumentException("instance cannot be null"); } - - /** - * Compare a table with a table generated from an sql query. - * - * @param expectedTable Table containing all expected results. - * @param connection Connection to use for the SQL statement. - * @param tableName The name of the table to query from the database - * @param sqlQuery SQL query that will build the data in returned second table rows. - * @param ignoreCols Columns to be ignored in comparison. - * @throws DatabaseUnitException If an error occurs while performing the comparison. - * @throws java.sql.SQLException If an SQL error occurs. - */ - public static void assertEqualsByQuery(final ITable expectedTable, - final IDatabaseConnection connection, final String tableName, final String sqlQuery, - final String[] ignoreCols) - throws DatabaseUnitException, SQLException - { - if(logger.isDebugEnabled()) - logger.debug("assertEqualsByQuery(expectedTable={}, connection={}, tableName={}, sqlQuery={}, ignoreCols={}) - start", - new Object[] {expectedTable, connection, tableName, sqlQuery, ignoreCols} ); + Assertion.instance = instance; + } - ITable expected = DefaultColumnFilter.excludedColumnsTable(expectedTable, ignoreCols); - ITable queriedTable = connection.createQueryTable(tableName, sqlQuery); - ITable actual = DefaultColumnFilter.excludedColumnsTable(queriedTable, ignoreCols); - Assertion.assertEquals(expected, actual); - } - - /** - * Asserts that the two specified dataset are equals. This method ignore - * the tables order. - */ - public static void assertEquals(IDataSet expectedDataSet, - IDataSet actualDataSet) throws DatabaseUnitException - { - logger.debug("assertEquals(expectedDataSet={}, actualDataSet={}) - start", expectedDataSet, actualDataSet); - assertEquals(expectedDataSet, actualDataSet, null); - } - - /** - * Asserts that the two specified dataset are equals. This method ignore - * the tables order. - * @since 2.4 - */ - public static void assertEquals(IDataSet expectedDataSet, - IDataSet actualDataSet, FailureHandler failureHandler) throws DatabaseUnitException - { - if(logger.isDebugEnabled()) - logger.debug("assertEquals(expectedDataSet={}, actualDataSet={}, failureHandler={}) - start", - new Object[] {expectedDataSet, actualDataSet, failureHandler} ); + /** + * Compare one table present in two datasets ignoring specified columns. + * + * @param expectedDataset + * First dataset. + * @param actualDataset + * Second dataset. + * @param tableName + * Table name of the table to be compared. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws org.dbunit.DatabaseUnitException + * If an error occurs. + */ + public static void assertEqualsIgnoreCols(final IDataSet expectedDataset, + final IDataSet actualDataset, final String tableName, + final String[] ignoreCols) throws DatabaseUnitException { + instance.assertEqualsIgnoreCols(expectedDataset, actualDataset, tableName, + ignoreCols); + } - // do not continue if same instance - if (expectedDataSet == actualDataSet) - { - return; - } + /** + * Compare the given tables ignoring specified columns. + * + * @param expectedTable + * First table. + * @param actualTable + * Second table. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws org.dbunit.DatabaseUnitException + * If an error occurs. + */ + public static void assertEqualsIgnoreCols(final ITable expectedTable, + final ITable actualTable, final String[] ignoreCols) + throws DatabaseUnitException { + instance.assertEqualsIgnoreCols(expectedTable, actualTable, ignoreCols); + } - if(failureHandler == null) - { - logger.debug("FailureHandler is null. Using default implementation"); - failureHandler = getDefaultFailureHandler(); - } + /** + * Compare a table from a dataset with a table generated from an sql query. + * + * @param expectedDataset + * Dataset to retrieve the first table from. + * @param connection + * Connection to use for the SQL statement. + * @param sqlQuery + * SQL query that will build the data in returned second table rows. + * @param tableName + * Table name of the table to compare + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws DatabaseUnitException + * If an error occurs while performing the comparison. + * @throws java.sql.SQLException + * If an SQL error occurs. + */ + public static void assertEqualsByQuery(final IDataSet expectedDataset, + final IDatabaseConnection connection, final String sqlQuery, + final String tableName, final String[] ignoreCols) + throws DatabaseUnitException, SQLException { + instance.assertEqualsByQuery(expectedDataset, connection, sqlQuery, + tableName, ignoreCols); + } - String[] expectedNames = getSortedUpperTableNames(expectedDataSet); - String[] actualNames = getSortedUpperTableNames(actualDataSet); + /** + * Compare a table with a table generated from an sql query. + * + * @param expectedTable + * Table containing all expected results. + * @param connection + * Connection to use for the SQL statement. + * @param tableName + * The name of the table to query from the database + * @param sqlQuery + * SQL query that will build the data in returned second table rows. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws DatabaseUnitException + * If an error occurs while performing the comparison. + * @throws java.sql.SQLException + * If an SQL error occurs. + */ + public static void assertEqualsByQuery(final ITable expectedTable, + final IDatabaseConnection connection, final String tableName, + final String sqlQuery, final String[] ignoreCols) + throws DatabaseUnitException, SQLException { + instance.assertEqualsByQuery(expectedTable, connection, tableName, + sqlQuery, ignoreCols); + } - // tables count - if(expectedNames.length != actualNames.length) - { - throw failureHandler.createFailure("table count", String.valueOf(expectedNames.length), String.valueOf(actualNames.length) ); - } + /** + * Asserts that the two specified dataset are equals. This method ignore the + * tables order. + */ + public static void assertEquals(IDataSet expectedDataSet, + IDataSet actualDataSet) throws DatabaseUnitException { + instance.assertEquals(expectedDataSet, actualDataSet); + } - // table names in no specific order - for (int i = 0; i < expectedNames.length; i++) - { - if (!actualNames[i].equals(expectedNames[i])) - { - throw failureHandler.createFailure("tables", Arrays.asList(expectedNames).toString(), Arrays.asList(actualNames).toString()); - } + /** + * Asserts that the two specified dataset are equals. This method ignore the + * tables order. + * + * @since 2.4 + */ + public static void assertEquals(IDataSet expectedDataSet, + IDataSet actualDataSet, FailureHandler failureHandler) + throws DatabaseUnitException { + instance.assertEquals(expectedDataSet, actualDataSet, failureHandler); + } - } + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @throws DatabaseUnitException + */ + public static void assertEquals(ITable expectedTable, ITable actualTable) + throws DatabaseUnitException { + instance.assertEquals(expectedTable, actualTable); + } - // tables - for (int i = 0; i < expectedNames.length; i++) - { - String name = expectedNames[i]; - assertEquals(expectedDataSet.getTable(name), - actualDataSet.getTable(name)); - } + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. <br /> + * Example: <code><pre> + * ITable actualTable = ...; + * ITable expectedTable = ...; + * ITableMetaData metaData = actualTable.getTableMetaData(); + * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); + * Assertion.assertEquals(expectedTable, actualTable, additionalInfoCols); + * </pre></code> + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @param additionalColumnInfo + * The columns to be printed out if the assert fails because of a + * data mismatch. Provides some additional column values that may be + * useful to quickly identify the columns for which the mismatch + * occurred (for example a primary key column). Can be + * <code>null</code> + * @throws DatabaseUnitException + */ + public static void assertEquals(ITable expectedTable, ITable actualTable, + Column[] additionalColumnInfo) throws DatabaseUnitException { + instance.assertEquals(expectedTable, actualTable, additionalColumnInfo); + } - } + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. <br /> + * Example: <code><pre> + * ITable actualTable = ...; + * ITable expectedTable = ...; + * ITableMetaData metaData = actualTable.getTableMetaData(); + * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); + * Assertion.assertEquals(expectedTable, actualTable, additionalInfoCols); + * </pre></code> + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @param failureHandler + * The failure handler used if the assert fails because of a data + * mismatch. Provides some additional information that may be useful + * to quickly identify the rows for which the mismatch occurred (for + * example by printing an additional primary key column). Can be + * <code>null</code> + * @throws DatabaseUnitException + * @since 2.4 + */ + public static void assertEquals(ITable expectedTable, ITable actualTable, + FailureHandler failureHandler) throws DatabaseUnitException { + instance.assertEquals(expectedTable, actualTable, failureHandler); + } - - /** - * Asserts that the two specified tables are equals. This method ignores the - * table names, the columns order, the columns data type and which columns - * are composing the primary keys. - * @param expectedTable Table containing all expected results. - * @param actualTable Table containing all actual results. - * @throws DatabaseUnitException - */ - public static void assertEquals(ITable expectedTable, ITable actualTable) - throws DatabaseUnitException - { - logger.debug("assertEquals(expectedTable={}, actualTable={}) - start", expectedTable, actualTable); - assertEquals(expectedTable, actualTable, (Column[])null); - } - - /** - * Asserts that the two specified tables are equals. This method ignores the - * table names, the columns order, the columns data type and which columns - * are composing the primary keys. - * <br /> - * Example: - * <code><pre> - * ITable actualTable = ...; - * ITable expectedTable = ...; - * ITableMetaData metaData = actualTable.getTableMetaData(); - * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); - * Assertion.assertEquals(expectedTable, actualTable, additionalInfoCols); - * </pre></code> - * @param expectedTable Table containing all expected results. - * @param actualTable Table containing all actual results. - * @param additionalColumnInfo The columns to be printed out if the assert fails because of a data mismatch. - * Provides some additional column values that may be useful to quickly identify the columns for which the mismatch - * occurred (for example a primary key column). Can be <code>null</code> - * @throws DatabaseUnitException - */ - public static void assertEquals(ITable expectedTable, ITable actualTable, Column[] additionalColumnInfo) - throws DatabaseUnitException - { - logger.debug("assertEquals(expectedTable={}, actualTable={}, additionalColumnInfo={}) - start", - new Object[] {expectedTable, actualTable, additionalColumnInfo} ); - - FailureHandler failureHandler = null; - if(additionalColumnInfo != null) - failureHandler = getDefaultFailureHandler(additionalColumnInfo); - - Assertion.assertEquals(expectedTable, actualTable, failureHandler); - } - - - /** - * Asserts that the two specified tables are equals. This method ignores the - * table names, the columns order, the columns data type and which columns - * are composing the primary keys. - * <br /> - * Example: - * <code><pre> - * ITable actualTable = ...; - * ITable expectedTable = ...; - * ITableMetaData metaData = actualTable.getTableMetaData(); - * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); - * Assertion.assertEquals(expectedTable, actualTable, additionalInfoCols); - * </pre></code> - * @param expectedTable Table containing all expected results. - * @param actualTable Table containing all actual results. - * @param failureHandler The failure handler used if the assert fails because of a data mismatch. - * Provides some additional information that may be useful to quickly identify the rows for which the mismatch - * occurred (for example by printing an additional primary key column). Can be <code>null</code> - * @throws DatabaseUnitException - * @since 2.4 - */ - public static void assertEquals(ITable expectedTable, ITable actualTable, FailureHandler failureHandler) - throws DatabaseUnitException - { - logger.debug("assertEquals(expectedTable={}, actualTable={}, failureHandler={}) - start", - new Object[] {expectedTable, actualTable, failureHandler} ); - - // Do not continue if same instance - if (expectedTable == actualTable) - { - logger.debug("The given tables reference the same object. Will return immediately. (Table={})", expectedTable); - return; - } - - if(failureHandler == null) - { - logger.debug("FailureHandler is null. Using default implementation"); - failureHandler = getDefaultFailureHandler(); - } - - - ITableMetaData expectedMetaData = expectedTable.getTableMetaData(); - ITableMetaData actualMetaData = actualTable.getTableMetaData(); - String expectedTableName = expectedMetaData.getTableName(); - - // Verify row count - int expectedRowsCount = expectedTable.getRowCount(); - int actualRowsCount = actualTable.getRowCount(); - if(expectedRowsCount != actualRowsCount) - { - String msg = "row count (table=" + expectedTableName + ")"; - throw failureHandler.createFailure(msg, String.valueOf(expectedRowsCount), String.valueOf(actualRowsCount)); - } - // if both tables are empty, it is not necessary to compare columns, as such comparison - // can fail if column metadata is different (which could occurs when comparing empty tables) - if (expectedRowsCount==0 && actualRowsCount==0) - { - logger.debug("Tables are empty, hence equals."); - return; - } - - // Put the columns into the same order - Column[] expectedColumns = Columns.getSortedColumns(expectedMetaData); - Column[] actualColumns = Columns.getSortedColumns(actualMetaData); - - // Verify columns - Columns.ColumnDiff columnDiff = Columns.getColumnDiff(expectedMetaData, actualMetaData); - if(columnDiff.hasDifference()) - { - String message = columnDiff.getMessage(); - throw failureHandler.createFailure( - message, - Columns.getColumnNamesAsString(expectedColumns), - Columns.getColumnNamesAsString(actualColumns) ); - } - - // Get the datatypes to be used for comparing the sorted columns - ComparisonColumn[] comparisonCols = getComparisonColumns( - expectedTableName, expectedColumns, actualColumns, failureHandler); - - // Finally compare the data - compareData(expectedTable, actualTable, comparisonCols, failureHandler); - } - - - /** - * @return The default failure handler - * @since 2.4 - */ - private static FailureHandler getDefaultFailureHandler() - { - // For backwards compatibility use the JUnitFailureHandler by default - return getDefaultFailureHandler(null); - } - - /** - * @return The default failure handler - * @since 2.4 - */ - private static FailureHandler getDefaultFailureHandler( - Column[] additionalColumnInfo) - { - // For backwards compatibility use the JUnitFailureHandler by default - return new JUnitFailureHandler(additionalColumnInfo); - } - - /** - * @param expectedTable Table containing all expected results. - * @param actualTable Table containing all actual results. - * @param comparisonCols The columns to be compared, also including the correct {@link DataType}s for comparison - * @param failureHandler The failure handler used if the assert fails because of a data mismatch. - * Provides some additional information that may be useful to quickly identify the rows for which the mismatch - * occurred (for example by printing an additional primary key column). Must not be <code>null</code> at this stage - * @throws DataSetException - * @since 2.4 - */ - private static void compareData(ITable expectedTable, ITable actualTable, - ComparisonColumn[] comparisonCols, FailureHandler failureHandler) - throws DataSetException - { - logger.debug("assertEquals(expectedTable={}, actualTable={}, " + - "comparisonCols={}, failureHandler={}) - start", - new Object[] {expectedTable, actualTable, comparisonCols, failureHandler} ); - - if (expectedTable == null) { - throw new NullPointerException( - "The parameter 'expectedTable' must not be null"); - } - if (actualTable == null) { - throw new NullPointerException( - "The parameter 'actualTable' must not be null"); - } - if (comparisonCols == null) { - throw new NullPointerException( - "The parameter 'comparisonCols' must not be null"); - } - if (failureHandler == null) { - throw new NullPointerException( - "The parameter 'failureHandler' must not be null"); - } - - - // values as strings - for (int i = 0; i < expectedTable.getRowCount(); i++) - { - for (int j = 0; j < comparisonCols.length; j++) - { - ComparisonColumn compareColumn = comparisonCols[j]; - - String columnName = compareColumn.getColumnName(); - DataType dataType = compareColumn.getDataType(); - - Object expectedValue = expectedTable.getValue(i, columnName); - Object actualValue = actualTable.getValue(i, columnName); - - if (dataType.compare(expectedValue, actualValue) != 0) - { - String additionalInfo = failureHandler.getAdditionalInfo(expectedTable, actualTable, i, columnName); - - String expectedTableName = expectedTable.getTableMetaData().getTableName(); - // example message: "value (table=MYTAB, row=232, column=MYCOL, Additional row info: (column=MyIdCol, expected=444, actual=555)): expected:<123> but was:<1234>" - String msg = "value (table=" + expectedTableName + ", row=" + i + ", col=" + columnName; - if(additionalInfo!=null && !additionalInfo.trim().equals("")) - msg += ", " + additionalInfo; - msg += ")"; - throw failureHandler.createFailure(msg, String.valueOf(expectedValue), String.valueOf(actualValue)); - } - - } - } - - } - - - /** - * @param expectedTableName - * @param expectedColumns - * @param actualColumns - * @param failureHandler The {@link FailureHandler} to be used when no datatype - * can be determined - * @return The columns to be used for the assertion, including the correct datatype - * @since 2.4 - */ - private static ComparisonColumn[] getComparisonColumns(String expectedTableName, - Column[] expectedColumns, Column[] actualColumns, FailureHandler failureHandler) - { - ComparisonColumn[] result = new ComparisonColumn[expectedColumns.length]; - - for (int j = 0; j < expectedColumns.length; j++) - { - Column expectedColumn = expectedColumns[j]; - Column actualColumn = actualColumns[j]; - result[j] = new ComparisonColumn(expectedTableName, expectedColumn, actualColumn, failureHandler); - } - return result; - } - - - private static String[] getSortedUpperTableNames(IDataSet dataSet) - throws DataSetException - { - logger.debug("getSortedUpperTableNames(dataSet={}) - start", dataSet); - - String[] names = dataSet.getTableNames(); - for (int i = 0; i < names.length; i++) - { - names[i] = names[i].toUpperCase(); - } - Arrays.sort(names); - return names; - } - - /** - * Represents a single column to be used for the comparison of table data. It contains - * the {@link DataType} to be used for comparing the given column. This {@link DataType} - * matches the expected and actual column's datatype. - * - * @author gommma (gommma AT users.sourceforge.net) - * @author Last changed by: $Author$ - * @version $Revision$ $Date$ - * @since 2.4.0 - */ - static class ComparisonColumn - { - /** - * Logger for this class - */ - private static final Logger logger = LoggerFactory.getLogger(ComparisonColumn.class); - - private String columnName; - private DataType dataType; - - - - /** - * @param tableName The table name which is only needed for debugging output - * @param expectedColumn The expected column needed to resolve the {@link DataType} - * to use for the actual comparison - * @param actualColumn The actual column needed to resolve the {@link DataType} - * to use for the actual comparison - * @param failureHandler The {@link FailureHandler} to be used when no datatype - * can be determined - */ - public ComparisonColumn(String tableName, - Column expectedColumn, Column actualColumn, FailureHandler failureHandler) - { - super(); - this.columnName = expectedColumn.getColumnName(); - this.dataType = getComparisonDataType(tableName, expectedColumn, actualColumn, failureHandler); - } - - /** - * @return The column actually being compared - */ - public String getColumnName() - { - return this.columnName; - } - - /** - * @return The {@link DataType} to use for the actual comparison - */ - public DataType getDataType() - { - return this.dataType; - } - - - /** - * @param tableName The table name which is only needed for debugging output - * @param expectedColumn - * @param actualColumn - * @param failureHandler The {@link FailureHandler} to be used when no datatype - * can be determined - * @return The dbunit {@link DataType} to use for comparing the given column. - */ - private DataType getComparisonDataType(String tableName, Column expectedColumn, - Column actualColumn, FailureHandler failureHandler) - { - if(logger.isDebugEnabled()) - logger.debug("getComparisonDataType(tableName={}, expectedColumn={}, actualColumn={}, failureHandler={}) - start", - new Object[] {tableName, expectedColumn, actualColumn, failureHandler}); - - - - DataType expectedDataType = expectedColumn.getDataType(); - DataType actualDataType = actualColumn.getDataType(); - - // The two columns have different data type - if (!expectedDataType.getClass().isInstance(actualDataType)) - { - // Expected column data type is unknown, use actual column data type - if (expectedDataType instanceof UnknownDataType) - { - return actualDataType; - } - - // Actual column data type is unknown, use expected column data type - if (actualDataType instanceof UnknownDataType) - { - return expectedDataType; - } - - // Impossible to determine which data type to use - String msg = "Incompatible data types: (table=" + tableName + ", col=" + - expectedColumn.getColumnName() + ")"; - throw failureHandler.createFailure(msg, String.valueOf(expectedDataType), String.valueOf(actualDataType)); - } - - // Both columns have same data type, return any one of them - return expectedDataType; - } - - } - } Added: trunk/src/java/org/dbunit/assertion/DbUnitAssert.java =================================================================== --- trunk/src/java/org/dbunit/assertion/DbUnitAssert.java (rev 0) +++ trunk/src/java/org/dbunit/assertion/DbUnitAssert.java 2008-11-07 19:48:16 UTC (rev 868) @@ -0,0 +1,209 @@ +/* + * + * The DbUnit Database Testing Framework + * Copyright (C)2002-2004, DbUnit.org + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +package org.dbunit.assertion; + +import java.sql.SQLException; + +import org.dbunit.DatabaseUnitException; +import org.dbunit.database.IDatabaseConnection; +import org.dbunit.dataset.Column; +import org.dbunit.dataset.IDataSet; +import org.dbunit.dataset.ITable; + +/** + * Provides static methods for the most common DbUnit assertion needs. + * + * Although the methods are static, they rely on a Assertion instance to do the + * work. So, if you need to customize the behavior, you can create your own + * sub-class, override the desired methods, then call setInstance() with the new + * object. + * + * @author Felipe Leme <db...@fe...> + * @version $Revision: 864 $ + * @since Nov 07, 2008 + */ +public interface DbUnitAssert { + + /** + * Compare one table present in two datasets ignoring specified columns. + * + * @param expectedDataset + * First dataset. + * @param actualDataset + * Second dataset. + * @param tableName + * Table name of the table to be compared. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws org.dbunit.DatabaseUnitException + * If an error occurs. + */ + void assertEqualsIgnoreCols(final IDataSet expectedDataset, + final IDataSet actualDataset, final String tableName, + final String[] ignoreCols) throws DatabaseUnitException; + + /** + * Compare the given tables ignoring specified columns. + * + * @param expectedTable + * First table. + * @param actualTable + * Second table. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws org.dbunit.DatabaseUnitException + * If an error occurs. + */ + void assertEqualsIgnoreCols(final ITable expectedTable, + final ITable actualTable, final String[] ignoreCols) + throws DatabaseUnitException; + + /** + * Compare a table from a dataset with a table generated from an sql query. + * + * @param expectedDataset + * Dataset to retrieve the first table from. + * @param connection + * Connection to use for the SQL statement. + * @param sqlQuery + * SQL query that will build the data in returned second table rows. + * @param tableName + * Table name of the table to compare + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws DatabaseUnitException + * If an error occurs while performing the comparison. + * @throws java.sql.SQLException + * If an SQL error occurs. + */ + void assertEqualsByQuery(final IDataSet expectedDataset, + final IDatabaseConnection connection, final String sqlQuery, + final String tableName, final String[] ignoreCols) + throws DatabaseUnitException, SQLException; + + /** + * Compare a table with a table generated from an sql query. + * + * @param expectedTable + * Table containing all expected results. + * @param connection + * Connection to use for the SQL statement. + * @param tableName + * The name of the table to query from the database + * @param sqlQuery + * SQL query that will build the data in returned second table rows. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws DatabaseUnitException + * If an error occurs while performing the comparison. + * @throws java.sql.SQLException + * If an SQL error occurs. + */ + void assertEqualsByQuery(final ITable expectedTable, + final IDatabaseConnection connection, final String tableName, + final String sqlQuery, final String[] ignoreCols) + throws DatabaseUnitException, SQLException; + + /** + * Asserts that the two specified dataset are equals. This method ignore the + * tables order. + */ + void assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet) + throws DatabaseUnitException; + + /** + * Asserts that the two specified dataset are equals. This method ignore the + * tables order. + */ + void assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet, + FailureHandler failureHandler) throws DatabaseUnitException; + + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @throws DatabaseUnitException + */ + void assertEquals(ITable expectedTable, ITable actualTable) + throws DatabaseUnitException; + + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. <br /> + * Example: <code><pre> + * ITable actualTable = ...; + * ITable expectedTable = ...; + * ITableMetaData metaData = actualTable.getTableMetaData(); + * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); + * Assertion.assertEquals(expectedTable, actualTable, additionalInfoCols); + * </pre></code> + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @param additionalColumnInfo + * The columns to be printed out if the assert fails because of a + * data mismatch. Provides some additional column values that may be + * useful to quickly identify the columns for which the mismatch + * occurred (for example a primary key column). Can be + * <code>null</code> + * @throws DatabaseUnitException + */ + public void assertEquals(ITable expectedTable, ITable actualTable, + Column[] additionalColumnInfo) throws DatabaseUnitException; + + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. <br /> + * Example: <code><pre> + * ITable actualTable = ...; + * ITable expectedTable = ...; + * ITableMetaData metaData = actualTable.getTableMetaData(); + * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); + * Assertion.assertEquals(expectedTable, actualTable, additionalInfoCols); + * </pre></code> + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @param failureHandler + * The failure handler used if the assert fails because of a data + * mismatch. Provides some additional information that may be useful + * to quickly identify the rows for which the mismatch occurred (for + * example by printing an additional primary key column). Can be + * <code>null</code> + * @throws DatabaseUnitException + * @since 2.4 + */ + void assertEquals(ITable expectedTable, ITable actualTable, + FailureHandler failureHandler) throws DatabaseUnitException; + +} Added: trunk/src/java/org/dbunit/assertion/DefaultDbUnitAssert.java =================================================================== --- trunk/src/java/org/dbunit/assertion/DefaultDbUnitAssert.java (rev 0) +++ trunk/src/java/org/dbunit/assertion/DefaultDbUnitAssert.java 2008-11-07 19:48:16 UTC (rev 868) @@ -0,0 +1,635 @@ +/* + * + * The DbUnit Database Testing Framework + * Copyright (C)2002-2004, DbUnit.org + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +package org.dbunit.assertion; + +import java.sql.SQLException; +import java.util.Arrays; + +import org.dbunit.database.IDatabaseConnection; +import org.dbunit.dataset.Column; +import org.dbunit.dataset.Columns; +import org.dbunit.dataset.DataSetException; +import org.dbunit.dataset.IDataSet; +import org.dbunit.dataset.ITable; +import org.dbunit.dataset.ITableMetaData; +import org.dbunit.dataset.datatype.DataType; +import org.dbunit.dataset.datatype.TypeCastException; +import org.dbunit.dataset.datatype.UnknownDataType; +import org.dbunit.dataset.filter.DefaultColumnFilter; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import org.dbunit.DatabaseUnitException; + +/** + * Default implementation of DbUnitAssert, based on the original methods present + * at Assertion + * + * @author Felipe Leme <db...@fe...> + * @version $Revision: 864 $ + * @since Nov 7th, 2008 + */ +public class DefaultDbUnitAssert implements DbUnitAssert { + + /** + * Logger for this class + */ + private static final Logger logger = LoggerFactory + .getLogger(DefaultDbUnitAssert.class); + + /** + * Compare one table present in two datasets ignoring specified columns. + * + * @param expectedDataset + * First dataset. + * @param actualDataset + * Second dataset. + * @param tableName + * Table name of the table to be compared. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws org.dbunit.DatabaseUnitException + * If an error occurs. + */ + public void assertEqualsIgnoreCols(final IDataSet expectedDataset, + final IDataSet actualDataset, final String tableName, + final String[] ignoreCols) throws DatabaseUnitException { + if (logger.isDebugEnabled()) + logger + .debug( + "assertEqualsIgnoreCols(expectedDataset={}, actualDataset={}, tableName={}, ignoreCols={}) - start", + new Object[] { expectedDataset, actualDataset, tableName, + Arrays.asList(ignoreCols) }); + + assertEqualsIgnoreCols(expectedDataset.getTable(tableName), actualDataset + .getTable(tableName), ignoreCols); + } + + /** + * Compare the given tables ignoring specified columns. + * + * @param expectedTable + * First table. + * @param actualTable + * Second table. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws org.dbunit.DatabaseUnitException + * If an error occurs. + */ + public void assertEqualsIgnoreCols(final ITable expectedTable, + final ITable actualTable, final String[] ignoreCols) + throws DatabaseUnitException { + if (logger.isDebugEnabled()) + logger + .debug( + "assertEqualsIgnoreCols(expectedTable={}, actualTable={}, ignoreCols={}) - start", + new Object[] { expectedTable, actualTable, + Arrays.asList(ignoreCols) }); + + final ITable expectedTableFiltered = DefaultColumnFilter + .excludedColumnsTable(expectedTable, ignoreCols); + final ITable actualTableFiltered = DefaultColumnFilter + .excludedColumnsTable(actualTable, ignoreCols); + assertEquals(expectedTableFiltered, actualTableFiltered); + } + + /** + * Compare a table from a dataset with a table generated from an sql query. + * + * @param expectedDataset + * Dataset to retrieve the first table from. + * @param connection + * Connection to use for the SQL statement. + * @param sqlQuery + * SQL query that will build the data in returned second table rows. + * @param tableName + * Table name of the table to compare + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws DatabaseUnitException + * If an error occurs while performing the comparison. + * @throws java.sql.SQLException + * If an SQL error occurs. + */ + public void assertEqualsByQuery(final IDataSet expectedDataset, + final IDatabaseConnection connection, final String sqlQuery, + final String tableName, final String[] ignoreCols) + throws DatabaseUnitException, SQLException { + if (logger.isDebugEnabled()) + logger + .debug( + "assertEqualsByQuery(expectedDataset={}, connection={}, tableName={}, sqlQuery={}, ignoreCols={}) - start", + new Object[] { expectedDataset, connection, tableName, sqlQuery, + ignoreCols }); + + ITable expectedTable = expectedDataset.getTable(tableName); + assertEqualsByQuery(expectedTable, connection, tableName, sqlQuery, + ignoreCols); + } + + /** + * Compare a table with a table generated from an sql query. + * + * @param expectedTable + * Table containing all expected results. + * @param connection + * Connection to use for the SQL statement. + * @param tableName + * The name of the table to query from the database + * @param sqlQuery + * SQL query that will build the data in returned second table rows. + * @param ignoreCols + * Columns to be ignored in comparison. + * @throws DatabaseUnitException + * If an error occurs while performing the comparison. + * @throws java.sql.SQLException + * If an SQL error occurs. + */ + public void assertEqualsByQuery(final ITable expectedTable, + final IDatabaseConnection connection, final String tableName, + final String sqlQuery, final String[] ignoreCols) + throws DatabaseUnitException, SQLException { + if (logger.isDebugEnabled()) + logger + .debug( + "assertEqualsByQuery(expectedTable={}, connection={}, tableName={}, sqlQuery={}, ignoreCols={}) - start", + new Object[] { expectedTable, connection, tableName, sqlQuery, + ignoreCols }); + + ITable expected = DefaultColumnFilter.excludedColumnsTable(expectedTable, + ignoreCols); + ITable queriedTable = connection.createQueryTable(tableName, sqlQuery); + ITable actual = DefaultColumnFilter.excludedColumnsTable(queriedTable, + ignoreCols); + assertEquals(expected, actual); + } + + /** + * Asserts that the two specified dataset are equals. This method ignore the + * tables order. + */ + public void assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet) + throws DatabaseUnitException { + logger.debug("assertEquals(expectedDataSet={}, actualDataSet={}) - start", + expectedDataSet, actualDataSet); + assertEquals(expectedDataSet, actualDataSet, null); + } + + /** + * Asserts that the two specified dataset are equals. This method ignore the + * tables order. + * + * @since 2.4 + */ + public void assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet, + FailureHandler failureHandler) throws DatabaseUnitException { + if (logger.isDebugEnabled()) + logger + .debug( + "assertEquals(expectedDataSet={}, actualDataSet={}, failureHandler={}) - start", + new Object[] { expectedDataSet, actualDataSet, failureHandler }); + + // do not continue if same instance + if (expectedDataSet == actualDataSet) { + return; + } + + if (failureHandler == null) { + logger.debug("FailureHandler is null. Using default implementation"); + failureHandler = getDefaultFailureHandler(); + } + + String[] expectedNames = getSortedUpperTableNames(expectedDataSet); + String[] actualNames = getSortedUpperTableNames(actualDataSet); + + // tables count + if (expectedNames.length != actualNames.length) { + throw failureHandler.createFailure("table count", String + .valueOf(expectedNames.length), String.valueOf(actualNames.length)); + } + + // table names in no specific order + for (int i = 0; i < expectedNames.length; i++) { + if (!actualNames[i].equals(expectedNames[i])) { + throw failureHandler.createFailure("tables", Arrays.asList( + expectedNames).toString(), Arrays.asList(actualNames).toString()); + } + + } + + // tables + for (int i = 0; i < expectedNames.length; i++) { + String name = expectedNames[i]; + assertEquals(expectedDataSet.getTable(name), actualDataSet.getTable(name)); + } + + } + + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @throws DatabaseUnitException + */ + public void assertEquals(ITable expectedTable, ITable actualTable) + throws DatabaseUnitException { + logger.debug("assertEquals(expectedTable={}, actualTable={}) - start", + expectedTable, actualTable); + assertEquals(expectedTable, actualTable, (Column[]) null); + } + + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. <br /> + * Example: <code><pre> + * ITable actualTable = ...; + * ITable expectedTable = ...; + * ITableMetaData metaData = actualTable.getTableMetaData(); + * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); + * assertEquals(expectedTable, actualTable, additionalInfoCols); + * </pre></code> + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @param additionalColumnInfo + * The columns to be printed out if the assert fails because of a + * data mismatch. Provides some additional column values that may be + * useful to quickly identify the columns for which the mismatch + * occurred (for example a primary key column). Can be + * <code>null</code> + * @throws DatabaseUnitException + */ + public void assertEquals(ITable expectedTable, ITable actualTable, + Column[] additionalColumnInfo) throws DatabaseUnitException { + logger + .debug( + "assertEquals(expectedTable={}, actualTable={}, additionalColumnInfo={}) - start", + new Object[] { expectedTable, actualTable, additionalColumnInfo }); + + FailureHandler failureHandler = null; + if (additionalColumnInfo != null) + failureHandler = getDefaultFailureHandler(additionalColumnInfo); + + assertEquals(expectedTable, actualTable, failureHandler); + } + + /** + * Asserts that the two specified tables are equals. This method ignores the + * table names, the columns order, the columns data type and which columns are + * composing the primary keys. <br /> + * Example: <code><pre> + * ITable actualTable = ...; + * ITable expectedTable = ...; + * ITableMetaData metaData = actualTable.getTableMetaData(); + * Column[] additionalInfoCols = Columns.getColumns(new String[] {"MY_PK_COLUMN"}, metaData.getColumns()); + * assertEquals(expectedTable, actualTable, additionalInfoCols); + * </pre></code> + * + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @param failureHandler + * The failure handler used if the assert fails because of a data + * mismatch. Provides some additional information that may be useful + * to quickly identify the rows for which the mismatch occurred (for + * example by printing an additional primary key column). Can be + * <code>null</code> + * @throws DatabaseUnitException + * @since 2.4 + */ + public void assertEquals(ITable expectedTable, ITable actualTable, + FailureHandler failureHandler) throws DatabaseUnitException { + logger + .debug( + "assertEquals(expectedTable={}, actualTable={}, failureHandler={}) - start", + new Object[] { expectedTable, actualTable, failureHandler }); + + // Do not continue if same instance + if (expectedTable == actualTable) { + logger + .debug( + "The given tables reference the same object. Will return immediately. (Table={})", + expectedTable); + return; + } + + if (failureHandler == null) { + logger.debug("FailureHandler is null. Using default implementation"); + failureHandler = getDefaultFailureHandler(); + } + + ITableMetaData expectedMetaData = expectedTable.getTableMetaData(); + ITableMetaData actualMetaData = actualTable.getTableMetaData(); + String expectedTableName = expectedMetaData.getTableName(); + + // Verify row count + int expectedRowsCount = expectedTable.getRowCount(); + int actualRowsCount = actualTable.getRowCount(); + if (expectedRowsCount != actualRowsCount) { + String msg = "row count (table=" + expectedTableName + ")"; + throw failureHandler.createFailure(msg, + String.valueOf(expectedRowsCount), String.valueOf(actualRowsCount)); + } + // if both tables are empty, it is not necessary to compare columns, as such + // comparison + // can fail if column metadata is different (which could occurs when + // comparing empty tables) + if (expectedRowsCount == 0 && actualRowsCount == 0) { + logger.debug("Tables are empty, hence equals."); + return; + } + + // Put the columns into the same order + Column[] expectedColumns = Columns.getSortedColumns(expectedMetaData); + Column[] actualColumns = Columns.getSortedColumns(actualMetaData); + + // Verify columns + Columns.ColumnDiff columnDiff = Columns.getColumnDiff(expectedMetaData, + actualMetaData); + if (columnDiff.hasDifference()) { + String message = columnDiff.getMessage(); + throw failureHandler.createFailure(message, Columns + .getColumnNamesAsString(expectedColumns), Columns + .getColumnNamesAsString(actualColumns)); + } + + // Get the datatypes to be used for comparing the sorted columns + ComparisonColumn[] comparisonCols = getComparisonColumns(expectedTableName, + expectedColumns, actualColumns, failureHandler); + + // Finally compare the data + compareData(expectedTable, actualTable, comparisonCols, failureHandler); + } + + /** + * @return The default failure handler + * @since 2.4 + */ + private FailureHandler getDefaultFailureHandler() { + // For backwards compatibility use the JUnitFailureHandler by default + return getDefaultFailureHandler(null); + } + + /** + * @return The default failure handler + * @since 2.4 + */ + private FailureHandler getDefaultFailureHandler(Column[] additionalColumnInfo) { + // For backwards compatibility use the JUnitFailureHandler by default + return new JUnitFailureHandler(additionalColumnInfo); + } + + /** + * @param expectedTable + * Table containing all expected results. + * @param actualTable + * Table containing all actual results. + * @param comparisonCols + * The columns to be compared, also including the correct + * {@link DataType}s for comparison + * @param failureHandler + * The failure handler used if the assert fails because of a data + * mismatch. Provides some additional information that may be useful + * to quickly identify the rows for which the mismatch occurred (for + * example by printing an additional primary key column). Must not be + * <code>null</code> at this stage + * @throws DataSetException + * @since 2.4 + */ + protected void compareData(ITable expectedTable, ITable actualTable, + ComparisonColumn[] comparisonCols, FailureHandler failureHandler) + throws DataSetException { + logger.debug("assertEquals(expectedTable={}, actualTable={}, " + + "comparisonCols={}, failureHandler={}) - start", new Object[] { + expectedTable, actualTable, comparisonCols, failureHandler }); + + if (expectedTable == null) { + throw new NullPointerException( + "The parameter 'expectedTable' must not be null"); + } + if (actualTable == null) { + throw new NullPointerException( + "The ... [truncated message content] |
From: <fel...@us...> - 2008-11-07 17:35:31
|
Revision: 867 http://dbunit.svn.sourceforge.net/dbunit/?rev=867&view=rev Author: felipeal Date: 2008-11-07 17:35:28 +0000 (Fri, 07 Nov 2008) Log Message: ----------- switchec back to logger, as that is what is used elsewhere (I opened a new ticket - 2235411 - for the overall change, though) Modified Paths: -------------- trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java trunk/src/java/org/dbunit/assertion/SimpleAssert.java Modified: trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java =================================================================== --- trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java 2008-11-07 17:26:56 UTC (rev 866) +++ trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java 2008-11-07 17:35:28 UTC (rev 867) @@ -43,7 +43,7 @@ /** * Logger for this class */ - private static final Logger LOGGER = LoggerFactory.getLogger(DefaultFailureHandler.class); + private static final Logger logger = LoggerFactory.getLogger(DefaultFailureHandler.class); private String[] _additionalColumnInfo; @@ -104,8 +104,8 @@ private String buildAdditionalColumnInfo(ITable expectedTable, ITable actualTable, int rowIndex) { - if(LOGGER.isDebugEnabled()) - LOGGER.debug("buildAdditionalColumnInfo(expectedTable={}, actualTable={}, rowIndex={}, " + + if(logger.isDebugEnabled()) + logger.debug("buildAdditionalColumnInfo(expectedTable={}, actualTable={}, rowIndex={}, " + "additionalColumnInfo={}) - start", new Object[] {expectedTable, actualTable, new Integer(rowIndex), _additionalColumnInfo} ); @@ -133,7 +133,7 @@ { String msg = "Exception creating more info for column '"+columnName + "'"; msg += ": " + e.getClass().getName() + ": " + e.getMessage(); - LOGGER.info(msg, e); + logger.info(msg, e); additionalInfo += " (!!!!! " + msg + ")"; } } Modified: trunk/src/java/org/dbunit/assertion/SimpleAssert.java =================================================================== --- trunk/src/java/org/dbunit/assertion/SimpleAssert.java 2008-11-07 17:26:56 UTC (rev 866) +++ trunk/src/java/org/dbunit/assertion/SimpleAssert.java 2008-11-07 17:35:28 UTC (rev 867) @@ -37,7 +37,7 @@ /** * Logger for this class */ - private static final Logger LOGGER = LoggerFactory.getLogger(SimpleAssert.class); + private static final Logger logger = LoggerFactory.getLogger(SimpleAssert.class); private FailureHandler failureHandler; @@ -56,7 +56,7 @@ */ protected void assertNotNullNorEmpty( String propertyName, String property ) { - LOGGER.debug("assertNotNullNorEmpty(propertyName={}, property={}) - start", propertyName, property); + logger.debug("assertNotNullNorEmpty(propertyName={}, property={}) - start", propertyName, property); assertTrue( propertyName + " is null", property != null ); assertTrue( "Invalid " + propertyName, property.trim() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-11-07 17:27:00
|
Revision: 866 http://dbunit.svn.sourceforge.net/dbunit/?rev=866&view=rev Author: felipeal Date: 2008-11-07 17:26:56 +0000 (Fri, 07 Nov 2008) Log Message: ----------- using LOGGER instead of logger (it's a static variable) Modified Paths: -------------- trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java trunk/src/java/org/dbunit/assertion/SimpleAssert.java Modified: trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java =================================================================== --- trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java 2008-11-07 14:27:58 UTC (rev 865) +++ trunk/src/java/org/dbunit/assertion/DefaultFailureHandler.java 2008-11-07 17:26:56 UTC (rev 866) @@ -43,7 +43,7 @@ /** * Logger for this class */ - private static final Logger logger = LoggerFactory.getLogger(DefaultFailureHandler.class); + private static final Logger LOGGER = LoggerFactory.getLogger(DefaultFailureHandler.class); private String[] _additionalColumnInfo; @@ -104,8 +104,8 @@ private String buildAdditionalColumnInfo(ITable expectedTable, ITable actualTable, int rowIndex) { - if(logger.isDebugEnabled()) - logger.debug("buildAdditionalColumnInfo(expectedTable={}, actualTable={}, rowIndex={}, " + + if(LOGGER.isDebugEnabled()) + LOGGER.debug("buildAdditionalColumnInfo(expectedTable={}, actualTable={}, rowIndex={}, " + "additionalColumnInfo={}) - start", new Object[] {expectedTable, actualTable, new Integer(rowIndex), _additionalColumnInfo} ); @@ -133,7 +133,7 @@ { String msg = "Exception creating more info for column '"+columnName + "'"; msg += ": " + e.getClass().getName() + ": " + e.getMessage(); - logger.info(msg, e); + LOGGER.info(msg, e); additionalInfo += " (!!!!! " + msg + ")"; } } Modified: trunk/src/java/org/dbunit/assertion/SimpleAssert.java =================================================================== --- trunk/src/java/org/dbunit/assertion/SimpleAssert.java 2008-11-07 14:27:58 UTC (rev 865) +++ trunk/src/java/org/dbunit/assertion/SimpleAssert.java 2008-11-07 17:26:56 UTC (rev 866) @@ -37,7 +37,7 @@ /** * Logger for this class */ - private static final Logger logger = LoggerFactory.getLogger(SimpleAssert.class); + private static final Logger LOGGER = LoggerFactory.getLogger(SimpleAssert.class); private FailureHandler failureHandler; @@ -56,7 +56,7 @@ */ protected void assertNotNullNorEmpty( String propertyName, String property ) { - logger.debug("assertNotNullNorEmpty(propertyName={}, property={}) - start", propertyName, property); + LOGGER.debug("assertNotNullNorEmpty(propertyName={}, property={}) - start", propertyName, property); assertTrue( propertyName + " is null", property != null ); assertTrue( "Invalid " + propertyName, property.trim() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-10-26 21:57:04
|
Revision: 845 http://dbunit.svn.sourceforge.net/dbunit/?rev=845&view=rev Author: felipeal Date: 2008-10-26 21:57:00 +0000 (Sun, 26 Oct 2008) Log Message: ----------- 2198914 - When comparing empty tables, column info should be ignored Modified Paths: -------------- trunk/src/changes/changes.xml trunk/src/java/org/dbunit/Assertion.java trunk/src/test/org/dbunit/AssertionTest.java Added Paths: ----------- trunk/src/xml/assertionTest-empty1.xml trunk/src/xml/assertionTest-empty2.xml Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-10-26 12:45:22 UTC (rev 844) +++ trunk/src/changes/changes.xml 2008-10-26 21:57:00 UTC (rev 845) @@ -8,6 +8,7 @@ <body> <release version="2.4-SNAPSHOT" date="TBD" description="Some API changes, features added, bugfixes"> + <action dev="felipeal" type="fix" issue="2198914">When comparing empty tables, column info should be ignored</action> <action dev="felipeal" type="add" issue="2122413">Added "constants" for DatabaseOperation wrappers</action> <action dev="gommma" type="update">ISearchAlgorithm.search returns strongly typed ListOrderedSet instead of a normal Set so that TableDependencyHelper can return tables in correct order. API change.</action> <action dev="gommma" type="fix" issue="1628105" due-to="ozonobon">XmlWriter can't write nested CDATA sections</action> Modified: trunk/src/java/org/dbunit/Assertion.java =================================================================== --- trunk/src/java/org/dbunit/Assertion.java 2008-10-26 12:45:22 UTC (rev 844) +++ trunk/src/java/org/dbunit/Assertion.java 2008-10-26 21:57:00 UTC (rev 845) @@ -243,7 +243,24 @@ ITableMetaData expectedMetaData = expectedTable.getTableMetaData(); ITableMetaData actualMetaData = actualTable.getTableMetaData(); + String expectedTableName = expectedMetaData.getTableName(); + // Verify row count + int expectedRowsCount = expectedTable.getRowCount(); + int actualRowsCount = actualTable.getRowCount(); + if(expectedRowsCount != actualRowsCount) + { + throw new ComparisonFailure("row count (table=" + expectedTableName + ")", + String.valueOf(expectedRowsCount), String.valueOf(actualRowsCount) ); + } + // if both tables are empty, it is not necessary to compare columns, as such comparison + // can fail if column metadata is different (which could occurs when comparing empty tables) + if (expectedRowsCount==0 && actualRowsCount==0) + { + logger.debug("Tables are empty, hence equals."); + return; + } + // Put the columns into the same order Column[] expectedColumns = Columns.getSortedColumns(expectedMetaData); Column[] actualColumns = Columns.getSortedColumns(actualMetaData); @@ -257,14 +274,6 @@ Columns.getColumnNamesAsString(expectedColumns), Columns.getColumnNamesAsString(actualColumns) ); } - - String expectedTableName = expectedMetaData.getTableName(); - // Verify row count - if(expectedTable.getRowCount() != actualTable.getRowCount()) - { - throw new ComparisonFailure("row count (table=" + expectedTableName + ")", - String.valueOf(expectedTable.getRowCount()), String.valueOf(actualTable.getRowCount()) ); - } // Get the datatypes to be used for comparing the sorted columns ComparisonColumn[] comparisonCols = getComparisonColumns(expectedTableName, expectedColumns, actualColumns); Modified: trunk/src/test/org/dbunit/AssertionTest.java =================================================================== --- trunk/src/test/org/dbunit/AssertionTest.java 2008-10-26 12:45:22 UTC (rev 844) +++ trunk/src/test/org/dbunit/AssertionTest.java 2008-10-26 21:57:00 UTC (rev 845) @@ -41,6 +41,7 @@ import org.dbunit.dataset.ITableMetaData; import org.dbunit.dataset.datatype.DataType; import org.dbunit.dataset.xml.FlatXmlDataSet; +import org.dbunit.dataset.xml.XmlDataSet; import org.dbunit.operation.DatabaseOperation; /** @@ -71,6 +72,14 @@ dataSet.getTable("TEST_TABLE_WITH_SAME_VALUE"), new Column[] {new Column("COLUMN0", DataType.VARCHAR)} ); } + + public void testAssertTablesEmtpyEquals() throws Exception + { + IDataSet empty1 = new XmlDataSet(new FileReader("src/xml/assertionTest-empty1.xml")); + IDataSet empty2 = new FlatXmlDataSet(new FileReader("src/xml/assertionTest-empty2.xml")); + Assertion.assertEquals(empty1, empty2); + } + public void testAssertTablesEqualsColumnNamesCaseInsensitive() throws Exception { Added: trunk/src/xml/assertionTest-empty1.xml =================================================================== --- trunk/src/xml/assertionTest-empty1.xml (rev 0) +++ trunk/src/xml/assertionTest-empty1.xml 2008-10-26 21:57:00 UTC (rev 845) @@ -0,0 +1,6 @@ +<dataset> + <table name="EMPTY_TABLE"> + <column>A_COLUMN</column> + </table> +</dataset> + Added: trunk/src/xml/assertionTest-empty2.xml =================================================================== --- trunk/src/xml/assertionTest-empty2.xml (rev 0) +++ trunk/src/xml/assertionTest-empty2.xml 2008-10-26 21:57:00 UTC (rev 845) @@ -0,0 +1,6 @@ +<dataset> + <EMPTY_TABLE/> +</dataset> + + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-09-25 18:29:59
|
Revision: 813 http://dbunit.svn.sourceforge.net/dbunit/?rev=813&view=rev Author: felipeal Date: 2008-09-25 18:29:49 +0000 (Thu, 25 Sep 2008) Log Message: ----------- changed info() statement to debug() Modified Paths: -------------- trunk/src/java/org/dbunit/database/AbstractResultSetTable.java Modified: trunk/src/java/org/dbunit/database/AbstractResultSetTable.java =================================================================== --- trunk/src/java/org/dbunit/database/AbstractResultSetTable.java 2008-09-25 18:03:43 UTC (rev 812) +++ trunk/src/java/org/dbunit/database/AbstractResultSetTable.java 2008-09-25 18:29:49 UTC (rev 813) @@ -107,7 +107,7 @@ DatabaseConfig config = connection.getConfig(); Integer fetchSize = (Integer)config.getProperty(DatabaseConfig.PROPERTY_FETCH_SIZE); stmt.setFetchSize(fetchSize.intValue()); - logger.info("Statement fetch size set to {}",fetchSize); + logger.debug("Statement fetch size set to {}",fetchSize); return stmt; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fel...@us...> - 2008-09-22 05:05:41
|
Revision: 810 http://dbunit.svn.sourceforge.net/dbunit/?rev=810&view=rev Author: felipeal Date: 2008-09-22 05:05:35 +0000 (Mon, 22 Sep 2008) Log Message: ----------- 2122413 - Added "constants" for DatabaseOperation wrappers Modified Paths: -------------- trunk/src/changes/changes.xml trunk/src/java/org/dbunit/operation/DatabaseOperation.java Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-09-18 11:12:25 UTC (rev 809) +++ trunk/src/changes/changes.xml 2008-09-22 05:05:35 UTC (rev 810) @@ -7,7 +7,8 @@ </properties> <body> - <release version="2.4.0" date="Nov 01, 2008" description="Some API changes, bugfixes"> + <release version="2.3.1-SNAPSHOT" date="TBD" description="Some API changes, bugfixes"> + <action dev="felipeal" type="add" issue="2122413">Added "constants" for DatabaseOperation wrappers</action> <action dev="gommma" type="update">ISearchAlgorithm.search returns strongly typed ListOrderedSet instead of a normal Set so that TableDependencyHelper can return tables in correct order. API change.</action> <action dev="gommma" type="fix" issue="1628105" due-to="ozonobon">XmlWriter can't write nested CDATA sections</action> </release> Modified: trunk/src/java/org/dbunit/operation/DatabaseOperation.java =================================================================== --- trunk/src/java/org/dbunit/operation/DatabaseOperation.java 2008-09-18 11:12:25 UTC (rev 809) +++ trunk/src/java/org/dbunit/operation/DatabaseOperation.java 2008-09-22 05:05:35 UTC (rev 810) @@ -44,7 +44,13 @@ public static final DatabaseOperation DELETE_ALL = new DeleteAllOperation(); public static final DatabaseOperation TRUNCATE_TABLE = new TruncateTableOperation(); public static final DatabaseOperation CLEAN_INSERT = new CompositeOperation( - DELETE_ALL, INSERT); + DELETE_ALL, INSERT); + public static final DatabaseOperation TRANSACTION(DatabaseOperation operation) { + return new TransactionOperation(operation); + } + public static final DatabaseOperation CLOSE_CONNECTION(DatabaseOperation operation) { + return new CloseConnectionOperation(operation); + } /** * Executes this operation on the specified database using the specified This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-09-13 00:35:52
|
Revision: 805 http://dbunit.svn.sourceforge.net/dbunit/?rev=805&view=rev Author: rlogiacco Date: 2008-09-13 00:35:49 +0000 (Sat, 13 Sep 2008) Log Message: ----------- updated web site Modified Paths: -------------- trunk/src/changes/changes.xml trunk/src/site/xdoc/index.xml Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2008-09-10 02:28:25 UTC (rev 804) +++ trunk/src/changes/changes.xml 2008-09-13 00:35:49 UTC (rev 805) @@ -7,7 +7,7 @@ </properties> <body> - <release version="2.3.0" date="Sep 09, 2008" description="Some API changes, features added, bugfixes, performance improvements in assertions. See migration guide for additional help"> + <release version="2.3.0" date="Sep 11, 2008" description="Some API changes, features added, bugfixes, performance improvements in assertions. See migration guide for additional help"> <action dev="slecallonnec" type="fix" issue="1968640">Trimming is now done on Excel column names to prevent NoSuchColumnException.</action> <action dev="rlogiacco" type="fix" issue="1981449" due-to="gommma">Patch for Bug #1421590 "Problem in data import if all the columns are not populated"</action> <action dev="slecallonnec" type="fix" issue="1975499" due-to="gommma">NoSuchColumnException now thrown when column name does not exist.</action> Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2008-09-10 02:28:25 UTC (rev 804) +++ trunk/src/site/xdoc/index.xml 2008-09-13 00:35:49 UTC (rev 805) @@ -26,6 +26,10 @@ <section name="News"> <table border="1"> <tr> + <td>2008-09-11</td> + <td>We all are so proud to announce the 2.3.0 release is finally out! Have a look at the <a href="changes-report.html#a2.3.0">changes</a>.</td> + </tr> + <tr> <td>2008-06-08</td> <td>Matthias Gommeringer joined the project team. Welcome Matthias!</td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rlo...@us...> - 2008-09-10 02:28:27
|
Revision: 804 http://dbunit.svn.sourceforge.net/dbunit/?rev=804&view=rev Author: rlogiacco Date: 2008-09-10 02:28:25 +0000 (Wed, 10 Sep 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-09-10 02:28:14 UTC (rev 803) +++ trunk/pom.xml 2008-09-10 02:28:25 UTC (rev 804) @@ -4,7 +4,7 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <packaging>jar</packaging> - <version>2.3.0</version> + <version>2.3.1-SNAPSHOT</version> <name>DbUnit Framework</name> <url>http://dbunit.sourceforge.net</url> <inceptionYear>2002</inceptionYear> @@ -23,9 +23,9 @@ <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes> </properties> <scm> - <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.3.0</connection> - <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.3.0</developerConnection> - <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2.3.0</url> + <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection> + <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection> + <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url> </scm> <issueManagement> <system>SourceForge</system> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |