Hi Matt,

Note, I have suggested a work-around 
http://www.nabble.com/forum/ViewPost.jtp?post=16300428&framed=y&skin=2369
here .

Anyway, I ran the following mvn commands on your attached 'myProject'.

1. $ mvn -version
Maven version: 2.0.7
Java version: 1.6.0_01
OS name: "windows xp" version: "5.1" arch: "x86"

2. $ java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)

3. mvn -Phsqldb test -Dtest=PersonDaoTest

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

4. Add the following plugin to the build/plugins section:
        <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.3</version>
        </plugin> 

5. mvn clean; mvn -Phsqldb test -Dtest=PersonDaoTest

[INFO] [dbunit:operation {execution: test}]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Fri Apr 04 14:54:00 CEST 2008
[INFO] Final Memory: 22M/39M
[INFO]
------------------------------------------------------------------------

Even the integration tests pass.

Cheers,
Martin
-- 
View this message in context: 
http://www.nabble.com/UnsatisfiedDependencyException-tp15793588s2369p16491423.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to